Troubleshooting the bandwidth test
The connection is refused, or the page will not load
For information about general port 1500 reachability, including firewalls and network ACLs, see Verifying network connectivity. Then check the following, which are specific to this test endpoint:
-
Confirm the source address has not changed. An internet egress address can rotate. On the testing machine, compare
curl -sS https://checkip.amazonaws.comagainst the address in your security group. -
Confirm you are using the right kind of address for your case. A rule naming a public address does not admit the same host's private address, and the reverse. An in-VPC client reaching the endpoint's public IP hairpins through the internet gateway and arrives bearing its public source address, so a rule that allows only its private
/32refuses it. -
Confirm the rule is the shape you think it is: a
tcprule from port1500to port1500for only the source addresses you intended, with no rule on any other port and no unexpected IPv6, security-group-reference, or prefix-list entry. Any of those can admit traffic you did not intend, and an allow-all IPv6 rule in particular can render as an empty list that looks harmless. -
Confirm the endpoint process is still running. It does not survive a reboot, and nothing relaunches it. Restart it from Start the endpoint.
-
Confirm the instance has not been isolated. If its security group is no longer the one you created, see Security considerations for the test endpoint.
The client reports that the server is not responding
The client prints the following message and then exits with status 0:
Selected servername(host) is not responding at the moment, try again later
A zero exit code from this client does not mean the test succeeded, so read the output rather than trusting the exit code. The client reports the same "not responding" message for several distinct failures, including a malformed server URL and a rejected certificate. Check these causes:
-
The port in the
serverURL. IfPORTwas empty when you wrote the server list, the URL contains an empty port (https://) and the client cannot connect. Confirmhost:/backend/PORTis set to 1500 in the shell where you run the command-line test, then write the server list again. See Write the server list. -
The
/backend/suffix on theserverURL. Without it, every route returns 404 and the client reports the server as not responding. See Write the server list. -
The security group. Confirm it admits this source server's address on TCP port 1500. On a newly launched endpoint, the endpoint's public DNS name might resolve to its public address rather than the private one, so a rule that allows only the source server's private address refuses the connection. In one observed case, a rerun a minute later passed. Check what
ENDPOINT_HOSTresolves to withgetent hosts "$ENDPOINT_HOST", and retry. -
Certificate verification. A certificate the client rejects, because of a name that is not in the SAN or a trust anchor that does not match, produces the same message and the same exit code 0. Check the certificate SAN against the exact host string in the server list, and confirm you copied the right certificate. See Copy the certificate to the client.
The browser page returns 404
The configs.toml file was not deleted. Return to
Delete the shipped config file. The CLI endpoints keep working in this state, which
makes it easy to misdiagnose.
Verification fails with a name mismatch
The name you connected by is not in the certificate SAN as the right kind of entry, or the instance was stopped and started and its public address changed. Re-run Generate the TLS certificate against the current addresses.