Dacid99 / LinkDroid-for-Linkwarden

Mirror repository of the LinkDroid for Linkwarden app
https://gitlab.com/Dacid99/linkdroid-for-linkwarden
Other
34 stars 3 forks source link

Cant login #2

Closed e-p-s closed 6 days ago

e-p-s commented 1 month ago

Sadly i cant login to linkwarden.

I have entered the url (http://172.30.98.209:3000) and the token but nothing happend.

Sometimes the app crash. Sometimes if you hit connect its returns to homescreen.

image

And at restart the app :

image

Redmi Note 13 Pro 4G. HyperOS 1.0.4.0 Android 14.

Dacid99 commented 3 weeks ago

Hi, I am very sorry for the late reply, for some reason I was not notified of the issues that have been opened in this repository.

At first glance everything you entered looks correct. Just make sure that Linkwarden can actually be reached reliably with the url. Have you tried refreshing (pulling from the top) after entering the url? The app should take you to the url/dashboard by default then. Can you please send the logs from the crash (there are various logcat tools on fdroid), that would be a big help in resolving these.

jcaust commented 2 weeks ago

Same here. It just crashes

Dacid99 commented 2 weeks ago

Could you please send me the logs to the crash? Otherwise Im clueless where to look in the code. As far as now I havent been able to reproduce this myself unfortunately.

ecker00 commented 1 week ago

I might have the same issue. I fist see "Connection failed to server..." then if I press the Android back button after this I get to a white page with a more useful error:

The web page at http://10.x.x.x:9999/dashboard could not be loaded because:
net::ERR_CLEARTEXT_NOT_PERMITTED

Is the app forcing HTTPS? As many run these services over VPN on HTTP. So that should be fine.

d0dg3r commented 6 days ago

Hi, i have the same error and i tried http and https. It is the same behavior. If you add android:usesCleartextTraffic=”true” in the application section of the AndroidManifest.xm file could help.

d0dg3r commented 6 days ago

Here is my debug Build if someone wants to try. https://cloud.root-files.net/s/2exds3FqJzWMzzw

Dacid99 commented 6 days ago

I just merged the pull request, thankyou for the effort! The release will be published tomorrow and should be on fdroid next week. I hope this will resolve this problem, Ill close this issue until further notice.