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

Propfind method not allowed #1210

Closed
rperezb opened this issue Jan 17, 2013 · 5 comments
Closed

Propfind method not allowed #1210

rperezb opened this issue Jan 17, 2013 · 5 comments

Comments

@rperezb
Copy link

rperezb commented Jan 17, 2013

Some user are having problems in connecting to ownCloud via mobile apps.

By looking into the server answer in one of them we have noticed that the error is due to the fact that the Propfind method is not allowed.

Any ideas on how to solve it?

Server answer:
.....

{"installed":"true","version":"4.90.6","versionstring":"4.5.5","edition":""}PROPFIND /ownCloud/remote.php/webdav/ HTTP/1.1
Host: netdrive.hopto.org
User-Agent: Owncloud%20iOs%20Client/2.08 CFNetwork/548.1.4 Darwin/11.4.2
Content-Length: 92
Accept: */*
Depth: 1
Content-Type: application/xml
Accept-Language: es-es
Accept-Encoding: gzip, deflate
Cookie: 50ec33809d3ca=ql1t75p4kj2fjk3uoqrkb5hvh5
Connection: keep-alive

<?xml version="1.0" encoding="utf-8" ?>
<D:propfind xmlns:D="DAV:"><D:allprop/></D:propfind>HTTP/1.1 405 Method Not Allowed
Allow: GET, HEAD, OPTIONS, TRACE
Content-Type: text/html
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
Date: Thu, 17 Jan 2013 08:26:21 GMT
Content-Length: 1293

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>405 - HTTP verb used to access this page is not allowed.</title>
<style type="text/css">
<!--

.....

@RandolfCarter
Copy link
Contributor

405 - HTTP verb used to access this page is not allowed.

Looks like not all HTTP verbs are allowed! What server did this occur on? We had similar problems in the forum, see e.g. this FAQ entry: http://forum.owncloud.org/viewtopic.php?f=17&t=7536
or specifically for servers:

@rperezb
Copy link
Author

rperezb commented Jan 17, 2013

Thanks @RandolfCarter, it seems to occur on IIS.

I have let the user know about this. I will keep you update and close this, if works.

@LukasReschke
Copy link
Member

Dupe of #1200 - closing.

@DeepDiver1975
Copy link
Member

we should add this to the documentation section about IIS @danimo

@rperezb
Copy link
Author

rperezb commented Jan 21, 2013

Solved.

WebDAV was installed on the IIS. Although it was disabled it must still have had some impact on the PHP WebDAV. By uninstalling WebDAV from the server roles in IIS and setting up the client again and it started to sync the folder.

Conclusion, there cannot be any instance of another WebDAV installed on the server even a disabled WebDAV will mess it up.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants