Android App: invalid API URL

Support requests, bug reports, etc. go here. Dedicated servers / VDS hosting only
spiderman1369
Bear Rating Trainee
Bear Rating Trainee
Posts: 7
Joined: 23 Oct 2015, 00:06

Android App: invalid API URL

Postby spiderman1369 » 16 Apr 2017, 20:21

Has anyone ever seen this error message before when opeing the Android app? Search of the forums didn't return any hits with this error message.

Error: invalid API URL

I didn't do anything to my tt-rss install nor my android phone. Everything was fine last night.
I ssh'd into my server and all folders and files are there. I logged in via web page and feeds are updating as ususal and filters working like a charm.
I uninstalled the app and restarted phone, then reinstalled app, entered my url, uname, and password and keep getting the same error message.
Not sure why this is happening. Is there something else on phone I need to purge beside uninstalling app to ensure a "fresh" install of app?

Thanks

spiderman1369
Bear Rating Trainee
Bear Rating Trainee
Posts: 7
Joined: 23 Oct 2015, 00:06

Re: Android App: invalid API URL

Postby spiderman1369 » 16 Apr 2017, 21:23

Update: Delete this post...I don't know what was going on or what just happened, but app is working fine now. Computers suck!

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Android App: invalid API URL

Postby fox » 16 Apr 2017, 21:26

e: i'm glad it solved itself but since i went through all the effort typing the below i'm gonna leave it here for posterity :v

this particular error happens when constructing an URL java object (java.net.URL) for some reason causes an exception. most likely because it thinks the URL is malformed somehow.

good (?) news is this has nothing to do with network or your server, this object is created before any actual network IO happens (ApiRequest.java:153).

the only way to figure out what happens exactly is setting up adb logcat, opening the app and then looking for relevant stack trace in the debug output. don't forget to enable transport debugging in app settings.

spiderman1369
Bear Rating Trainee
Bear Rating Trainee
Posts: 7
Joined: 23 Oct 2015, 00:06

Re: Android App: invalid API URL

Postby spiderman1369 » 18 Apr 2017, 15:00

Thanks Fox...I'll keep this info tucked away incase this ever happens again.


Return to “Support”

Who is online

Users browsing this forum: No registered users and 3 guests