AndroidAPS icon indicating copy to clipboard operation
AndroidAPS copied to clipboard

Synch AAPS and NS Client not working

Open Garweho opened this issue 5 years ago • 4 comments

I got error message: io.socket.engineio.client.EngineIOException: xhr poll error. AAPS doesn't upload data to my Nightscout site anymore. The app and site itself are working well. Xdrip sends glucose data to Nightscout and AAPS and if I input carbs or insulin via xdrip, it shows up on Nightscout site. But AAPS is not synching with Nightscout. So if I insert carbs or insulin in AAPS, it's going nowhere. I use AAPS version 2.8.2, but got this error message already in the previous version. But before that it worked.

Screenshot_20210128-154730 error version

Garweho avatar Jan 28 '21 15:01 Garweho

where is you NS hosted? based on the message AAPS is loosing connection to the server until it's get paused it's NS or internet issue

MilosKozak avatar Jan 28 '21 16:01 MilosKozak

it's hosted on my own pi server. strange it worked fine for several months, but started just now. don't remember I made any changed to server. do you know what this error message means or what problem the server could have? It's also Strange that xdrip hast no issues sending Data. If it was internet or server issue I would think xdrip had the same problem.

Garweho avatar Jan 28 '21 19:01 Garweho

I'm seeing the same problem with a friend, that runs the NS on Heroku. Xdrip is sending BS readings to NS on Heroku, but AAPS isn't connecting to it, and pausing the client.

Even after restarting the smartphone or just the NSClient, for about 2 minutes the connection seams to be ok, but right after it goes on pause again.

rapocalypse avatar Jan 29 '21 14:01 rapocalypse

OK, tried old Version ( AAPS 2.7.0) which definately worked before. Having same problem now. So I guess it must really have something to do with internet or server/NS.

Garweho avatar Jan 30 '21 20:01 Garweho