TeamCity Integration on same machine
Hi,
My current setup is as follows:
I have managed to correctly setup TeamCity->YouTrack integration. However, I am struggling to get the YouTrack->Teamcity integration setup.
I have followed the steps as described here(http://confluence.jetbrains.com/display/YTD4/Configuring+TeamCity+Integration). I have entered the correct url and user credentials for the TeamCity instance however consistently receive a "Can't connect to TeamCity: java.net.SocketTimeoutException: Read Time out".
I have also modified the "Read Timeout" option to 100 secs and still get the same result.
I played around with the url and changed the TeamCity server url to "http://localhost:8080/TeamCity". This actually resulted in a "Connection Successful" message. This is not ideal since all TC urls will have a localhost reference.
The only experience I have with Apache is based on the YouTrack & TeamCity installation guides.
I am really hoping to get this integration working soon. Can someone please assist?
Regards,
AM
My current setup is as follows:
- Windows Server 2008
- Apache Tomcat 7
- YouTrack (http://servername:8080/youtrack)
- TeamCity (http://servername:8080/TeamCity)
I have managed to correctly setup TeamCity->YouTrack integration. However, I am struggling to get the YouTrack->Teamcity integration setup.
I have followed the steps as described here(http://confluence.jetbrains.com/display/YTD4/Configuring+TeamCity+Integration). I have entered the correct url and user credentials for the TeamCity instance however consistently receive a "Can't connect to TeamCity: java.net.SocketTimeoutException: Read Time out".
I have also modified the "Read Timeout" option to 100 secs and still get the same result.
I played around with the url and changed the TeamCity server url to "http://localhost:8080/TeamCity". This actually resulted in a "Connection Successful" message. This is not ideal since all TC urls will have a localhost reference.
The only experience I have with Apache is based on the YouTrack & TeamCity installation guides.
I am really hoping to get this integration working soon. Can someone please assist?
Regards,
AM
Please sign in to leave a comment.
Since everything works fine when you set http://localhost:8080/TeamCity as a TC url, I assume something is wrong with network environment. Are you able to open http://servername:8080/TeamCity from that very server?
Regards,
Alexander
Yes, I am able to access both http://localhost:8080/TeamCity and http://servername:8080/TeamCity from the host server. Is there any way I can check trace from a YouTrack perspective what's going, eg logs etc.
Regards,
AM
Unfortunately, the logs won't help since the error happens on JRE or OS layer. Moreover, I suspect it's not even an error. Could you please disable your Windows firewall for a while and check if it helps? It could be blocking outbound connections from unauthorized apps or something.
Alexander
The windows firewall is disabled. Any chance this could be an Apache issue? I have also tried this by ip address and still gives the same issue. I find it strange that the TC->YT works as expected using the above urls, but the YT->TC integration has issues.
Ahmad
I seemed to have resolved this issue. Tomcat was configured to use our company's proxy which was setup in Tomcat startup.
Integration is working as expected now once I removed this.
Glad to hear that. Although it's not quite clear to me why TC->YT integration works.