Connection failed to WebDAV: Status line was: HTTP/1.1 200

Advertisement

qlamenx
Guest

Connection failed to WebDAV: Status line was: HTTP/1.1 200

Hi all,

Trying to connect to a WebDAV server, but I get this error message:
Invalid HTTP status line in status element at line 10 of response:
Status line was: HTTP/1.1 200
How can I solve this?
Kindly appreciated your support!

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,929
Location:
Prague, Czechia

Re: Connection failed to WebDAV: Status line was: HTTP/1.1 200

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. 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.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,929
Location:
Prague, Czechia

Re: Same error

@huemanTX: Thanks. It's due to this change in the neon library:
https://github.com/notroj/neon/commit/b132c8377200e7ea76364125aff43e79f475e6b1
It's bit of a gray zone. The status response HTTP/1.1 200 without "reason phrase" does not strictly conform to the HTTP 9112. Which, while does not require the "reason phrase" as such, requires a space after the "status code". What your server's response lacks.
https://datatracker.ietf.org/doc/html/rfc9112#name-status-line
Anyway, I understand that it is a regression and I'll look into it.
What WebDAV server is that?

Reply with quote

Advertisement

huemanTX
Joined:
Posts:
3
Location:
US

Re: Same error

Hello Martin. Thanks for the reply. New log file attached. I'm not certain about the WebDAV server. These are vendor hosted connections. Running Apache Tomcat in AWS. I can forward this information on to them.

Reply with quote

Advertisement

OD
Guest

Re: Same error

Hi Martin,
I have multiple clients that can not connect due to the same error. Is there a specific WinSCP release in which this will be resolved?

Reply with quote

martin
Site Admin
martin avatar

Re: same error

If you follow the thread and tracker link above, you will see that this has been fixed already and the fix will be included in upcoming WinSCP 6.5.1. Meanwhile, you can downgrade to 6.3.8.

Reply with quote

Advertisement

You can post new topics in this forum