Timeout when Region Format set to Welsh (United Kingdom)

Advertisement

GTSageDev
Joined:
Posts:
7
Location:
United Kingdom

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

Last edited by GTSageDev on 2016-07-20 16:53; edited 1 time in total

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,317
Location:
Prague, Czechia

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.

Reply with quote

GTSageDev
Joined:
Posts:
7
Location:
United Kingdom

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
  • WinSCPEnGB.log (26.75 KB, Private file)
Description: English
  • WinSCPCyGB.log (23.27 KB, Private file)
Description: Welsh

Reply with quote

GTSageDev
Joined:
Posts:
7
Location:
United Kingdom

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.
  • WinSCPEnGB.log (45.47 KB, Private file)
  • WinSCPCyGB.log (34.48 KB, Private file)

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,317
Location:
Prague, Czechia

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.

Reply with quote

Advertisement

GTSageDev
Joined:
Posts:
7
Location:
United Kingdom

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

Reply with quote

Advertisement

You can post new topics in this forum