1 post / 0 new
omarfro
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/)  
  1. plantronics-manager.html:282 Error polling for device events: No response.  Server appears to be offline.
  2. plantronics-manager.html:282
  3. spokes.js:41
  4. plantronics-manager.html:290 changing POLL RATE to 10000
  5. plantronics-manager.html:298 -- ** DEVICE DETACHED / SESSION INVALID ** --
  6. plantronics-manager.html:298
  7. spokes.js:41
  8. plantronics-manager.html:248 Plugin un-registered.
  9. plantronics-manager.html:273 -- POLLING FOR HUB / DEVICE RE-ATTACH --
  10. plantronics-manager.html:339 Error polling for call events: No response.  Server appears to be offline.
  11. plantronics-manager.html:339
  12. spokes.js:41
  13. plantronics-manager.html:347 changing POLL RATE to 10000
  14. plantronics-manager.html:347
  15. spokes.js:41
  16. plantronics-manager.html:355 -- ** DEVICE DETACHED / SESSION INVALID ** --
  17. plantronics-manager.html:355
  18. spokes.js:41
  19. plantronics-manager.html:248 Plugin un-registered.
  20. plantronics-manager.html:339 Error polling for call events: No response.  Server appears to be offline.
  21. plantronics-manager.html:339
  22. spokes.js:41
  23. plantronics-manager.html:347 changing POLL RATE to 10000
  24. plantronics-manager.html:347
  25. spokes.js:41
  26. plantronics-manager.html:355 -- ** DEVICE DETACHED / SESSION INVALID ** --
  27. plantronics-manager.html:355
  28. spokes.js:41
  29. plantronics-manager.html:248 Plugin un-registered.
  30. plantronics-manager.html:339 Error polling for call events: No response.  Server appears to be offline.
  31. plantronics-manager.html:339
  32. spokes.js:41
  33. plantronics-manager.html:347 changing POLL RATE to 10000
  34. plantronics-manager.html:347
  35. spokes.js:41
  36. plantronics-manager.html:355 -- ** DEVICE DETACHED / SESSION INVALID ** --
  37. plantronics-manager.html:355
  38. spokes.js:41
  39. plantronics-manager.html:248 Plugin un-registered.
  40. plantronics-manager.html:282 Error polling for device events: No response.  Server appears to be offline.
  41. plantronics-manager.html:282
  42. spokes.js:41
  43. plantronics-manager.html:290 changing POLL RATE to 10000
  44. plantronics-manager.html:298 -- ** DEVICE DETACHED / SESSION INVALID ** --
  45. plantronics-manager.html:298
  46. spokes.js:41
  47. plantronics-manager.html:248 Plugin un-registered.
  48. plantronics-manager.html:339 Error polling for call events: No response.  Server appears to be offline.
  49. plantronics-manager.html:339
  50. spokes.js:41
  51. plantronics-manager.html:347 changing POLL RATE to 10000
  52. plantronics-manager.html:347
  53. spokes.js:41
  54. plantronics-manager.html:355 -- ** DEVICE DETACHED / SESSION INVALID ** --
  55. plantronics-manager.html:355
  56. spokes.js:41
  57. plantronics-manager.html:248 Plugin un-registered.
  58. plantronics-manager.html:282 Error polling for device events: No response.  Server appears to be offline.
  59. plantronics-manager.html:282
  60. spokes.js:41
  61. plantronics-manager.html:290 changing POLL RATE to 10000
  62. plantronics-manager.html:298 -- ** DEVICE DETACHED / SESSION INVALID ** --
  63. plantronics-manager.html:298
  64. spokes.js:41
  65. plantronics-manager.html:248 Plugin un-registered.
  66. plantronics-manager.html:339 Error polling for call events: No response.  Server appears to be offline.
  67. plantronics-manager.html:339
  68. spokes.js:41
  69. plantronics-manager.html:347 changing POLL RATE to 10000
  70. plantronics-manager.html:347
  71. spokes.js:41
  72. plantronics-manager.html:355 -- ** DEVICE DETACHED / SESSION INVALID ** --
  73. plantronics-manager.html:355
  74. spokes.js:41
  75. plantronics-manager.html:248 Plugin un-registered.
  76. plantronics-manager.html:258 Error releasing device
  77. plantronics-manager.html:258
  78. spokes.js:41
  79. plantronics-manager.html:260 Disconnected from Spokes
  80. plantronics-manager.html:282 Error polling for device events: No response.  Server appears to be offline.
  81. plantronics-manager.html:282
  82. spokes.js:41
  83. plantronics-manager.html:290 changing POLL RATE to 10000
  84. plantronics-manager.html:298 -- ** DEVICE DETACHED / SESSION INVALID ** --
  85. plantronics-manager.html:298
  86. spokes.js:41
  87. plantronics-manager.html:248 Plugin un-registered.
  88. 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.
  89. plantronics-manager.html:179
  90. spokes.js:41
  91. plantronics-manager.html:273 -- POLLING FOR HUB / DEVICE RE-ATTACH --
  92. plantronics-manager.html:282 Error polling for device events: No response.  Server appears to be offline.
  93. plantronics-manager.html:282
  94. spokes.js:41
  95. plantronics-manager.html:290 changing POLL RATE to 10000
  96. plantronics-manager.html:298 -- ** DEVICE DETACHED / SESSION INVALID ** --
  97. plantronics-manager.html:298
  98. spokes.js:41
  99. plantronics-manager.html:248 Plugin un-registered.
  100. 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.
  101. plantronics-manager.html:179
  102. spokes.js:41
  103. plantronics-manager.html:273 -- POLLING FOR HUB / DEVICE RE-ATTACH --
  104. jquery.js:10006
  105.        
  106.        
  107. GET https://127.0.0.1:32018/Spokes/DeviceServices/Events?sess=4f0fbef08c949e1a7f4fb5c0be86567e&queue=0&callback=jQuery37006111825193468363_1710318263589&_=1710318263787 net::ERR_TIMED_OUT
  108. send jquery.js:10006
  109. ajax jquery.js:9511
  110. jQuery.<computed> jquery.js:9667
  111. getJSON jquery.js:9648
  112. Device.events @ spokes.js:246
  113. pollDeviceEventsOrReconnect @ plantronics-manager.html:280
  114. jquery.js:10006
  115.        
  116.        
  117. GET https://127.0.0.1:32018/Spokes/CallServices/CallEvents?name=plantronicsManager&callback=jQuery37006111825193468363_1710318263595&_=1710318263788 net::ERR_TIMED_OUT
  118. send jquery.js:10006
  119. ajax jquery.js:9511
  120. jQuery.<computed> jquery.js:9667
  121. getJSON jquery.js:9648
  122. Plugin.callEvents @ spokes.js:1030
  123. pollDeviceEventsOrReconnect @ plantronics-manager.html:337
  124. jquery.js:10006
  125.        
  126.        
  127. GET https://127.0.0.1:32018/Spokes/DeviceServices/Events?sess=4f0fbef08c949e1a7f4fb5c0be86567e&queue=0&callback=jQuery37006111825193468363_1710318263789&_=1710318263790 net::ERR_TIMED_OUT
  128. send jquery.js:10006
  129. ajax jquery.js:9511
  130. jQuery.<computed> jquery.js:9667
  131. getJSON jquery.js:9648
  132. Device.events @ spokes.js:246
  133. pollDeviceEventsOrReconnect @ plantronics-manager.html:280
  134. jquery.js:10006
  135.        
  136.        
  137. GET https://127.0.0.1:32018/Spokes/CallServices/CallEvents?name=plantronicsManager&callback=jQuery37006111825193468363_1710318263791&_=1710318263792 net::ERR_TIMED_OUT
  138. send jquery.js:10006
  139. ajax jquery.js:9511
  140. jQuery.<computed> jquery.js:9667
  141. getJSON jquery.js:9648
  142. Plugin.callEvents @ spokes.js:1030
  143. pollDeviceEventsOrReconnect @ plantronics-manager.html:337
  144. jquery.js:10006
  145.        
  146.        
  147. GET https://127.0.0.1:32018/Spokes/DeviceServices/Events?sess=4f0fbef08c949e1a7f4fb5c0be86567e&queue=0&callback=jQuery37006111825193468363_1710318263793&_=1710318263794 net::ERR_TIMED_OUT
  148. send jquery.js:10006
  149. ajax jquery.js:9511
  150. jQuery.<computed> jquery.js:9667
  151. getJSON jquery.js:9648
  152. Device.events @ spokes.js:246
  153. pollDeviceEventsOrReconnect @ plantronics-manager.html:280
  154. jquery.js:10006
  155.        
  156.        
  157. GET https://127.0.0.1:32018/Spokes/CallServices/CallEvents?name=plantronicsManager&callback=jQuery37006111825193468363_1710318263795&_=1710318263796 net::ERR_TIMED_OUT
  158. send jquery.js:10006
  159. ajax jquery.js:9511
  160. jQuery.<computed> jquery.js:9667
  161. getJSON jquery.js:9648
  162. Plugin.callEvents @ spokes.js:1030
  163. pollDeviceEventsOrReconnect @ plantronics-manager.html:337
  164. 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.
  165. plantronics-manager.html:179
  166. spokes.js:41
  167. plantronics-manager.html:273 -- POLLING FOR HUB / DEVICE RE-ATTACH --
  168. 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.
  169. plantronics-manager.html:179
  170. spokes.js:41
  171. plantronics-manager.html:273 -- POLLING FOR HUB / DEVICE RE-ATTACH --
  172. 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.