Title: Operation not permitted at java.net.PlainDatagramSocketImpl.send · Issue #39 · hap-java/HAP-Java · GitHub
Open Graph Title: Operation not permitted at java.net.PlainDatagramSocketImpl.send · Issue #39 · hap-java/HAP-Java
X Title: Operation not permitted at java.net.PlainDatagramSocketImpl.send · Issue #39 · hap-java/HAP-Java
Description: Hello, Since I am using HAP installed on RPI into a docker container, I always had all my accessories not responding after some hours or days. So I raised some log level here and there and I spotted (3 or 4 times) this exception at the e...
Open Graph Description: Hello, Since I am using HAP installed on RPI into a docker container, I always had all my accessories not responding after some hours or days. So I raised some log level here and there and I spotte...
X Description: Hello, Since I am using HAP installed on RPI into a docker container, I always had all my accessories not responding after some hours or days. So I raised some log level here and there and I spotte...
Opengraph URL: https://github.com/hap-java/HAP-Java/issues/39
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Operation not permitted at java.net.PlainDatagramSocketImpl.send","articleBody":"Hello, \r\nSince I am using HAP installed on RPI into a docker container, I always had all my accessories not responding after some hours or days.\r\nSo I raised some log level here and there and I spotted (3 or 4 times) this exception at the exact time where all the accessories started to not answer\r\n\r\n`\r\n2017-12-08 00:28:34.725 [WARN ] [javax.jmdns.impl.tasks.Responder ] - Responder(192-168-0-106.local.)run() exception\r\njava.io.IOException: Operation not permitted (sendto failed)\r\nat java.net.PlainDatagramSocketImpl.send(Native Method)[:1.8.0_131]\r\n at java.net.DatagramSocket.send(DatagramSocket.java:693)[:1.8.0_131]\r\n at javax.jmdns.impl.JmDNSImpl.send(JmDNSImpl.java:1612)[16:javax.jmdns:3.5.2]\r\n at javax.jmdns.impl.tasks.Responder.run(Responder.java:154)[16:javax.jmdns:3.5.2]\r\n at java.util.TimerThread.mainLoop(Timer.java:555)[:1.8.0_131]\r\n at java.util.TimerThread.run(Timer.java:505)[:1.8.0_131]\r\n2017-12-08 00:28:40.896 [INFO ] [.hap.impl.http.impl.AccessoryHandler] - Terminated homekit connection from /192.168.0.61:49762 `\r\n \r\nIt looks like there's a bug in jmDNS or a bad usage of it in HAP. \r\nSome sources on the internet are saying it's probably that too much data is sent through the socket, but I hardly believe that HAP sends a ton of data when responding to a ios device. I tend to believe it's probably a concurrency issue.\r\n\r\nWhat do you think ? \r\nRegards\r\nKevin","author":{"url":"https://github.com/vietk","@type":"Person","name":"vietk"},"datePublished":"2017-12-08T12:19:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/39/HAP-Java/issues/39"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9767c953-e2b1-b794-dc8e-de1f1ec7e48d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DE8E:22A0EC:BB80CF:1072019:6972258C |
| html-safe-nonce | 68734fd536c537b89120d58c6c5081937c67f4f26d95a97b0b8d17f5367bbed3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERThFOjIyQTBFQzpCQjgwQ0Y6MTA3MjAxOTo2OTcyMjU4QyIsInZpc2l0b3JfaWQiOiI5MDc0MzMxNTY2NzM2NTQ5MjYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3f02811bfa87c2f44aaaa4741ac72427c31f5501d0ec22fca3ab0bcffc879568 |
| hovercard-subject-tag | issue:280471867 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/hap-java/HAP-Java/39/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2aa2389658e181d53d769a55b60889610a675eac476ba3bc336a4267c71d16dd/hap-java/HAP-Java/issues/39 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2aa2389658e181d53d769a55b60889610a675eac476ba3bc336a4267c71d16dd/hap-java/HAP-Java/issues/39 |
| og:image:alt | Hello, Since I am using HAP installed on RPI into a docker container, I always had all my accessories not responding after some hours or days. So I raised some log level here and there and I spotte... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vietk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19a0eb237b419e41a3d6a0867abebfdb845544063fc287c8c486f2fc019a590f |
| turbo-cache-control | no-preview |
| go-import | github.com/hap-java/HAP-Java git https://github.com/hap-java/HAP-Java.git |
| octolytics-dimension-user_id | 47992845 |
| octolytics-dimension-user_login | hap-java |
| octolytics-dimension-repository_id | 31193475 |
| octolytics-dimension-repository_nwo | hap-java/HAP-Java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31193475 |
| octolytics-dimension-repository_network_root_nwo | hap-java/HAP-Java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 805f05ae5b701e06271d4ccfc0cbb6252b8b2c21 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width