Code: Select all
Unable to contact server at https://<IP>:5693/testconnect/?token=<token>.Code: Select all
Unable to contact server at https://<IP>:5693/testconnect/?token=<token>.Code: Select all
curl -k "https://<ip address>:5693/testconnect/?token=<token>" -vCode: Select all
curl -k 'https://<IP>:5693/testconnect/?token=<TOKEN>' -vCode: Select all
nmap <ip address> -p 5693I tried "!" at the end of my token, and the testconnect worked fine from the CLI. Also, the wizard worked. FYIThe token does have a ! at the end. Would that cause issues?
Code: Select all
# curl -k "https://nagiosxi:5693/testconnect/?token=t0ken!"
-bash: !": event not found
# curl -k "https://nagiosxi:5693/testconnect/?token=t0ken\!"
{
"error": "Bad token."
Code: Select all
# curl -k "https://nagiosxi:5693/testconnect/?token=t0ken%21"
{
"value": "Success."
}
Code: Select all
# curl -k "https://nagiosxi:5692/testconnect/?token=t0ken%21"
curl: (7) Failed connect to nagiosxi:5692; Connection refused
Code: Select all
# curl -k "https://nagiosxi:5693/testconnect/?token=t00ken"
{
"error": "Bad token."