Giter VIP home page Giter VIP logo

Comments (6)

overheadhunter avatar overheadhunter commented on September 24, 2024

From @FZachlod on March 29, 2017 11:19

Any progress on this? Cannot connect to the Webdav Server with any client I tried in Linux... mount.davfs fails, fusedav fails, cadaver fails. I assume the clients are right to expect the server to be able to handle PROPFIND properly.

from webdav-nio-adapter.

overheadhunter avatar overheadhunter commented on September 24, 2024

@FZachlod mounting should not fail, you seem to have some other problem, maybe some software that intercepts network traffic?
The aforementioned PROPFIND capability is only an enhancement, as it did not prevent mounting, it merely looked stupid in the logfile.

from webdav-nio-adapter.

overheadhunter avatar overheadhunter commented on September 24, 2024

From @FZachlod on March 29, 2017 11:57

fusedav -D http://localhost:8081/ /mnt/test/

getattr(/)
CGET: /
STAT-CACHE-MISS
PROPFIND failed: 501 Method PROPFIND is not defined in RFC 2068 and is not supported by the Servlet API
getattr(/)
CGET: /
STAT-CACHE-MISS
PROPFIND failed: 501 Method PROPFIND is not defined in RFC 2068 and is not supported by the Servlet API
getattr(/)
CGET: /
STAT-CACHE-MISS
PROPFIND failed: 501 Method PROPFIND is not defined in RFC 2068 and is not supported by the Servlet API
getattr(/)
CGET: /
STAT-CACHE-MISS
PROPFIND failed: 501 Method PROPFIND is not defined in RFC 2068 and is not supported by the Servlet API

on the other side I try:

ls /mnt/test
ls: cannot access /mnt/test: No such file or directory

I can put files with CURL though:

curl -T /etc/rc.local http://localhost:8081/

or

curl -X MKCOL http://localhost:8081/test

but when I try to download them again:

curl http://localhost:8081/rc.local
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 405 HTTP method GET is not supported by this URL</title>
</head>
<body><h2>HTTP ERROR 405</h2>
<p>Problem accessing /rc.local. Reason:
<pre>    HTTP method GET is not supported by this URL</pre></p><hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.z-SNAPSHOT</a><hr/>

</body>
</html>

I don't know which method the Windows Webdav client uses instead. Seems GET does not work either.

from webdav-nio-adapter.

overheadhunter avatar overheadhunter commented on September 24, 2024

@FZachlod you can't mount localhost:8081, but you'd rather need the full URL, which can be copied from either the UI or is written to the log file ([WebDavServer:121] Servlet available under http://localhost:8080/yQqBS3pivA8F/test)

from webdav-nio-adapter.

overheadhunter avatar overheadhunter commented on September 24, 2024

From @FZachlod on March 29, 2017 12:10

You are right. Funnyly I built from the latest code from the develop branch which seems to not start the server correctly fro some reason. It does not log the [WebDavServer:126] WebDavServlet available under http://localhost:8081/XYZ message just:

2017-03-29 14:04:45,553 INFO [CryptomatorCli:69] Unlocking vault "XYZ" located at /mnt/XYZ
2017-03-29 14:04:47,055 INFO [CryptomatorCli:89] Server started. Press Ctrl+C to terminate.

It seems I cannot access them though. With version 0.2.1 I can mount as expected.

from webdav-nio-adapter.

overheadhunter avatar overheadhunter commented on September 24, 2024

Ok this might be a bug, will put it on our regression testing list. We are currently doing a massive refactoring on the develop branch, that is why it may have a different behaviour.

from webdav-nio-adapter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.