Bamboo Behind A Proxy Server
Asked by Craig Taylor:

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=truewrapper.java.additional.2=-Dhttp.proxyHost=proxynamewrapper.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.


Answers:
author: Craig Taylor
body: `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`


author: HN
body: Same here. Could not find a file called wrapper.conf?


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


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

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


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

[wrapper.java.additional.6=-Dhttp.proxyHost=host.name.org](http://wrapper.java.additional.6=-Dhttp.proxyHost=host.name.org)

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

now getting:  

Internal server error {#toc-hId-1841252513}
===========================================

#### Go to... {#toc-hId--1300444963}

* [Site Homepage](http://10.128.49.30:8085/)

A system error has occurred - our apologies!

Please create a problem report on our **support system** at [http://support.atlassian.com](https://support.atlassian.com/secure/CreateIssue.jspa?pid=10060&issuetype=1) 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: {#toc-hId-442365372}

* Request URL: [http://10.128.49.30:8085/500.action\</li\<\>\>](http://10.128.49.30:8085/500.action%3C/li)
* [Scheme: http](http://10.128.49.30:8085/500.action%3C/li)
[](http://10.128.49.30:8085/500.action%3C/li)
* [Server: 10.128.49.30](http://10.128.49.30:8085/500.action%3C/li)
* Port: 8085
* URI: /500.action
* Context Path:
* Servlet Path: /500.action
* Path Info:
* Query String:

[**Stack Trace:**](http://10.128.49.30:8085/500.action%3C/li)

```
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...
```


author: christ
body: ```
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 moreCaused 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)	...
```


author: Przemek Bruski
body: try changing 'http.' to 'https.'

comments: author: Craig Taylor
body: Didn't help. Web App stopped serving again


author: christ
body: Same problem.