Problem logging in from IDEA plugin
From time to time, I get the follwoing error when trying to log in to the TC server from the IDEA plugin:
Cannot login to TeamServer: jetbrains.buildServer.xmlrpc.RemoteCallException: Call http://demucsapp01:81/RPC2 RemoteAuthenticationServer.getServerVersion: java.io.IOException: Server returned HTTP response code: 502 for URL: http://demucsapp01:81/RPC2
A few hours later it may work, I couldn't figure out a pattern when it works and when not. :(
Please sign in to leave a comment.
Response code 502 means that an error occured on the server side. Next time
when you see this error take a look at teamcity-server.log, there could be
more details about this error.
--
Pavel Sher
"Tobias Kurzke" <no_reply@jetbrains.com> wrote in message
news:1190053.1176793762706.JavaMail.itn@is.intellij.net...
>
>
Unfortunately, I couldn't find anything unusual in the server log.
One possible reason of such an error is web server overload. If possible
please submit here your Tomcat connector settings from the server.xml file.
--
Pavel Sher
"Tobias Kurzke" <no_reply@jetbrains.com> wrote in message
news:7386342.1176795686905.JavaMail.itn@is.intellij.net...
I installed TC using the bundled Tomcat and didn't change anything in the server.xml.
The default setting are used.
Is there anything worth configuring when there are about 15 people accessing the TC server?
Do you access TeamCity server through sort of proxy?
--
Pavel Sher
"Tobias Kurzke" <no_reply@jetbrains.com> wrote in message
news:22219497.1176803769629.JavaMail.itn@is.intellij.net...
>I installed TC using the bundled Tomcat and didn't change anything in the
>server.xml.
Well, it depends...
I entered a proxy in IDEA (to be able to access e.g. the plugin repository) because all internet access here goes thru a proxy.
I can't define exceptions in IDEA so I assume the access to TC goes thru that configured proxy as well.
Technically speaking, there would be no reason to access the TC server thru a proxy here.
Actually IntelliJ IDEA plugin does not use these settings at the moment (I
created issue for this: http://www.jetbrains.net/jira/browse/TW-2417). But
there might be such a configuration when all requests to the TeamCity server
are actually passed through a proxy (so called transparent proxy). Plugin
could think that it works with TeamCity server without proxying but actually
its requests are routed to the proxy which transparently passes them to the
TeamCity server. Or there could be Apache web server configured as a proxy
server and placed before Tomcat. Is this possible in your case?
--
Pavel Sher
"Tobias Kurzke" <no_reply@jetbrains.com> wrote in message
news:10707240.1176811725970.JavaMail.itn@is.intellij.net...
>
I don't think so:
We didn't configure anything in the Tomcat that was installed together with TC, so where could this scenario come from?
I am asking about proxy because it looks like this is the only case when
response code 502 can be returned. I just checked the Tomcat sources and I
see there that this response code is returned from places that somehow
relate to proxy support in Tomcat (more details about proxy support and
configuration in Tomcat can be found here:
http://tomcat.apache.org/tomcat-5.5-doc/proxy-howto.html). At the moment I
do not see other reasons why you could receive such response code.
--
Pavel Sher
"Tobias Kurzke" <no_reply@jetbrains.com> wrote in message
news:17776746.1176904115860.JavaMail.itn@is.intellij.net...
>I don't think so: