Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues in connecting to Jenkins #189

Open
basilboonk opened this issue May 8, 2017 · 1 comment
Open

Issues in connecting to Jenkins #189

basilboonk opened this issue May 8, 2017 · 1 comment

Comments

@basilboonk
Copy link

basilboonk commented May 8, 2017

I am new to this plugin and I am trying to connect to Jenkins
My jenkins URL is with a load balancer ip address mapping to port TCP 443

Jenkins URL : http://ipaddress:443 (No SSL configured as of now).. while using this I am getting the server unreachable error.

I was able to telnet to the same IP address on the port 443

-bash-4.2$ telnet IPAddress 443
Trying IPAddress...
Connected to IP Address.
Escape character is '^]'.

Also the curl connectivity using the URL trigger the build

-bash-4.2$ curl -v http://ipaddress:443/git/notifyCommit?url=https://username@GIThostname/git/scm/san/sample_application.git

  • About to connect() to ipaddress port 443 (#0)
  • Trying ipaddress...
  • Connected to ipaddress (ipaddress) port 443 (#0)

GET /git/notifyCommit?url=http://ipaddress:443/git/notifyCommit?url=https://username@GIThostname/git/scm/san/sample_application.git HTTP/1.1
User-Agent: curl/7.29.0
Host: ipaddress:443
Accept: /

< HTTP/1.1 200 OK
< Date: Fri, 05 May 2017 12:32:41 GMT
< X-Content-Type-Options: nosniff
< Content-Type: text/plain; charset=ISO-8859-1
< Triggered: http://ipaddress:443/job/Test/
< Content-Length: 160
< Server: Jetty(9.2.z-SNAPSHOT)
<
Scheduled polling of Test

Also tried adding an entry in the /etc/hosts file... and tried using a hostname, but the bitbucket doesnt pick the name and throwing a DNS error (unresolved host)

Am i doing anything wrong here.

@thrownullpointer
Copy link

Did you test connectivity between the bitbucket server and the load balancer? If you're testing this all client side it could be a networking issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants