Connection issue with OnSite POS Server via API

sujeetsujeet Member Posts: 1

ISSUE:


I was trying to connect to a OnSite POS server using RestFull connector but in return i get below error.

------------------------------------------------------------------------------------------------------------------------------

"Unexpected HTTP Status: 401 Unauthorized auth.invalid_user_agent WWW-Authenticate: Basic realm="lightspeed" string(610) "HTTP/1.1 401 Unauthorized auth.invalid_user_agent WWW-Authenticate: Basic realm="lightspeed" content-type: text/xml; charset=utf-8 content-encoding: gzip Content-Length: 202 Date: Tue, 24 Sep 2019 06:34:41 GMT Server: LightSpeedServer/20183.0.3 client_version/3003 rest_protocol/1.0.0 Unsupported client version. Please upgrade you client install. "

--------------------------------------------------------------------------------------------------------------------------

TESTING:

1. i tried with the demo server installation in my local. It works like charm.

2. i am also able to connect with Lightspeed's native application to my server.

PROCESS FOLLOWED:

The process i followed is tutorial from below URL:

https://onsite-docs.lightspeedhq.com/external_api/index.html

CREDENTIALS:

Connector credentials:

$user_agent = 'com.diveshop.diveshop/20183.0.3';

$privateID = 'X-PAPPID: 912d608b-b92e-4965-ae81-bed7c07cf308';

$username = 'webshoptest';

$password = '***********';

$host = '111.125.67.139';

$port = '9633';

SUPPORT REQUIRED:

How can i connect with my server?

Anything that i am missing or have to go through?

This discussion has been closed.