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
Support for other DAV clients #41
Comments
Hi there, ExpanDrive probably doesn't support SNI. See these links: https://docs.sandstorm.io/en/latest/administering/sandcats-https/#technical-details For mount.davfs2: This URL scheme is standardized in RFC2617 as of June It looks like this is their upstream bug tracker URL: Can I interest you in filing bugs against those projects, to have them be Let me know what you think! |
Reported to ExpanDrive dev: Full report 😃 OTOH, the URL issue I had with |
Sweet, @GitHubGeek . Keep us posted. I added a comment on the issue, too. |
It probably isn't a blocker, but #44 should make it easier to work with other clients, too. |
I can't get a python script to work. The owncloud desktop client works fine. What am I doing wrong/differently? I tried poring over csync_owncloud.c but I'm too tired or something. My script is: def main(argv, stdout, environ, connect):
username = argv[1]
webdav = connect(
environ['SITE_DOMAIN'], username=username,
password=environ['SITE_PASSWORD'],
protocol='https',
# We serve webdav at /remote.php/webdav for Owncloud's benefit
# -- https://github.com/mnutt/davros/issues/44
path='/remote.php/webdav/')
print >>stdout, webdav
print >>stdout, webdav.ls()
if __name__ == '__main__':
def _script():
from sys import argv, stdout
from os import environ
from easywebdav import connect
main(argv, stdout, environ, connect)
_script() But I lose thus:
I tried cadaver and curl, but the response to every request is the Davros homepage... <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Davros</title>
...
<script src="/assets/vendor-c9cf26ccc3d8789d1b615cc8ac090d12.js"></script>
<script src="/assets/davros-9593696a0ff51689f9ad44697484e18b.js"></script> |
@dckc just to confirm, are you using the URLs from the clients page? A typical curl command might look something like this:
|
Yes, @mnutt. In fact, I just made a grain that I'm happy to share for testing:
|
It looks like there are double slashes before
Admittedly Davros should probably do a better job of handling cases like that. |
Bingo! Thanks, @mnutt. |
I’ve since changed the URL on the clients page to the root and gotten rid of /remote.php altogether except for OwnCloud/NextCloud clients. It still wouldn’t work with double slashes, but I think that case is less likely to be hit now. |
Hi all, tried to connect 2 different clients to Davros, but no luck
mount.davfs2
- LinuxI suspect the issues are client-specific and has nothing to do with Davros, but want to raise them here anyway to see if anyone has already found a solution or root cause.
mount.davfs2
seems to think thehttps://sandstorm:<...>@api.example.com
URL is invalidExpanDrive seems to fail with some SSL errors (it uses Python
ssl
lib under the hood)The text was updated successfully, but these errors were encountered: