cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1445
Views
0
Helpful
1
Replies

Getting Started with Prime API - curl: (35) TCP connection reset by peer

ROBERTMOGAN
Level 1
Level 1

Hi

I'm following the Step-by-Step Tutorial in Prime and can't get passed step 3. The first query.

It says to use:

curl -k "https://user:password@my_server/webacs/api/v1/data/Devices"

However I keep getting: 

curl: (35) TCP connection reset by peer

I can get it to work in Postman ok although the Authorization type there is : Inherit auth from payment

Username is all numeric.  My password has upper, lower, numeric and only one special character ~

Running on Centos7 and updated curl

I would appreciate any help, thanks

1 Reply 1

ROBERTMOGAN
Level 1
Level 1

For the benefit of anyone that reads this. 

I added -v option and seen that my request was going to a proxy server (I'm on a corporate server).

Used  --noproxy '*' option and it works ok now.