{"action":"opened","issue":{"url":"https://api.github.com/repos/malle-pietje/Unifi-API-browser/issues/4","repository_url":"https://api.github.com/repos/malle-pietje/Unifi-API-browser","labels_url":"https://api.github.com/repos/malle-pietje/Unifi-API-browser/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/malle-pietje/Unifi-API-browser/issues/4/comments","events_url":"https://api.github.com/repos/malle-pietje/Unifi-API-browser/issues/4/events","html_url":"https://github.com/malle-pietje/Unifi-API-browser/issues/4","id":131956496,"number":4,"title":"curl error: Failed to connect to <hostname> port 8443: Connection timed out","user":{"login":"malle-pietje","id":12016131,"avatar_url":"https://avatars.githubusercontent.com/u/12016131?v=3","gravatar_id":"","url":"https://api.github.com/users/malle-pietje","html_url":"https://github.com/malle-pietje","followers_url":"https://api.github.com/users/malle-pietje/followers","following_url":"https://api.github.com/users/malle-pietje/following{/other_user}","gists_url":"https://api.github.com/users/malle-pietje/gists{/gist_id}","starred_url":"https://api.github.com/users/malle-pietje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malle-pietje/subscriptions","organizations_url":"https://api.github.com/users/malle-pietje/orgs","repos_url":"https://api.github.com/users/malle-pietje/repos","events_url":"https://api.github.com/users/malle-pietje/events{/privacy}","received_events_url":"https://api.github.com/users/malle-pietje/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-07T10:29:03Z","updated_at":"2016-02-07T10:29:03Z","closed_at":null,"body":"Whenever you observe an error like this in your web server's error log, it is often an indication of a connectivity issue between the server running the API Browser tool and your controller.\r\n```\r\ncurl error: Failed to connect to <hostname> port 8443: Connection timed out\r\nPHP Warning: Invalid argument supplied for foreach() in path/to/api_browser_tool/index.php on line 415\r\n```\r\nNext steps:\r\n- check the host name in your config file\r\n- check whether outgoing connections to port 8443 are allowed on the server running the API Browser tool\r\n- check whether inbound connections to port 8443 from the API Browser tool's server are allowed on the controller server\r\n\r\nHow to actually check this depends on the firewall that is controlling the connections in/out."}}