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

infinitely attempting to connect with nextcloud kdrive #45

Closed
pokyah opened this issue Feb 13, 2022 · 21 comments
Closed

infinitely attempting to connect with nextcloud kdrive #45

pokyah opened this issue Feb 13, 2022 · 21 comments

Comments

@pokyah
Copy link

pokyah commented Feb 13, 2022

Hello,

When I try to connect to my kdrive ( which is a managed nextcloud instance) using connect.drive.infomaniak.com (as mentioned in https://www.infomaniak.com/en/support/faq/2409/kdrive-logging-in-to-your-drive-via-webdav) on the les pas first login screen, les pas infinitely attempts to connect and nothing happens (no error message).

I would expect that les pas would connect or throw me an error explaining why I can't connect

Screenshot_2022-02-13-12-15-57-136_site leos apps lespas

Here is my phone config :

Screenshot_2022-02-13-12-17-00-760_com android settings

I also want to let you know that the official nextcloud app can connect to my kdrive without any trouble.

Thanks for your help

@scubajeff
Copy link
Owner

Login to your Nextcloud instance in web browser, select Settings->Mobile & desktop, scroll to the bottom, copy the address listed in 'Server address' section and use this address with Les Pas.

@pokyah
Copy link
Author

pokyah commented Feb 13, 2022

The thing is that kdrive is kind of a fork of nextcloud rather than a pure managed instance. So I can't check what you have proposed.

However, on my android phone I can connect to my kdrive using the official nextcloud app.

If I click on manage accounts in the android nextcloud app, I can see the following working connection :

Username@email.com@102960.connect.drive.infomaniak.com (where username@email.com is actually replaced by my true email used as login credential).

I've tried these 3 combinations:

Username@email.com@102960.connect.drive.infomaniak.com
102960.connect.drive.infomaniak.com connect.drive.infomaniak.com

But with no success.

How can we debug this?

@scubajeff
Copy link
Owner

scubajeff commented Feb 14, 2022

to get authenticated to your nextcloud server, lespas uses nextcloud ocs login flow, please ask kdrive staff if they support this.

@scubajeff
Copy link
Owner

further study on kdrive website, confirm they use different login mechanism which Les Pas doesn't support at this moment.

@pokyah
Copy link
Author

pokyah commented Feb 22, 2022

Hi @scubajeff, finally got an answer from Kdrive. They told me Kdrive is not based on nextcloud anymore...

@scubajeff
Copy link
Owner

Just release 2.5.5. With this version, I seems to be able to reach the login page of connect.drive.infomaniak.com. You can give it a try.

@scubajeff scubajeff reopened this Apr 11, 2022
@ThomasDeschler
Copy link

Hello @scubajeff,

Thank you for your update.
I tried to connect using https://connect.drive.infomaniak.com/ with the release 2.5.5.
I can reach the page and can login to Infomaniak, but after that the app crashes.
When I try to reopen the app it crashes every time.

My phone: Pixel 4a 5G with Android 12

@scubajeff
Copy link
Owner

this sounds quite similar to #54

@ThomasDeschler
Copy link

I have sent the crash log by email.

@scubajeff
Copy link
Owner

@ThomasDeschler, the mail you sent to me didn't have log attached. Tried sending you mail, but had been rejected by your mail server's spam filter.

@ThomasDeschler
Copy link

Noted, I have sent a link to download the crash log. I hope this method works.

@scubajeff
Copy link
Owner

@ThomasDeschler could you please try this one?
LesPas-v2.5.5-debug.zip

@ThomasDeschler
Copy link

No more opening crashes with this version.
Thank you!

@scubajeff
Copy link
Owner

scubajeff commented Apr 14, 2022

there are some other exceptions in the log too. seems like some server side restrictions been applied to your kdrive's home folder. can you create new album?

@pokyah
Copy link
Author

pokyah commented Jun 7, 2022

Just release 2.5.5. With this version, I seems to be able to reach the login page of connect.drive.infomaniak.com. You can give it a try.

Wow ! Excellent ! Will try it today

@pokyah
Copy link
Author

pokyah commented Sep 30, 2022

Sadly I can't connect as I got stuck by a bugged Infomaniak page that propose me to choose between one of my drives.

The intefarce is bugged and it's impossible to select a drive. I'll send thema ticket to make things work and will come back to LesPas.

Will keep you updated

@pokyah
Copy link
Author

pokyah commented Dec 5, 2023

Hi @scubajeff !
Thanks for continuing developing Les Pas. I want to try it again. I'm currently using version 2.9.6 but still can't figure out how to connect to kdrive. Could you show me which URL you use to connect?

Thanks

@scubajeff
Copy link
Owner

According to this link https://www.infomaniak.com/en/support/faq/2409/connect-to-kdrive-via-webdav
kDrive is different from Nextcloud in terms of API endpoint and folder structure. Extra works needed to support it. Will evaluate the possibility later.

@pokyah
Copy link
Author

pokyah commented Dec 8, 2023

Thanks @scubajeff for considering evaluating it later

@scubajeff
Copy link
Owner

@pokyah not at all. eventually it's the way to more user installation.

@scubajeff
Copy link
Owner

@pokyah Seems like infomanic blocked me from creating kdrive. Unless you could help me setup a kdrive account for testing, I can't do anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants