mohamicorp / stash-jenkins-postreceive-webhook

Webhook used to notify Jenkins when commits are made to Stash
Other
138 stars 98 forks source link

Issues in connecting to Jenkins #189

Open basilboonk opened 7 years ago

basilboonk commented 7 years ago

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

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 commented 7 years ago

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.