Teamcenter - Failed to get an HTTP response

0
Hello Community,   I am trying to connect to Teamcenter Activeworkspace using Teamcenter Connector Sample Application through http.  I am facing an error “Failed to send the service operation Core-2011-06-Session/login. RuntimeException: Failed to get an HTTP response. Please ensure the Teamcenter server is running on the address https://my-public-ip/tc.” I have configured the Teamcenter Host address and FMS URL correclty. I ensured that the host is reachable.   How to solve this issue?   Best regards
asked
2 answers
0

Hi Birapally,

 

When you use a public IP address (like 194.26.2.12), there is no need for DNS resolution, but you are not flexible in changing the address afterwards. If you use a URI (URL) to the fully qualified domain name, you need to ensure that the name is resolved in all the environments you are running the App (Mendix Free Cloud, MEndix Cloud, AWS,….On-prem, Local computer)

 

When running locally, check in the Windows Command prompt:

tracert hostname like in the picture below:

It will prove that the URI (here www.google.com) can be resolved and that the networks can reach it. 

Second, you need to test if the ports are open. For this you can use the browser/telnet/netcat (NC).

You mention that the host is reachable. This is true if you get a response if you use the URI in the browser:

https://194.26.2.12/tc or https://login.teamcenter.nl/tc 

 

When you publish the app in the cloud, all these conditions should be fulfilled. In the free Mendix Cloud, you should first test the hard-coded IP. If that works, but the URI does not, you should have a look at the DNS settings. If both fail, your Firewall in between the free Mendix Cloud and your Teamcenter Activeworkspace is blocking the incoming IP (range) or it needs some form of additional authentication (check with the Firewall team).

 

Go make it

answered
0

Hi , 

 

Even Im facing same issue. Were you able to fix it? Any update is appreciated

answered