cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Axeda Gateway on Linux.

ns-2
1-Newbie

Axeda Gateway on Linux.

I am able to get to the point where I have downloaded files from the Builder to the remote gateway. Then, I started the gateway and all messages show that the connection seems to be fine. However, after a while, there is a timeout error message. The gateway is also not visible on the sandbox. I have attached screenshots of this behavior.

 

The gateway is running on a Linux 32-bit machine. And, I can see the same behavior on my Ubuntu-14.04, 64-bit VM.

 

Have you been able to get the gateway running on Linux successfully?

 

gtwy-1.PNG

gtwy-2.PNG

6 REPLIES 6
ckaminski
13-Aquamarine
(To:ns-2)

Hello, Nagesh:

   Yes, we run Gateway agents on Linux often.  Can you verify that you can reach the endpoint?  You should be able to run curl https://training.axeda.com/eMessage.  This will provide a short output response that looks like this:

<SoapResponseBundle>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP-ENV:Body>

<EEnterpriseProxy.Response msgid="0" v="6.8.1.2">

<Status>0</Status>

</EEnterpriseProxy.Response>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

</SoapResponseBundle>

If you cannot do that (curl) - then you have a connectivity problem connecting to the network.  Can you verify this? 

Regards,

-Chris Kaminski

PTC Customer Support

ns-2
1-Newbie
(To:ckaminski)

Hello Chris,

Yes, it was a connectivity issue. Am able to connect now. Thanks !

ns-2
1-Newbie
(To:ns-2)

Subsequently, I noticed that the problem was with proxy settings. And, it seems, proxy can be set only via Axeda® Deployment Utility. Sounds like an extra hop ...

ckaminski
13-Aquamarine
(To:ns-2)

That is correct - you can configure proxy settings with the Deployment Utility. 

You can also configure proxy settings with the DeployConfig tool shipped with the Gateway/Connector Agent.

Hi Chris - if I may piggyback on this post, I'm trying to test the web service on a Linux system.  I already have a fully functional solution in for the Windows agent.  I'm trying to get some info, maybe a demo app for C++ so I can accomplish the same in Linux (call createAlarm, setDataItem, getVersion, etc).

I have xgWeb and xGate.xml configured properly.  And I can see the listener using a netstat command.  My question is: how can I test with curl to see if it works to begin with?

Is there some sample code available?

I do have an open case with PTC on this topic.

Thanks, Mike

ckaminski
13-Aquamarine
(To:mgrudinschi)

Hello, Mike:

  

   We do have some samples for creating domain objects via the Platform SOAP APIs.

   If you have the Agent Web Service configured (xgWebService), you can also interact with the Agent to create domain objects.  The two capabilities are different.   I'll work with whoever is assisting you in the support case, and then we can update this thread with the findings. 

Regards,

-Chris Kaminski

PTC/Axeda Customer Support

Top Tags