Bamboo Behind A Proxy Server

Craig Taylor January 4, 2012

I'm setting up Bamboo to run on a Windows 2008 R2 server behind a corporate firewall.

When I try to create a new plan using GitHub everytime I press Load Repositories I get an error message

Failed to load repositories from GitHub.java.lang.RuntimeException: Connection refused: connect
Similar for Plugin Manager page load
java.net.ConnectException: Connection refused: connect
I know that I need to configure the proxy but where?
I've tried adding
wrapper.java.additional.1=-Dhttp.proxySet=true
wrapper.java.additional.2=-Dhttp.proxyHost=proxyname
wrapper.java.additional.3=-Dhttp.proxyPort=5150

to \conf\wrapper.conf but that just stops the site from being served.
Any help would be much appreciated.

5 answers

1 accepted

2 votes
Answer accepted
Craig Taylor January 20, 2012
removed wrapper.java.additional.1=-Dhttp.proxySet=true
wrapper.java.additional.2 and wrapper.java.additional.3 already existed
Modified
wrapper.java.additional.5=-Dhttp.proxyHost=proxyname
wrapper.java.additional.6=-Dhttp.proxyPort=5150
0 votes
HN January 4, 2016

Same here. Could not find a file called wrapper.conf?

0 votes
shyam sundar July 6, 2015

Am unable to find the wrapper.conf file in that specified path. Please help me to solve this proxy configuration.

0 votes
christ March 14, 2013

What's the answer to this? Are some of the wrapper.java.additional params reserved? I'm running a trial version behind a proxy.

christ March 14, 2013

Just takes a long time to start. It would be nice if there was an indicator on the startup script.

christ March 14, 2013

with:
wrapper.java.additional.5=-Dhttp.proxySet=true

wrapper.java.additional.6=-Dhttp.proxyHost=host.name.org

wrapper.java.additional.7=-Dhttp.proxyPort=8080

now getting:

Internal server error

Go to...

A system error has occurred - our apologies!

Please create a problem report on our support system at http://support.atlassian.com with the following information:

  1. a description of your problem and what you were doing at the time it occurred
  2. cut & paste the error and system information found below
  3. attach the atlassian-bamboo.log log file found in your application home.

We will respond as promptly as possible.
Thank you!

Version: 4.4.4
Build: 3506
Build Date: 28 Feb 2013

Request Information:

Stack Trace:

com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isInstallVisible' in  class com.atlassian.upm.permission.UpmVisibilityImpl threw exception java.lang.NoClassDefFoundError: org/ietf/jgss/GSSException at manage-plugins.vm[line 40, column 32]
	at com.atlassian.templaterenderer.velocity.one.six.internal.VelocityTemplateRendererImpl.render(VelocityTemplateRendererImpl.java:113)
	at sun.reflect.NativeMethodAccessorImpl.in...
christ March 24, 2013
Does this even work with Jetty?

2013-03-25 10:14:31,738 ERROR [qtp1476473244-2649] [FiveOhOh] 500 Exception was thrown.
com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isInstallVisible' in  class com.atlassian.upm.permission.UpmVisibilityImpl threw exception java.lang.NoClassDefFoundError: org/ietf/jgss/GSSException at manage-plugins.vm[line 40, column 32]
	at com.atlassian.templaterenderer.velocity.one.six.internal.VelocityTemplateRendererImpl.render(VelocityTemplateRendererImpl.java:113)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

...
	
	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)
	at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isInstallVisible' in  class com.atlassian.upm.permission.UpmVisibilityImpl threw exception java.lang.NoClassDefFoundError: org/ietf/jgss/GSSException at manage-plugins.vm[line 40, column 32]
	at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:237)
	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
...
	at org.apache.velocity.Template.merge(Template.java:235)
	at com.atlassian.templaterenderer.velocity.one.six.internal.VelocityTemplateRendererImpl.render(VelocityTemplateRendererImpl.java:104)
	... 120 more
Caused by: java.lang.NoClassDefFoundError: org/ietf/jgss/GSSException
	at org.apache.http.impl.auth.SPNegoSchemeFactory.newInstance(SPNegoSchemeFactory.java:55)
	at org.apache.http.auth.AuthSchemeRegistry.getAuthScheme(AuthSchemeRegistry.java:114)
	at org.apache.http.impl.client.AuthenticationStrategyImpl.select(AuthenticationStrategyImpl.java:180)
	at org.apache.http.impl.client.HttpAuthenticator.authenticate(HttpAuthenticator.java:139)
	...

0 votes
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 4, 2012

try changing 'http.' to 'https.'

Craig Taylor January 4, 2012

Didn't help. Web App stopped serving again

christ March 14, 2013

Same problem.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events