Topic "Timeout when Region Format set to Welsh (United Kingdom)"

Author Message
GTSageDev
[View user's profile]

Joined: 2012-11-14
Posts: 7
Location: 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:

Code:
. 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
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Thanks for your report.

Please attach a complete session log file both for Welsh and English settings.
GTSageDev
[View user's profile]

Joined: 2012-11-14
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

GTSageDev
[View user's profile]

Joined: 2012-11-14
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

Description: (none)

WinSCPCyGB.log (34.48 KB) Private file

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Thanks for the logs.

This bug has been added to the tracker:
https://winscp.net/tracker/show_bug.cgi?id=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
[View user's profile]

Joined: 2012-11-14
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
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License