API calls hang (resolved)

James Bailey

New Member
I'm attempting to call the REST API but every request just hangs. Here's a curl command output:
Code:
$ curl -v -X POST 'https://localhost:8444/rest-api/push/find_all' -d '' --insecure -H 'Content-type: application/json'
Note: Unnecessary use of -X or --request, POST is already inferred.
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 8444 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* skipping SSL peer certificate verification
* ALPN/NPN, server did not agree to a protocol
* SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate:
*       subject: CN=WCS4,OU=WCS4,O=WCS4,L=WCS4,ST=WCS4,C=WC...
*       start date: Oct 23 03:12:20 2014 GMT
*       expire date: Oct 18 03:12:20 2015 GMT
*       common name: WCS4
*       issuer: CN=WCS4,OU=WCS4,O=WCS4,L=WCS4,ST=WCS4,C=WC...
> POST /rest-api/push/find_all HTTP/1.1
> Host: localhost:8444
> User-Agent: curl/7.53.1
> Accept: */*
> Content-type: application/json
> Content-Length: 0
>
A `GET` request also hangs on that endpoint. I've also tried various other ports and 8444 is the only one that doesn't kick me to a login page. My eventual goal is to call `/rest-api/push/startup` but that hangs too.

Any help would be appreciated.
 
Top