{"action":"created","issue":{"url":"https://api.github.com/repos/bwssytems/ha-bridge/issues/177","repository_url":"https://api.github.com/repos/bwssytems/ha-bridge","labels_url":"https://api.github.com/repos/bwssytems/ha-bridge/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/bwssytems/ha-bridge/issues/177/comments","events_url":"https://api.github.com/repos/bwssytems/ha-bridge/issues/177/events","html_url":"https://github.com/bwssytems/ha-bridge/issues/177","id":180624076,"number":177,"title":"Unexpected termination","user":{"login":"cherowley","id":12351716,"avatar_url":"https://avatars.githubusercontent.com/u/12351716?v=3","gravatar_id":"","url":"https://api.github.com/users/cherowley","html_url":"https://github.com/cherowley","followers_url":"https://api.github.com/users/cherowley/followers","following_url":"https://api.github.com/users/cherowley/following{/other_user}","gists_url":"https://api.github.com/users/cherowley/gists{/gist_id}","starred_url":"https://api.github.com/users/cherowley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cherowley/subscriptions","organizations_url":"https://api.github.com/users/cherowley/orgs","repos_url":"https://api.github.com/users/cherowley/repos","events_url":"https://api.github.com/users/cherowley/events{/privacy}","received_events_url":"https://api.github.com/users/cherowley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-03T12:05:07Z","updated_at":"2016-10-03T14:05:36Z","closed_at":null,"body":"Hi!\r\n\r\nAfter askking alexa to discover new devices this morning I found that the HA bridge software had stopped during it. The HA Bridge had been running great since Saturday..\r\n\r\nThe log:\r\n\r\n>>>\r\n2016-10-03 10:58:58,705 [qtp412560-15] INFO  com.bwssystems.HABridge.hue.HueMulator - Traceupnp: hue lights list requested: ab8786fd7adb40f9a5ddf4a93300509f from 192.168.2.150\r\n2016-10-03 10:59:05,097 [main] INFO  com.bwssystems.HABridge.upnp.UpnpListener - Traceupnp: isSSDPDiscovery found message to be an M-SEARCH message.\r\n2016-10-03 10:59:05,097 [main] INFO  com.bwssystems.HABridge.upnp.UpnpListener - Traceupnp: isSSDPDiscovery found message to be valid under strict rules - strict: true\r\n2016-10-03 10:59:05,097 [main] INFO  com.bwssystems.HABridge.upnp.UpnpListener - Traceupnp: SSDP packet from 192.168.2.105:12607, body: M-SEARCH * HTTP/1.1\r\nMX: 5\r\nST: upnp:rootdevice\r\nMAN: \"ssdp:discover\"\r\nUser-Agent: UPnP/1.0 DLNADOC/1.50 Kodi\r\nConnection: close\r\nHost: 239.255.255.250:1900\r\n\r\n\r\n2016-10-03 10:59:05,097 [main] INFO  com.bwssystems.HABridge.upnp.UpnpListener - Traceupnp: sendUpnpResponse discovery template with address: 192.168.2.100 and port: 8080\r\n2016-10-03 10:59:05,097 [main] INFO  com.bwssystems.HABridge.upnp.UpnpListener - Traceupnp: discoveryResponse is <<<HTTP/1.1 200 OK\r\nCACHE-CONTROL: max-age=86400\r\nEXT:\r\nLOCATION: http://192.168.2.100:8080/description.xml\r\nSERVER: FreeRTOS/7.4.2 UPnP/1.0 IpBridge/1.10.0\r\nST: urn:schemas-upnp-org:device:basic:1\r\nUSN: uuid:2f402f80-da50-11e1-9b23-001788102201::urn:schemas-upnp-org:device:basic:1\r\n\r\n>>>\r\n2016-10-03 10:59:05,141 [main] ERROR com.bwssystems.HABridge.upnp.UpnpListener - UpnpListener encountered an error sending upnp response packet. Shutting down\r\njava.io.IOException: Operation not permitted\r\n\tat java.net.PlainDatagramSocketImpl.send(Native Method)\r\n\tat java.net.DatagramSocket.send(DatagramSocket.java:693)\r\n\tat com.bwssystems.HABridge.upnp.UpnpListener.sendUpnpResponse(UpnpListener.java:259)\r\n\tat com.bwssystems.HABridge.upnp.UpnpListener.startListening(UpnpListener.java:170)\r\n\tat com.bwssystems.HABridge.HABridge.main(HABridge.java:86)\r\n2016-10-03 10:59:06,204 [main] INFO  com.bwssystems.HABridge.upnp.UpnpListener - UPNP Discovery Listener - ended, error found\r\n2016-10-03 10:59:06,322 [main] INFO  spark.webserver.JettySparkServer - >>> Spark shutting down ...\r\n2016-10-03 10:59:06.350:INFO:oejs.ServerConnector:main: Stopped ServerConnector@77ffc2{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}\r\n2016-10-03 10:59:06,351 [main] INFO  spark.webserver.JettySparkServer - done\r\n2016-10-03 10:59:06,352 [main] INFO  com.bwssystems.HABridge.HABridge - HA Bridge (v3.1.0d) exiting....\r\n\r\nI was installing/removing some packages on the synology at the time so wondered if that caused the problem - I'll keep an eye on it :)"},"comment":{"url":"https://api.github.com/repos/bwssytems/ha-bridge/issues/comments/251114490","html_url":"https://github.com/bwssytems/ha-bridge/issues/177#issuecomment-251114490","issue_url":"https://api.github.com/repos/bwssytems/ha-bridge/issues/177","id":251114490,"user":{"login":"bwssytems","id":13528314,"avatar_url":"https://avatars.githubusercontent.com/u/13528314?v=3","gravatar_id":"","url":"https://api.github.com/users/bwssytems","html_url":"https://github.com/bwssytems","followers_url":"https://api.github.com/users/bwssytems/followers","following_url":"https://api.github.com/users/bwssytems/following{/other_user}","gists_url":"https://api.github.com/users/bwssytems/gists{/gist_id}","starred_url":"https://api.github.com/users/bwssytems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwssytems/subscriptions","organizations_url":"https://api.github.com/users/bwssytems/orgs","repos_url":"https://api.github.com/users/bwssytems/repos","events_url":"https://api.github.com/users/bwssytems/events{/privacy}","received_events_url":"https://api.github.com/users/bwssytems/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T14:05:36Z","updated_at":"2016-10-03T14:05:36Z","body":"Yes, it looks like the synology recycled the network subsystem and the ha-bridge did not have a valid port any more. That would be an expected error as it needs to be restarted."}}
{"actor":{"display_login":"bwssytems"}}