{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/milo/issues/8","repository_url":"https://api.github.com/repos/eclipse/milo","labels_url":"https://api.github.com/repos/eclipse/milo/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/milo/issues/8/comments","events_url":"https://api.github.com/repos/eclipse/milo/issues/8/events","html_url":"https://github.com/eclipse/milo/issues/8","id":164246820,"number":8,"title":"Server startup can hang due to DNS","user":{"login":"ctron","id":202474,"avatar_url":"https://avatars.githubusercontent.com/u/202474?v=3","gravatar_id":"","url":"https://api.github.com/users/ctron","html_url":"https://github.com/ctron","followers_url":"https://api.github.com/users/ctron/followers","following_url":"https://api.github.com/users/ctron/following{/other_user}","gists_url":"https://api.github.com/users/ctron/gists{/gist_id}","starred_url":"https://api.github.com/users/ctron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctron/subscriptions","organizations_url":"https://api.github.com/users/ctron/orgs","repos_url":"https://api.github.com/users/ctron/repos","events_url":"https://api.github.com/users/ctron/events{/privacy}","received_events_url":"https://api.github.com/users/ctron/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-07T07:32:13Z","updated_at":"2016-07-07T13:52:49Z","closed_at":null,"body":"In the constructor of `OpcUaServer` the hostnames are evaluated by:\r\n\r\n```java\r\n for (String bindAddress : config.getBindAddresses()) {\r\n            Set<String> hostnames = Sets.union(\r\n                newHashSet(configuredHostname),\r\n                getHostnames(bindAddress));\r\n\r\n            for (String hostname : hostnames) {\r\n…\r\n            }\r\n}\r\n```\r\n\r\nHowever the call to ` getHostnames(bindAddress));` can block for quite a while if the DNS resolution is slow."},"comment":{"url":"https://api.github.com/repos/eclipse/milo/issues/comments/231083817","html_url":"https://github.com/eclipse/milo/issues/8#issuecomment-231083817","issue_url":"https://api.github.com/repos/eclipse/milo/issues/8","id":231083817,"user":{"login":"kevinherron","id":340273,"avatar_url":"https://avatars.githubusercontent.com/u/340273?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinherron","html_url":"https://github.com/kevinherron","followers_url":"https://api.github.com/users/kevinherron/followers","following_url":"https://api.github.com/users/kevinherron/following{/other_user}","gists_url":"https://api.github.com/users/kevinherron/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinherron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinherron/subscriptions","organizations_url":"https://api.github.com/users/kevinherron/orgs","repos_url":"https://api.github.com/users/kevinherron/repos","events_url":"https://api.github.com/users/kevinherron/events{/privacy}","received_events_url":"https://api.github.com/users/kevinherron/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T13:52:49Z","updated_at":"2016-07-07T13:52:49Z","body":"I think maybe this could be done in `OpcUaServer#startup()` instead.\r\n\r\nThis would make sense with a further change I am considering: both OpcUaServer and UaTcpStackServer startup and shutdown methods should return CompletableFuture instead of void."}}
{"actor":{"display_login":"kevinherron"}}