Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
I am using the hosted trial and trying to get a property of a thing on a hosted server using the following command.
http -v -j https://pp-1808241817mn.devportal.ptc.io:443/Thingworx/Things/Motor/Properties/Motor_temp appKey== xxxxxx
I get the following error
ttp: error: ConnectionError:
HTTPSConnectionPool(host='pp-1808241817mn.devportal.ptc.io', port=443):
Max retries exceeded with url: /Thingworx/Things/Motor/Properties/Motor_temp?appKey=xxx
(Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9958ed18d0>:
Failed to establish a new connection: [Errno -2] Name or service not known',))
while doing GET request to URL: https://pp-1808241817mn.devportal.ptc.io/Thingworx/Things/Motor/Properties/Motor_temp?appKey=xxx
What am I missing?
That URL looks like it has the correct format. Can you browse to the server? Free trial servers are shut down after a period of inactivity.
Can you access your ThingWorx server in a browser? I tried the URL in your questions and I do not get a DNS resolution for pp-1808241817mn.devportal.ptc.io