Wed, 03/13/2024 - 01:19
#1
Server appears to be offline after using Windows SDK with Rest APIs
Hi,
- I upgraded the SDK on our Electron app from v3.24.53524.36336 to v3.25.53799.37131 (we injected the SDK files on our app and we verified the Plantronics 127.0.0.1 to avoid the certificate issues as your certificate becomes not active once copy the SDK files to our app).
- So I just updated the SDK files without playing with JS code. but when we pushed the app to production we got a lot of complaints from our users about the headset buttons doesn't work sometimes on the app, as I see on our app logs the server appears to be offline after it's working (5-15mins) and https://127.0.0.1:32018/Spokes/DeviceServices/Info becomes not reachable even though the SDK app is running on the PC
- Here are the js errors from our app (the same issue with https://pltdev.github.io/)
- plantronics-manager.html:282 Error polling for device events: No response. Server appears to be offline.
- plantronics-manager.html:282
- spokes.js:41
- plantronics-manager.html:290 changing POLL RATE to 10000
- plantronics-manager.html:298 -- ** DEVICE DETACHED / SESSION INVALID ** --
- plantronics-manager.html:298
- spokes.js:41
- plantronics-manager.html:248 Plugin un-registered.
- plantronics-manager.html:273 -- POLLING FOR HUB / DEVICE RE-ATTACH --
- plantronics-manager.html:339 Error polling for call events: No response. Server appears to be offline.
- plantronics-manager.html:339
- spokes.js:41
- plantronics-manager.html:347 changing POLL RATE to 10000
- plantronics-manager.html:347
- spokes.js:41
- plantronics-manager.html:355 -- ** DEVICE DETACHED / SESSION INVALID ** --
- plantronics-manager.html:355
- spokes.js:41
- plantronics-manager.html:248 Plugin un-registered.
- plantronics-manager.html:339 Error polling for call events: No response. Server appears to be offline.
- plantronics-manager.html:339
- spokes.js:41
- plantronics-manager.html:347 changing POLL RATE to 10000
- plantronics-manager.html:347
- spokes.js:41
- plantronics-manager.html:355 -- ** DEVICE DETACHED / SESSION INVALID ** --
- plantronics-manager.html:355
- spokes.js:41
- plantronics-manager.html:248 Plugin un-registered.
- plantronics-manager.html:339 Error polling for call events: No response. Server appears to be offline.
- plantronics-manager.html:339
- spokes.js:41
- plantronics-manager.html:347 changing POLL RATE to 10000
- plantronics-manager.html:347
- spokes.js:41
- plantronics-manager.html:355 -- ** DEVICE DETACHED / SESSION INVALID ** --
- plantronics-manager.html:355
- spokes.js:41
- plantronics-manager.html:248 Plugin un-registered.
- plantronics-manager.html:282 Error polling for device events: No response. Server appears to be offline.
- plantronics-manager.html:282
- spokes.js:41
- plantronics-manager.html:290 changing POLL RATE to 10000
- plantronics-manager.html:298 -- ** DEVICE DETACHED / SESSION INVALID ** --
- plantronics-manager.html:298
- spokes.js:41
- plantronics-manager.html:248 Plugin un-registered.
- plantronics-manager.html:339 Error polling for call events: No response. Server appears to be offline.
- plantronics-manager.html:339
- spokes.js:41
- plantronics-manager.html:347 changing POLL RATE to 10000
- plantronics-manager.html:347
- spokes.js:41
- plantronics-manager.html:355 -- ** DEVICE DETACHED / SESSION INVALID ** --
- plantronics-manager.html:355
- spokes.js:41
- plantronics-manager.html:248 Plugin un-registered.
- plantronics-manager.html:282 Error polling for device events: No response. Server appears to be offline.
- plantronics-manager.html:282
- spokes.js:41
- plantronics-manager.html:290 changing POLL RATE to 10000
- plantronics-manager.html:298 -- ** DEVICE DETACHED / SESSION INVALID ** --
- plantronics-manager.html:298
- spokes.js:41
- plantronics-manager.html:248 Plugin un-registered.
- plantronics-manager.html:339 Error polling for call events: No response. Server appears to be offline.
- plantronics-manager.html:339
- spokes.js:41
- plantronics-manager.html:347 changing POLL RATE to 10000
- plantronics-manager.html:347
- spokes.js:41
- plantronics-manager.html:355 -- ** DEVICE DETACHED / SESSION INVALID ** --
- plantronics-manager.html:355
- spokes.js:41
- plantronics-manager.html:248 Plugin un-registered.
- plantronics-manager.html:258 Error releasing device
- plantronics-manager.html:258
- spokes.js:41
- plantronics-manager.html:260 Disconnected from Spokes
- plantronics-manager.html:282 Error polling for device events: No response. Server appears to be offline.
- plantronics-manager.html:282
- spokes.js:41
- plantronics-manager.html:290 changing POLL RATE to 10000
- plantronics-manager.html:298 -- ** DEVICE DETACHED / SESSION INVALID ** --
- plantronics-manager.html:298
- spokes.js:41
- plantronics-manager.html:248 Plugin un-registered.
- plantronics-manager.html:179 Error connecting to Plantronics Hub. (Have you installed and run Plantronics Hub from href="http://www.plantronics.com/software" target="_new">www.plantronics.com/software, or are you Firefox user and getting "Error connecting to Plantronics Hub."? If so visit this URL:"https://127.0.0.1:32018/Spokes/DeviceServices/Info"https://127.0.0.1:32018/Spokes/DeviceServices/Info and click Advanced > Add Exception... to add a security exception to allow the connection.
- plantronics-manager.html:179
- spokes.js:41
- plantronics-manager.html:273 -- POLLING FOR HUB / DEVICE RE-ATTACH --
- plantronics-manager.html:282 Error polling for device events: No response. Server appears to be offline.
- plantronics-manager.html:282
- spokes.js:41
- plantronics-manager.html:290 changing POLL RATE to 10000
- plantronics-manager.html:298 -- ** DEVICE DETACHED / SESSION INVALID ** --
- plantronics-manager.html:298
- spokes.js:41
- plantronics-manager.html:248 Plugin un-registered.
- plantronics-manager.html:179 Error connecting to Plantronics Hub. (Have you installed and run Plantronics Hub from href="http://www.plantronics.com/software" target="_new">www.plantronics.com/software, or are you Firefox user and getting "Error connecting to Plantronics Hub."? If so visit this URL:"https://127.0.0.1:32018/Spokes/DeviceServices/Info"https://127.0.0.1:32018/Spokes/DeviceServices/Info and click Advanced > Add Exception... to add a security exception to allow the connection.
- plantronics-manager.html:179
- spokes.js:41
- plantronics-manager.html:273 -- POLLING FOR HUB / DEVICE RE-ATTACH --
- jquery.js:10006
- GET https://127.0.0.1:32018/Spokes/DeviceServices/Events?sess=4f0fbef08c949e1a7f4fb5c0be86567e&queue=0&callback=jQuery37006111825193468363_1710318263589&_=1710318263787 net::ERR_TIMED_OUT
- send jquery.js:10006
- ajax jquery.js:9511
- jQuery.<computed> jquery.js:9667
- getJSON jquery.js:9648
- Device.events @ spokes.js:246
- pollDeviceEventsOrReconnect @ plantronics-manager.html:280
- jquery.js:10006
- GET https://127.0.0.1:32018/Spokes/CallServices/CallEvents?name=plantronicsManager&callback=jQuery37006111825193468363_1710318263595&_=1710318263788 net::ERR_TIMED_OUT
- send jquery.js:10006
- ajax jquery.js:9511
- jQuery.<computed> jquery.js:9667
- getJSON jquery.js:9648
- Plugin.callEvents @ spokes.js:1030
- pollDeviceEventsOrReconnect @ plantronics-manager.html:337
- jquery.js:10006
- GET https://127.0.0.1:32018/Spokes/DeviceServices/Events?sess=4f0fbef08c949e1a7f4fb5c0be86567e&queue=0&callback=jQuery37006111825193468363_1710318263789&_=1710318263790 net::ERR_TIMED_OUT
- send jquery.js:10006
- ajax jquery.js:9511
- jQuery.<computed> jquery.js:9667
- getJSON jquery.js:9648
- Device.events @ spokes.js:246
- pollDeviceEventsOrReconnect @ plantronics-manager.html:280
- jquery.js:10006
- GET https://127.0.0.1:32018/Spokes/CallServices/CallEvents?name=plantronicsManager&callback=jQuery37006111825193468363_1710318263791&_=1710318263792 net::ERR_TIMED_OUT
- send jquery.js:10006
- ajax jquery.js:9511
- jQuery.<computed> jquery.js:9667
- getJSON jquery.js:9648
- Plugin.callEvents @ spokes.js:1030
- pollDeviceEventsOrReconnect @ plantronics-manager.html:337
- jquery.js:10006
- GET https://127.0.0.1:32018/Spokes/DeviceServices/Events?sess=4f0fbef08c949e1a7f4fb5c0be86567e&queue=0&callback=jQuery37006111825193468363_1710318263793&_=1710318263794 net::ERR_TIMED_OUT
- send jquery.js:10006
- ajax jquery.js:9511
- jQuery.<computed> jquery.js:9667
- getJSON jquery.js:9648
- Device.events @ spokes.js:246
- pollDeviceEventsOrReconnect @ plantronics-manager.html:280
- jquery.js:10006
- GET https://127.0.0.1:32018/Spokes/CallServices/CallEvents?name=plantronicsManager&callback=jQuery37006111825193468363_1710318263795&_=1710318263796 net::ERR_TIMED_OUT
- send jquery.js:10006
- ajax jquery.js:9511
- jQuery.<computed> jquery.js:9667
- getJSON jquery.js:9648
- Plugin.callEvents @ spokes.js:1030
- pollDeviceEventsOrReconnect @ plantronics-manager.html:337
- plantronics-manager.html:179 Error connecting to Plantronics Hub. (Have you installed and run Plantronics Hub from href="http://www.plantronics.com/software" target="_new">www.plantronics.com/software, or are you Firefox user and getting "Error connecting to Plantronics Hub."? If so visit this URL:"https://127.0.0.1:32018/Spokes/DeviceServices/Info"https://127.0.0.1:32018/Spokes/DeviceServices/Info and click Advanced > Add Exception... to add a security exception to allow the connection.
- plantronics-manager.html:179
- spokes.js:41
- plantronics-manager.html:273 -- POLLING FOR HUB / DEVICE RE-ATTACH --
- plantronics-manager.html:179 Error connecting to Plantronics Hub. (Have you installed and run Plantronics Hub from href="http://www.plantronics.com/software" target="_new">www.plantronics.com/software, or are you Firefox user and getting "Error connecting to Plantronics Hub."? If so visit this URL:"https://127.0.0.1:32018/Spokes/DeviceServices/Info"https://127.0.0.1:32018/Spokes/DeviceServices/Info and click Advanced > Add Exception... to add a security exception to allow the connection.
- plantronics-manager.html:179
- spokes.js:41
- plantronics-manager.html:273 -- POLLING FOR HUB / DEVICE RE-ATTACH --
- plantronics-manager.html:179 Error connecting to Plantronics Hub. (Have you installed and run Plantronics Hub from href="http://www.plantronics.com/software" target="_new">www.plantronics.com/software, or are you Firefox user and getting "Error connecting to Plantronics Hub."? If so visit this URL:"https://127.0.0.1:32018/Spokes/DeviceServices/Info"https://127.0.0.1:32018/Spokes/DeviceServices/Info and click Advanced > Add Exception... to add a security exception to allow the connection.
Add new comment