nholm
Posts: 0
Joined: Thu Sep 17, 2015 1:19 pm

Peer not authenticated

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?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Peer not authenticated

Hello,

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

nholm
Posts: 0
Joined: Thu Sep 17, 2015 1:19 pm

Peer not authenticated

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.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Peer not authenticated

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

Apacher
Posts: 0
Joined: Sat Oct 03, 2015 8:00 am

Peer not authenticated

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.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Peer not authenticated

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

Apacher
Posts: 0
Joined: Sat Oct 03, 2015 8:00 am

Peer not authenticated

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Peer not authenticated

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

Apacher
Posts: 0
Joined: Sat Oct 03, 2015 8:00 am

Peer not authenticated

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Peer not authenticated

Hello,

Could you show us screenshot of service's response?

Return to “Issues”