jenkinsci / cisco-spark-notifier-plugin

Sends messages to Spark rooms from Jenkins
https://plugins.jenkins.io/cisco-spark-notifier/
MIT License
6 stars 4 forks source link

Jenkins behind proxy #5

Closed puppetmaster- closed 7 years ago

puppetmaster- commented 7 years ago

Hello,

our Jenkins installation is behind an internet proxy.

We got following message:

Sending message to Spark Room: 001a1510-4a83-11e7-af0f-bf62e4939ba3 Could not send message because of an unknown issue; please an issue Are there any plans to support Jenkins installations behind an internet proxy or how could we solve this problem?

Thanks for any tips or suggestions.

Christian

t-patt commented 7 years ago

One option is to set -Dhttps.proxyHost and -Dhttps.proxyPort as JVM arguments when starting up jenkins. Is this feasible in your setup?

johnboscor commented 6 years ago

I have the same problem. My machine is not behind any proxy and still the request times out as above. Any suggestions?

t-patt commented 6 years ago

@johnboscor could you give some details about your network environment? Does the following command work from your jenkins master, if you have access?

curl -X POST -v "https://api.ciscospark.com/v1/messages" -H "Content-Type: application/json" -H "Authorization: Bearer your-token-here" -d '{"roomId": "your-room-id", "text": "test"}'