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

HTTP/HTTPS request to Thingworx Composer

Highlighted
Regular Member

HTTP/HTTPS request to Thingworx Composer

Набросок.pngHello! I have a problem with the HTTP request to the ThingWorx service. When I execute the HTTP request, I get the response (screenshot). Bad Request This combination of host and port requires TLS. But when I execute the HTTPS request, theservice starts and everything works fine. Help please! Sorry for my bad English.

6 REPLIES 6

Re: HTTP/HTTPS request to Thingworx Composer

This is happening because you are making a HTTP request with port 8443 .And i think your 8443 port is serving a HTTPS request .That is why it is stating that it requires TLS .Can you try HTTP request with a valid non TLS port defined in your server.xml ? Generally it's 8080 but you might have configured it to some other value also .

Re: HTTP/HTTPS request to Thingworx Composer

How can I configure a different port value for an HTTP request?

Re: HTTP/HTTPS request to Thingworx Composer

Can you locate this kind of statement in your server.xml ?

 

Define a non-SSL/TLS HTTP/1.1 Connector on port 80
-->
<Connector port="80" protocol="org.apache.coyote.http11.Http11NioProtocol"
connectionTimeout="20000"
redirectPort="8443" />

 

Here the Connector port is for HTTP request ,like in the above case it is 80 .And any HTTP request will be handled from port 80.

 

Thanks ,

Mukul Narang 

Re: HTTP/HTTPS request to Thingworx Composer

I'm using the trial version of Thingworx Studio. How can I change this setting in the cloud version of Thingworx Composer? Thanks for the answer!

Sincerely, Vanin Pavel

 

 

Re: HTTP/HTTPS request to Thingworx Composer

Hi,

I have the same problem, i try to access a service with http protocol on port 80. But i get an a 401 unauthorised error (i don't have any authentication)

 

Thanks

Re: HTTP/HTTPS request to Thingworx Composer

On Trial version of Thingworx studio ,the cloud Thingworx composer will only work on HTTPS .It is maintained by R&D and will only work on HTTPS and port 8443 .And i think it's good to have a secure https connection instead of a http .

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________