{"action":"created","issue":{"url":"https://api.github.com/repos/warmcat/libwebsockets/issues/690","repository_url":"https://api.github.com/repos/warmcat/libwebsockets","labels_url":"https://api.github.com/repos/warmcat/libwebsockets/issues/690/labels{/name}","comments_url":"https://api.github.com/repos/warmcat/libwebsockets/issues/690/comments","events_url":"https://api.github.com/repos/warmcat/libwebsockets/issues/690/events","html_url":"https://github.com/warmcat/libwebsockets/issues/690","id":191529433,"number":690,"title":"Client connection timeout not triggering callback","user":{"login":"Triuman","id":2660216,"avatar_url":"https://avatars.githubusercontent.com/u/2660216?v=3","gravatar_id":"","url":"https://api.github.com/users/Triuman","html_url":"https://github.com/Triuman","followers_url":"https://api.github.com/users/Triuman/followers","following_url":"https://api.github.com/users/Triuman/following{/other_user}","gists_url":"https://api.github.com/users/Triuman/gists{/gist_id}","starred_url":"https://api.github.com/users/Triuman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Triuman/subscriptions","organizations_url":"https://api.github.com/users/Triuman/orgs","repos_url":"https://api.github.com/users/Triuman/repos","events_url":"https://api.github.com/users/Triuman/events{/privacy}","received_events_url":"https://api.github.com/users/Triuman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-24T14:11:59Z","updated_at":"2016-11-24T17:15:25Z","closed_at":null,"body":"Hi, in client I'm calling `lws_client_connect_via_info` function. If server is running, it connects almost immediately. But if server is down, it doesn't do anything. In ~5 seconds, I run the server and client connects it. But if I run the server 5 seconds after I call the function above, the client doesn't connect and calls no callback.\r\n\r\nWhat could be the problem?\r\n\r\nThank you.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/warmcat/libwebsockets/issues/comments/262820349","html_url":"https://github.com/warmcat/libwebsockets/issues/690#issuecomment-262820349","issue_url":"https://api.github.com/repos/warmcat/libwebsockets/issues/690","id":262820349,"user":{"login":"lws-team","id":15154525,"avatar_url":"https://avatars.githubusercontent.com/u/15154525?v=3","gravatar_id":"","url":"https://api.github.com/users/lws-team","html_url":"https://github.com/lws-team","followers_url":"https://api.github.com/users/lws-team/followers","following_url":"https://api.github.com/users/lws-team/following{/other_user}","gists_url":"https://api.github.com/users/lws-team/gists{/gist_id}","starred_url":"https://api.github.com/users/lws-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lws-team/subscriptions","organizations_url":"https://api.github.com/users/lws-team/orgs","repos_url":"https://api.github.com/users/lws-team/repos","events_url":"https://api.github.com/users/lws-team/events{/privacy}","received_events_url":"https://api.github.com/users/lws-team/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T17:15:25Z","updated_at":"2016-11-24T17:15:25Z","body":"I would guess the client connect attempt timed out; it's subject to the general lws timeout.  But does it really call 'no callback'?\r\n\r\n1) turn up logging\r\n\r\n2) look at the v2.1 test client, at how it handles retry + ratelimit\r\n\r\n3) Use latest lws (v2.1 or master)\r\n\r\n"}}
{"actor":{"display_login":"lws-team"}}