Closed ElysiumGit closed 4 years ago
Where is the filedetails JSON? The error crashed up the app because there is no particular file ID in filedetails JSON.
Where is the filedetails JSON? The error crashed up the app because there is no particular file ID in filedetails JSON.
my bad: this is the filedetails json https://api.myjson.com/bins/fawuc and this is app details https://api.myjson.com/bins/rt0jo
Have you validated the JSON files?
Have you validated the JSON files?
Yeah i validated them on https://jsonlint.com/ and even if it was invalid wouldn't have been accepted by myjson.com Apparently it should work and Ive tried with both TCP AND UDP network protocols. Got the .ovpn files from https://www.vpngate.net/en/
Can you post the log or even images explaining the error?
This is a weird error because it happens most of the time, but sometimes there is no issue. The crash occurs when clicking on flag icon in the top right corner, to select the server location. java.lang.NumberFormatException: For input string: "NULL" at ServerActivity.java:452 int ID = Integer.valueOf(ConnectionDetails.getString("id", "1"));
Also when the crash doesn't occur and the server is selected, it doesn't connect to the VPN. After 30 seconds of waiting it goes back to saying server is ready, with the connect button.
Tested on android 9 and android 10
I'm not sure if there's something wrong with my json files. I used a json validator, and the servers i've used are from vpngate, they're pretty quick. appdetails: https://api.myjson.com/bins/eeb8c filedetails.json: https://api.myjson.com/bins/cdfrw