Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

GTSageDev

Yes, that fixes the problem.

Thanks for looking into it - I really appreciate it. I see I should have tried launching WinSCP.exe with the same command line as the .NET assembly uses. I didn't think of that!

I guess the root of the problem is that the Welsh alphabet doesn't include an X (or K, Q, V, Z), so a case-insensitive compare won't match xmllog with Xmllog


Geoff
martin

Re: Timeout when Region Format set to Welsh (United Kingdom)

Thanks for the logs.

This bug has been added to the tracker:
https://winscp.net/tracker/1436

I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.
GTSageDev

Now tested on 5.9 - same issue. WinSCP.exe runs fine for Cy-GB, with logging on; it's just when using WinScpNet.dll

New log files attached, the differences start at line 301.
GTSageDev

Here they are. The differences start at line 128: in EnGB it's SessionLogReader.Read entering; in CyGB it continues Searching for host...

If you need the actual site/ppk details please let me know.

Thanks
martin

Re: Timeout when Region Format set to Welsh (United Kingdom)

Thanks for your report.

Please attach a complete session log file both for Welsh and English settings.
GTSageDev

Timeout when Region Format set to Welsh (United Kingdom)

The .Net assembly times out when the regional format is set to Welsh.

Versions: WinSCP.exe 5.7.7.6257, WinSCPnet.dll file version 1.2.10.6257 (current on nuget)

Error message on Session.Open: Timeout waiting for WinSCP to respond - WinSCP has not responded in time (response log file ... was not created)

OS 10.0.10586 - Windows 10 Pro

Windows Regional Settings are set to Home Location: United Kingdom and the Format to Welsh (United Kingdom). The culture code is {cy-GB}

Works fine when the regional settings are changed to English (United Kingdom)

WinSCP.exe is started OK and a log file created. Extracts from the log file:

. 2016-07-20 16:09:18.578 --------------------------------------------------------------------------

. 2016-07-20 16:09:18.578 WinSCP Version 5.7.5 (Build 5665) (OS 10.0.10586 - Windows 10 Pro)
. 2016-07-20 16:09:18.578 Configuration: nul
. 2016-07-20 16:09:18.578 Log level: Normal

. 2016-07-20 16:09:18.578 Command-line: "C:\VBProjects\UpdateMembers\bin\Debug\winscp.exe" /xmllog="C:\Users\geoff\AppData\Local\Temp\wscp1630.0218F99C.tmp" /xmlgroups /nointeractiveinput /dotnet=575  /ini=nul /log="C:\VBProjects\UpdateMembers\Import\WinSCP.log"  /console /consoleinstance=_5680_48285313_103
. 2016-07-20 16:09:18.578 Time zone: Current: GMT+1, Standard: GMT+0 (GMT Standard Time), DST: GMT+1 (GMT Summer Time), DST Start: 27/03/2016, DST End: 30/10/2016
. 2016-07-20 16:09:18.578 Login time: Dydd Mercher, 20 Gorffennaf 2016 16:09:18

. 2016-07-20 16:09:20.339 Startup conversation with host finished.
< 2016-07-20 16:09:20.339 Script: Active session: [1] xxxxx@xxxxx.xxx
> 2016-07-20 16:10:20.346 Script: exit
. 2016-07-20 16:10:20.346 Script: Exit code: 0
. 2016-07-20 16:10:20.346 Closing connection.
. 2016-07-20 16:10:20.347 Sending special code: 12
. 2016-07-20 16:10:20.347 Sent EOF message

(Note the 1 minute wait at the end)

Pob lwc! Diolch