Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout on 501 response #5618

Closed
cyberduck opened this issue Jan 5, 2011 · 6 comments
Closed

Timeout on 501 response #5618

cyberduck opened this issue Jan 5, 2011 · 6 comments
Assignees
Labels
bug fixed webdav WebDAV Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

27c5379 created the issue

It appears as if cyberduck simply times out when it receives a 501 response code to a webdav propfind request. This is most commonly seen when re-launching cyberduck that had previously been connected to a webdav server where it appears cyberduck attempts to open a connection using the previously supplied username but no password. The result is a two minute wait before a prompt for a new username/password is displayed.


Attachments

@cyberduck
Copy link
Collaborator Author

@dkocher commented

I can replicate this by attempting to connect to the host.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

The issue is that the XML parser used is trying to resolve the DTD of the system id (http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd) in the document returned.

We must configure the feature http://apache.org/xml/features/nonvalidating/load-external-dtd to false.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

You can workaround the issue by not returning a HTML response for authentication failures.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

We are working together with the developer of Sardine to replace our current WebDAV implementation.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 7741b8e.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

New fix applied in Sardine and integrated in d1f4324.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed webdav WebDAV Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants