Page 1 of 2

Peer not authenticated

Posted: Thu Sep 17, 2015 1:19 pm
by nholm

When I call a third party rest service I get a 'peer not authenticated' error. When I run the exact same request from the Chrome rest client it all works fine. Authentication is done through an api key in the header.

Is this something you've come across before?


Peer not authenticated

Posted: Fri Sep 18, 2015 7:13 am
by Serhii Kulibaba

Hello,

Appery.io's services work the same as other REST clients. Where did you get authentication key for it? In the other service?


Peer not authenticated

Posted: Fri Sep 18, 2015 1:03 pm
by nholm

Yes, it is from the other service.

It seems as if my appery app isn't able to connect to the other service - I have access to the logs from the other service and there is no record of any requests from my appery app, so that's why I am suspecting the call isn't getting through due to some other problem.


Peer not authenticated

Posted: Wed Sep 23, 2015 8:57 pm
by Serhii Kulibaba

Could you clarify what have you tried and what exactly does not work?


Peer not authenticated

Posted: Sat Oct 03, 2015 8:00 am
by Apacher

Hello Sergly - i got the same error too when i tried creating a New Service - and provided the rest URL, request data. When i tried to test the response came as "Peer not authenticated". - Expected string, number but got undefined.

But it works fine with chrome rest client.


Peer not authenticated

Posted: Tue Oct 06, 2015 8:11 pm
by Serhii Kulibaba

How do you send these data? Could you provide some screenshots?


Peer not authenticated

Posted: Wed Oct 07, 2015 4:51 am
by Apacher

sure. PFA - included chrome (working) and Appery Service Not workingImage Image Image


Peer not authenticated

Posted: Wed Oct 07, 2015 9:50 am
by Illya Stepanov

Could you please show us second screenshot browser console output from network tab?


Peer not authenticated

Posted: Sat Oct 10, 2015 10:24 am
by Apacher

Hi IIIya - when i looked in to the networks tab, the request method was sent as POST instead of PUT. I think the Appery test connection is always default the request method to POST, i tried changing the drop down values to PUT, GET and clicked on Test, it still shows up as POST. PFA Image


Peer not authenticated

Posted: Sat Oct 10, 2015 3:50 pm
by Serhii Kulibaba

Hello,

Could you show us screenshot of service's response?