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

martin

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.
shail.shah

Re: Error reading response headers: Line too long

Hi Martin,

I have tested the executable you provided, and it is working fine. However, we're using the NuGet package with the service, which requires both the WinSCP DLL and executable.
When I tried replacing just the executable and ran the service, it threw the following error message:
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()

Could you please provide me with the DLL for the pre-release build (version 6.4.0.0) along with the executable?

I appreciate your help!
Thanks,
Shail Shah
martin

Re: Error reading response headers: Line too long

@shail.shah and @rmiddaugh55386: Sent.
rkarnati

Re: Error reading response headers: Line too long

Appreciate if someone can provide the direction.
rmiddaugh55386

Re: Error reading response headers: Line too long

@martin: Please send me the pre-release build.
Guest

Re: Error reading response headers: Line too long

Is there any form or link to register to get the pre-build?
shail.shah

Re: Error reading response headers: Line too long

Hi @Martin,
I have already registered. Can you please provide me with the pre-released build?
Thanks,
Shail Shah
martin

Re: Error reading response headers: Line too long

We will consider merging the fix into 6.3.4 and release it within few weeks.

If you need pre-release build, I need you to register here, so I have a means of contacting you.
shail.shah

Error reading response headers: Line too long

Hi,

We're facing a similar error while downloading the file from Surescripts using WinSCP,
Message: Error listing directory '/webdav/Formulary/FBS_3_0'. Error reading response headers: Line too long

It looks like the same error, which is mentioned in this thread. We see there is a workaround already provided. We would need similar support to us ASAP as many of our clients are blocked.

Looking forward for your quick response.

Thanks,
Shail Shah
Guest

Error reading response headers: Line too long

Can you tell me when a new version will be released?
Can you send me the version that fixes this issue?
Riddhish

Hello Martin,

Thanks for clarifying the same.
Can you please provide timeline of next release which contains work-around changes to support server-side problem?

Thanks.
martin