Quantcast
Channel: LivePerson Connect : Popular Discussions - All Communities
Viewing all articles
Browse latest Browse all 2324

LPChatEngine returns a 401 Unathoirized

$
0
0

Dear sirs,


After more than one year our chat (LPID: 69528917) has stopped to work correctly without any change on the code and on the web server.

 

It works well the version deployed on our internal LAN, but it does not work on our webfarm. It seems like the IP adress of our webfarm is banned..


In order to clarify better our issue I logged the error (highlighted in yellow).

 

log - LPChatEngine.Chat.getResourceXML(baseResource = https://server.iad.liveperson.net/api/account/69528917?v=1)

 

HttpWebRequest wr = null;

HttpWebResponse response = null;

Uri url = new Uri(baseResource);

wr = buildHttpWebRequest(url, "GET");

 

log - LPChatEngine.Chat.buildHttpWebRequest(url = https://server.iad.liveperson.net/api/account/69528917?v=1, httpMethod = GET)

log - LPChatEngine.Chat.createAuthorizationHeader(uri = https://server.iad.liveperson.net/api/account/69528917?v=1, httpMethod = GET, appkey = °°°° appSecret = °°°°° , accessTokenSecret = ****, oAuthVersion = 1.0, oAuthNonce = 2)

log - authorizationHeader = OAuth oauth_signature="*****",oauth_version="1.0",oauth_nonce="2",oauth_consumer_key="****",oauth_signature_method="HMAC-SHA1",oauth_token="*****",oauth_timestamp="*****"

 

  1. wr.AllowAutoRedirect = false;

response = (HttpWebResponse)wr.GetResponse();

 

log - WebException = The remote server returned an error: (401) Unauthorized. at System.Net.HttpWebRequest.GetResponse() at LPChatEngine.Chat.getResourceXML(String baseResource)


Thank you for your reply

Kind regards

Paolo Prosperi

 


Viewing all articles
Browse latest Browse all 2324

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>