frksteenhoff / ClimApp

Codebase for prototype and final version of the smartphone application ClimApp, a project under the European Research Area for Climate Services. The application is available for iOS and Android in App Stroe and Google Play respectively.
https://www.lth.se/climapp/
4 stars 2 forks source link

Eduroam error #123

Closed BorisKingma closed 5 years ago

BorisKingma commented 5 years ago

Describe the bug If a user is connected to Eduroam there is an error in the dtu_helper

To Reproduce Steps to reproduce the behavior:

  1. connect to internet via eduroam.
  2. start app.

2019-07-08 16:16:48.411435+0200 ClimApp[2352:101947] Error: SyntaxError: JSON Parse error: Unrecognized token '<' in file:///Users/boriskingma/Library/Developer/CoreSimulator/Devices/6E162F2C-8AF5-4A5A-88B3-33676E689314/data/Containers/Bundle/Application/BCA25401-E578-4B1B-8AAC-6B9FDCD8A7F9/ClimApp.app/www/js/helper_functions/dtu_database.js at line 118

BorisKingma commented 5 years ago

According to Jorn Toftum the error is at DTU server side because it does not support https connection and edurom does require that.

if DTU server cannot be changed to https, we have to migrate DTU server elsewhere.

frksteenhoff commented 5 years ago

The theory of where the problem occurred was mine, Jørn merely passed on the message :-)

Please see issue #120 this is not a problem the only step missing is the migration of the code base to the new https DNS. I will complete this when I am back in September.

BorisKingma commented 5 years ago

allright, i do not see an option to merge these issues - I'll close this one then, and #120 will be the sole spot for reference on this issue.