| Hi, I re-opened the ticket, because the fix doesn't solve the problem. If a proxy is configured, the plugin will use it, even if the Rocketchat server is part of the "No Proxy Host" field. Here is an example of a not working configuration. Proxy Config: (Manage Jenkins -> Manage Plugins -> Advanced )
Plugin Config: (Manage Jenkins -> Configuration)
Rocket Server URL: https://chat.local.com
Trust Server Certificate? true
Exception:
Test Connection
Client error - Could not send message
java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)
Caused: org.apache.http.conn.ConnectTimeoutException: Connect to proxy.local.com failed: connect timed out
The plugin tries to connect to the proxy server instead of directly connecting to chat.local.com |