[Resolved] Slowness and unstable of REST Streaming from 8/15/2018


#1

The connection to REST Streaming became unstable and slow, especially during the initialize connection

Local time is PDT

2018-08-15 15:58:37 INFO (Thread-23) [nest.nest] Event loop stopped.
2018-08-15 15:58:37 INFO (Thread-22) [nest.nest] Open data stream
... 2 minutes later ...
2018-08-15 16:00:36 INFO (Thread-22) [nest.nest] Event loop started.

2018-08-15 16:19:08 INFO (Thread-25) [nest.nest] Event loop stopped.
2018-08-15 16:19:08 INFO (Thread-13) [nest.nest] Open data stream
... 2 minutes later ...
2018-08-15 16:21:10 INFO (Thread-13) [nest.nest] Event loop started.

2018-08-15 20:00:47 INFO (Thread-26) [nest.nest] Event loop stopped.
2018-08-15 20:00:47 INFO (Thread-2) [nest.nest] Open data stream
... connection not success ...
2018-08-15 20:01:49 INFO (Thread-16) [nest.nest] Open data stream
... try again ...
2018-08-15 20:02:50 INFO (Thread-9) [nest.nest] Open data stream
... finally 2 minutes later ...
2018-08-15 20:04:52 INFO (Thread-9) [nest.nest] Event loop started.

Then I got following debugging logs, it take 1 minute to get response from developer-api.nest.com, and another minute to get response from firebase end point.

2018-08-16 03:25:03 DEBUG (SyncWorker_4) [nest.nest] >> POST https://api.home.nest.com/oauth2/access_token
2018-08-16 03:25:03 DEBUG (SyncWorker_4) [nest.nest] << 200
2018-08-16 03:25:03 INFO (SyncWorker_16) [nest.nest] Open data stream
2018-08-16 03:25:03 DEBUG (SyncWorker_16) [nest.nest] >> STREAM https://developer-api.nest.com/
2018-08-16 03:26:03 DEBUG (SyncWorker_16) [nest.nest] << 307
2018-08-16 03:26:03 DEBUG (SyncWorker_16) [nest.nest] >> STREAM https://firebase-apiserver20-tah01-iad01.dapi.production.nest.com:9553/
2018-08-16 03:27:04 DEBUG (SyncWorker_16) [nest.nest] << 200
2018-08-16 03:27:04 DEBUG (Thread-3) [nest.nest] Starting event loop.
2018-08-16 03:27:04 DEBUG (Thread-3) [nest.nest] <<< put event
2018-08-16 03:27:04 INFO (SyncWorker_16) [nest.nest] Event loop started.
2018-08-16 03:27:34 DEBUG (Thread-3) [nest.nest] <<< keep-alive event
2018-08-16 03:28:04 DEBUG (Thread-3) [nest.nest] <<< keep-alive event

#2

By the way, the regular REST API looks good

2018-08-16 04:27:22 DEBUG (SyncWorker_14) [nest.nest] >> GET https://developer-api.nest.com/
2018-08-16 04:27:22 DEBUG (SyncWorker_14) [nest.nest] << 307
2018-08-16 04:27:22 DEBUG (SyncWorker_14) [nest.nest] >> GET https://firebase-apiserver20-tah01-iad01.dapi.production.nest.com:9553/
2018-08-16 04:27:23 DEBUG (SyncWorker_14) [nest.nest] << 200

#3

I’m seeing the same thing since yesterday


#4

Same here. Nice to know I’m not the only one.


#5

Slowness is being nice. It’s taking so long that it’s causing my automation software to timeout and disconnect. What happened?!


#6

Same here, my app is completely unusable because of this problem.
Can someone from Nest comment on this problem?


#7

Same here. My integration with Nest has become mostly unusable.


#8

Hi All, I have sent a request to the engineers to look at this. Do you get ‘keep-alive’ messages but no data?


#9

I tried using command
curl -v --location-trusted https://developer-api.nest.com/ -H “Accept:text/event-stream” -H "Authorization: Bearer " -H “Cache-Control: no-cache” -v -L
and it takes around 2 minutes to receive 307 redirect to ‘firebase-apiserver18-tah01-iad01.dapi.production.nest.com’ and another 2 minutes to start receiving device updates, and keep-alive messages only after I start receiving device updates.


#10

Thanks for the information, I see this also. This is being worked on so we’ll update everyone as soon as possible.


#11

This looks like it’s working now, but if anyone has any problems please let us know:)


#12

Confirmed. Connection back to normal.