JIRA plugin gives 502 error for valid JIRA URL

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

JIRA plugin gives 502 error for valid JIRA URL

Henk van Voorthuijsen-2

When trying to set up a JIRA connection, I get the following error:

  “Server returned HTTP response code: 502 for URL: http://jira/

I suspect there is something wrong with Hudson’s proxy settings, but have been unable to get this to work.

 

Any ideas what could cause this?

 

Henk van Voorthuijsen

Reply | Threaded
Open this post in threaded view
|

Re: JIRA plugin gives 502 error for valid JIRA URL

Kohsuke Kawaguchi
Administrator
I think you should file an issue with the whole stack trace and any
other information that might help us fix the problem.

2010/2/10 Henk van Voorthuijsen <[hidden email]>:

> When trying to set up a JIRA connection, I get the following error:
>
>   “Server returned HTTP response code: 502 for URL: http://jira/”
>
> I suspect there is something wrong with Hudson’s proxy settings, but have
> been unable to get this to work.
>
>
>
> Any ideas what could cause this?
>
>
>
> Henk van Voorthuijsen



--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: Re: JIRA plugin gives 502 error for valid JIRA URL

Henk van Voorthuijsen-2
I can try - where would I find the stacktrace?

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Kohsuke Kawaguchi
Sent: Tuesday, February 16, 2010 6:21 PM
To: [hidden email]
Subject: Re: JIRA plugin gives 502 error for valid JIRA URL

I think you should file an issue with the whole stack trace and any
other information that might help us fix the problem.

2010/2/10 Henk van Voorthuijsen <[hidden email]>:

> When trying to set up a JIRA connection, I get the following error:
>
>   "Server returned HTTP response code: 502 for URL: http://jira/"
>
> I suspect there is something wrong with Hudson's proxy settings, but have
> been unable to get this to work.
>
>
>
> Any ideas what could cause this?
>
>
>
> Henk van Voorthuijsen



--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: Re: JIRA plugin gives 502 error for valid JIRA URL

Henk van Voorthuijsen-2
In reply to this post by Kohsuke Kawaguchi
Issue created as http://issues.hudson-ci.org/browse/HUDSON-5663

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Kohsuke Kawaguchi
Sent: Tuesday, February 16, 2010 6:21 PM
To: [hidden email]
Subject: Re: JIRA plugin gives 502 error for valid JIRA URL

I think you should file an issue with the whole stack trace and any
other information that might help us fix the problem.

2010/2/10 Henk van Voorthuijsen <[hidden email]>:

> When trying to set up a JIRA connection, I get the following error:
>
>   "Server returned HTTP response code: 502 for URL: http://jira/"
>
> I suspect there is something wrong with Hudson's proxy settings, but have
> been unable to get this to work.
>
>
>
> Any ideas what could cause this?
>
>
>
> Henk van Voorthuijsen



--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: Re: JIRA plugin gives 502 error for valid JIRA URL

Andrew Chandler
In reply to this post by Henk van Voorthuijsen-2

One thing to checkout that can actually interfere is if the link you give actually is a redirector.   For instance if jira is really at
http://jiramachine.somecompany.com:8080/jira/

but if you hit :
http://jiramachine/


The web service may not work properly.  You should I believe put in the actual port number and servlet location of jira for it to work properly.   Anyhow to prove you have a workable URL is easy enough, just open your browser to:


http://jira/rpc/soap/jirasoapservice-v2?wsdl


If you don't get an xml document back in your browser then it is not a plugin problem but rather a JIRA configuration issue - such as wrong url (see my suggestion above) or perhaps you don't have the soap api enabled in jira (it is an extra configuration for jira )



On Wed, 2010-02-17 at 09:38 +0100, Henk van Voorthuijsen wrote:
I can try - where would I find the stacktrace?

-----Original Message-----
From: [hidden email] [[hidden email]] On Behalf Of Kohsuke Kawaguchi
Sent: Tuesday, February 16, 2010 6:21 PM
To: [hidden email]
Subject: Re: JIRA plugin gives 502 error for valid JIRA URL

I think you should file an issue with the whole stack trace and any
other information that might help us fix the problem.

2010/2/10 Henk van Voorthuijsen <[hidden email]>:
> When trying to set up a JIRA connection, I get the following error:
>
>   "Server returned HTTP response code: 502 for URL: http://jira/"
>
> I suspect there is something wrong with Hudson's proxy settings, but have
> been unable to get this to work.
>
>
>
> Any ideas what could cause this?
>
>
>
> Henk van Voorthuijsen




Reply | Threaded
Open this post in threaded view
|

RE: JIRA plugin gives 502 error for valid JIRA URL

Henk van Voorthuijsen-2

The redirector seems to work OK.

The link you suggested, gives me the XML I expected.

 

This got me to think about the proxy settings – it turns out that if I remove the proxy settings from the Plugin Managers ‘Advanced” tab, I no longer get the error.

My assumption is that the Plugin Manager sets the proxy settings globally – but there is currently no way to bypass internal URL’s !

Perhaps proxy settings should be moved to “Manage Hudson/Configure System” ?

 

Henk


From: Andrew Chandler [mailto:[hidden email]]
Sent: Wednesday, February 17, 2010 3:31 PM
To: [hidden email]
Subject: RE: Re: JIRA plugin gives 502 error for valid JIRA URL

 


One thing to checkout that can actually interfere is if the link you give actually is a redirector.   For instance if jira is really at
http://jiramachine.somecompany.com:8080/jira/

but if you hit :
http://jiramachine/


The web service may not work properly.  You should I believe put in the actual port number and servlet location of jira for it to work properly.   Anyhow to prove you have a workable URL is easy enough, just open your browser to:


http://jira/rpc/soap/jirasoapservice-v2?wsdl


If you don't get an xml document back in your browser then it is not a plugin problem but rather a JIRA configuration issue - such as wrong url (see my suggestion above) or perhaps you don't have the soap api enabled in jira (it is an extra configuration for jira )



On Wed, 2010-02-17 at 09:38 +0100, Henk van Voorthuijsen wrote:

 
I can try - where would I find the stacktrace?
 
-----Original Message-----
From: [hidden email] [[hidden email]] On Behalf Of Kohsuke Kawaguchi
Sent: Tuesday, February 16, 2010 6:21 PM
To: [hidden email]
Subject: Re: JIRA plugin gives 502 error for valid JIRA URL
 
I think you should file an issue with the whole stack trace and any
other information that might help us fix the problem.
 
2010/2/10 Henk van Voorthuijsen <[hidden email]>:
> When trying to set up a JIRA connection, I get the following error:
> 
>   "Server returned HTTP response code: 502 for URL: http://jira/"
> 
> I suspect there is something wrong with Hudson's proxy settings, but have
> been unable to get this to work.
> 
> 
> 
> Any ideas what could cause this?
> 
> 
> 
> Henk van Voorthuijsen