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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2018 09:27 AM
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
- Labels:
-
Prime Infrastructure

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2018 08:48 AM
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.
