简体   繁体   English

WSO2ESB Twilio连接器在代理后面不起作用

[英]WSO2ESB Twilio connector doesn't work behind proxy

I tried using the Twilio connector for WSO2ESB behind a proxy, but I keep getting SocketTimeout exceptions. 我尝试在代理后面使用WIL2ESB的Twilio连接器,但我不断收到SocketTimeout异常。 I tried setting the proxy in axis2.xml and through the _JAVA_OPTIONS environment variable, but nothing worked. 我尝试在axis2.xml中设置代理并通过_JAVA_OPTIONS环境变量,但没有任何效果。 As far as I can see, the Twilio connector either doesn't work behind a proxy, or it requires some special settings, since I can make REST calls to Twilio service via Call mediator, I just can't get the connector to work. 据我所知,Twilio连接器要么在代理后面不起作用,要么需要一些特殊设置,因为我可以通过Call mediator对Twilio服务进行REST调用,我只是无法让连接器工作。

You need to set http.proxyHost and http.proxyPort parameters in axis2.xml to make esb to tunnel through proxy server. 您需要在axis2.xml中设置http.proxyHost和http.proxyPort参数,以使esb通过代理服务器进行隧道传输。

Find more info with following link. 通过以下链接查找更多信息。

https://docs.wso2.com/display/ESB490/Enabling+SSL+Tunneling+through+a+Proxy+Server https://docs.wso2.com/display/ESB490/Enabling+SSL+Tunneling+through+a+Proxy+Server

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM