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

App does not login to OwnCloud with URLs inlcuding subfolder. #146

Open
ChrisPHL opened this issue Apr 7, 2017 · 2 comments
Open

App does not login to OwnCloud with URLs inlcuding subfolder. #146

ChrisPHL opened this issue Apr 7, 2017 · 2 comments

Comments

@ChrisPHL
Copy link

ChrisPHL commented Apr 7, 2017

Hi there,

my OwnCloud server has the address https://myserver/owncloud. (OwnCloud v9.1.4 with "OwnNote" v1.08)
This does make the MyOwnNotes App think of wrong username or password when trying to login ("Please check your username and password.").
I'm pretty sure not to have misspelled my password, tried it several times and changed to "foo" temporarely with no success.

I tried to manipulate the code of LoginActivity::doInBackground() myself like this:
String name = selectedAccount.name;
name = name.substring(0, name.indexOf("/", name.indexOf("://")+3)); /* Shorten URL right after host name. */
Uri baseUrl = Settings.getAccountURL(name);
Which brings me to the list of notes once. So I think the issue has to be considered with the additional path following the host name.
Unfortunately MyOwnNotes does not sync any of my Notes that I just created in the webfrontend of my OwnCloud server.
I'm not that familiar with Android programming so can't go any further at this point.
So I kindly ask you to fix that issue or maybe help me to fix that on my own.

@ramschmaerchen
Copy link
Contributor

Hi, @ChrisPHL , what version of myownnotes are you using?

@ChrisPHL
Copy link
Author

ChrisPHL commented Apr 8, 2017

Sorry, I forgot to mention that. I'm using Version 2.0 from F-Droid.

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

2 participants