nextgis / android_gisapp

:dart: GIS application for Android
http://nextgis.com/nextgis-mobile
GNU General Public License v3.0
134 stars 107 forks source link

Update to 2.5.7.1 breaks uploads to private NextGIS server #626

Closed Cthulhu-Dreams closed 6 years ago

Cthulhu-Dreams commented 6 years ago

Recently collected field data was not appearing on our server, despite the app reporting a successful sync. Upon troubleshooting the app, I discovered I was unable to connect to our server via the "Add from Web GIS" layer addition option. Unsure if this was a credentials issue, I attempted to change the username and password for the Web GIS account - only to receive an error saying the URL is invalid.

I then check to see if I had the latest update to the app - I noticed URL validation was added with 2.5.7.1. Suspecting this is the issue, I found a tablet that had not been updated and was able to successfully connect to our private server using the same credentials found on the tablet that could not connect.

I then updated the functional tablet to 2.5.7.1 and it could no longer connect to our private server. I am not sure why our server URL would be rejected - perhaps because it includes the port number?

4eRTuk commented 6 years ago

Should be fixed in https://github.com/nextgis/android_gisapp/commit/85ca7c410747680a177579fdb1642a67895fc71f