Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curl error: Failed to connect to <hostname> port 8443: Connection timed out #4

Closed
malle-pietje opened this issue Feb 7, 2016 · 0 comments
Labels

Comments

@malle-pietje
Copy link
Collaborator

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.

curl error: Failed to connect to <hostname> port 8443: Connection timed out
PHP Warning: Invalid argument supplied for foreach() in path/to/api_browser_tool/index.php on line 415

Next steps:

  • check the host name in your config file
  • check whether outgoing connections to port 8443 are allowed on the server running the API Browser tool
  • check whether inbound connections to port 8443 from the API Browser tool's server are allowed on the controller server

How to actually check this depends on the firewall that is controlling the connections in/out but running this command from the API Browser tool server's command line, will probably provide some useful errors:

wget https://<hostname or ip>:8443

This error typically occurs in shared hosting environments where commercial web hosting providers often apply strict firewall rules by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant