Support Questions

Find answers, ask questions, and share your expertise

CURL to a https URL in cdsw fails

Expert Contributor

This is from the terminal. 

 

WORKS:

 

cdsw@5vkwip5ng32jcomk:~$ curl -H "Content-Type: application/json" -X POST http://i
rd34au.vsp.sas.com/api/altus-ds-1/models/call-model -d '{"accessKey":"XXXXXXXXXXXX","request":{"petal_length":5.4}}'
{
"success": true,
"response": 1.8823523252176988
}

 

FAILS:

 

cdsw@5vkwip5ng32jcomk:~$ curl -H "Content-Type: application/json" -X POST https://
ird34au.vsp.sas.com/api/altus-ds-1/models/call-model -d '{"accessKey":"XXXXXXXXXXXXXXX","request":{"petal_length":5.4}}'
curl: (7) Failed to connect to ird34au.vsp.sas.com port 443: Connection timed out

 

1 REPLY 1

Expert Contributor

Hello @desind

 

From the Message, it looks the SSL enabled URL is giving connection timeout.

 

Could you try running the curl with -vvv option and see what are the request responses ?

Thanks,
Satz
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.