-
Notifications
You must be signed in to change notification settings - Fork 194
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
Issues with some webdav clients #1133
Comments
The snippets of the log don't say to much. The return code 207 is a correct answer on PROPFIND request. However, it's not visible what is inside the response. |
HTTP was used only for testing. I specifically removed everything unnecessary for test conditions. At first I thought that maybe the problem is somewhere in the reverse proxy or passenger. Therefore, the logs show the HTTP protocol. I also first thought about the specific implementation of the webdav client in Nextcloud, which is why I tried Cyberduck. In CLI mode Cyberduck gives the following:
I'm not sure whether it will give something to understand. |
I sent a bug report to Mountainduck/Cyberduck and this is what they answered me:
Further information:
There is a custom namespace included for features not supported by the WebDAV-protocol (application configurable lastmodified-dates).
This would be a valid response:
|
How about adding the custom namespace here: lib/redmine_dmsf/webdav/custom_middleware.rb 39 namespaces: {
40 'http://apache.org/dav/props/' => 'd',
41 'http://ucb.openoffice.org/dav/props/' => 'd'
-> add your namespace here
42 } |
Hi, @picman Sory, I'm not a software developer, so cannot advise on how to do it better. |
After adding Cyberduck's namespace 94e41f1 it seems to be working...
|
Hi, @picman Thank you for your time! Adding the desired client’s namespace really looks like a simple step. I just didn’t quite understand what it was about. Cyberduck now works as a client, but I just used it for testing purposes. What started it all when I ran into the bug was connecting WebDav (by DMSF) as external storage to Nextcloud. I have already tried adding to lib/redmine_dmsf/webdav/custom_middleware.rb all possible namespaces related to Nextcloud / OwnCloud / Sabre Dav (which is used in the first two as a webdav backend):
But all is unsuccessful... I also ran tests for compliant with the WebDAV protocol using litmus WebDav test suite and got the following results:
In the "props" test block 4 of 14 tests fail. Perhaps there is a problem here. Also, unfortunately, there are a lot of failed tests in the "copymove" and "locks" blocks. Here is detailed litmus debug log: |
How do you work with DMSF <==> Nextcloud? How can I test it? |
You can test on these test hosts: Redmine: https://pm.midl.com.ua Credentials (for both hosts): I used the latest stable version of Redmine and the DMSF plugin from the devel-2.4.6 branch. In Nextcloud, I set up two WebDav connections:
You can view and change the settings for connecting to WebDav resources in Nextcloud here: Settings (under user icon in the right top corner), External storages (in the Personal block). Nextcloud logs can be viewed also in Settings -> Logging (in the Administration block). |
I've improved WebDAV of DMSF in order to pass Litmus tests. Could you re-test it with Nextcloud? (devel-2.4.6) The URLs are not available from my computer. |
I haven't seen any activity on the test host for the past few weeks, so I thought you had done some testing already and decided to shut down the hosts. I brought them up again. Anyway, I ran litmus tests with the latest development branch. All tests pass. Other clients still work with DMSF, as well as Cyberduck, even though custom namespaces are no longer used. Therefore, I already doubt that I can consider this a bug on the DMSF side. UPD: Nextcloud still cannot connect to the DMSF as a client. |
Hi, I am watching this issue because i experienced problems connecting with gnome's nautilus filemanager as well. With the provided credentials above i was able to connect to successfully. Thanks for the good work. 👍 |
@kty0mka I haven't figured out how to configure the connection from Nextcloud to Redmine. I see there an existing connection but can't edit it or add a new one. I suppose you have configured it with a right url and user with right permissions. All in all what I'd need is production.log. So try to connect to Redmine from Nextcloud and post what is in the production.log. |
Here's everything that is shown in the Redmine log when trying to connect from Nextcloud:
The user whose credentials I gave (admin:20Dmsf21) has all administrator rights (actually, this is the only user on the test host). Direct link to the external storages settings: https://nc2.midl.com.ua/settings/user/externalstorages |
I discovered another problem related to Cadaver and fixed it. It might be related to Nextcloud too. Could you update your Redmine and re-test it, please? |
Wow! It finally works with Nextcloud! |
Great! |
It seemed to me a good idea to connect the DMSF to the Nextcloud as an external webdav storage, but unfortunately it did not work. Here is log:
Then I tried connecting via Cyberduck and again failed:
At the same time, I can access the DMSF webdav via Safari, Firefox, native webdav clients in osx Finder or Gnome Nautilus.
I tested on fresh Redmine 4.1 with the only DMSF 2.4.2 plugin installed, but Redmine 4.0.7 with DMSF 2.4.1 behaves the same.
The text was updated successfully, but these errors were encountered: