Re: Error reading response headers: Line too long
@shail.shah: Thanks for your feedback.
I've just released WinSCP 6.3.4 with the workaround.
I've just released WinSCP 6.3.4 with the workaround.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
Mdrx.Formulary.SynchronizationManager.exe Information 0
Session start at 06/11/2024 09:04:45
Connecting to SS WebDav............
Mdrx.Formulary.SynchronizationManager.exe Error 0
Error:
Message: The version of C:\Program Files (x86)\Mdrx.Hub.Formulary.V3.MultumDownload_WinSCP\winscp.exe (6.4.0.0) does not match version of this assembly C:\Program Files (x86)\Mdrx.Hub.Formulary.V3.MultumDownload_WinSCP\WinSCPnet.DLL (5.17.6.0).
StackTrace: at WinSCP.ExeSessionProcess.CheckVersion(String exePath, FileVersionInfo assemblyVersion)
at WinSCP.ExeSessionProcess..ctor(Session session, Boolean useXmlLog, String additionalArguments)
at WinSCP.Session.Open(SessionOptions sessionOptions)
at Mdrx.Formulary.SynchronizationManager.Synchronizer.Start()
Message: Error listing directory '/webdav/Formulary/FBS_3_0'. Error reading response headers: Line too long
Evidently there was a deployment several weeks ago that also affected other clients.
WinSCP has a new build which should resolve this issue. WinSCP customers are recommended to use this new build: https://winscp.net/tracker/2289
General-use user agents SHOULD provide each of the following minimum capabilities: ...
- At least 4096 bytes per cookie
...
Servers SHOULD use as few and as small cookies as possible to avoid reaching these implementation limits
winscp.com
, but not the main winscp.exe
.
/log=C:\path\to\winscp.log
command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.open https://xxxxxxxxxxxxxxxx:***@files.xxxxxxxxxxx.net/webdav -timeout=120
Connecting to host...
Authenticated.
Starting the session...
Session started.
Active session: [1] xxxxxxxxxxxxxxx@files.xxxxxxxxxxx.net
synchronize local X:\FormularyDirectory\etc\DavClient\downloads\xxxxxxxxxxxxxxx\webdav\Formulary\FBS_3_0 /webdav/Formulary/FBS_3_0 -delete -criteria=either
Using configured synchronization options different from factory defaults.
Comparing...
Local 'X:\FormularyDirectory\etc\DavClient\downloads\xxxxxxxxxxxxxxx\webdav\Formulary\FBS_3_0' <= Remote '/webdav/Formulary/FBS_3_0'
Error listing directory '/webdav/Formulary/FBS_3_0'.
Error reading response headers: Line too long
(A)bort, (R)etry, (S)kip: Skip
Synchronizing...
Local 'X:\FormularyDirectory\etc\DavClient\downloads\xxxxxxxxxxxxxxx\webdav\Formulary\FBS_3_0' <= Remote '/webdav/Formulary/FBS_3_0'