Proxy Not working eventhough it is configured
When saving the saving the mail server settings, we have a requirement of obtaining tokens from a TP website. In some of the cx environments, Proxy is required ti make such call. Eventhough the proxy is configured in the application, the proxy settings are not utilized when we require it.
![](https://img.zohostatic.com/zde/static/images/quote.png)
Make sure the manual proxy is working fine in the system settings, without any automatic proxy, by reaching the Token URL in the browser.
![](https://img.zohostatic.com/zde/static/images/caution.png)
Log Trace :
- |[SYSERR]|[INFO]|[75]: java.net.ConnectException: Connection timed out: connect|
- |[SYSERR]|[INFO]|[75]: at java.net.DualStackPlainSocketImpl.connect0(Native Method)|
- |[SYSERR]|[INFO]|[75]: at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)|
- |[SYSERR]|[INFO]|[75]: at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)|
- |[SYSERR]|[INFO]|[75]: at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)|
- [17:47:07:858]|[02-09-2023]|[SYSERR]|[INFO]|[75]: at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)|
![](https://img.zohostatic.com/zde/static/images/file.png)
Issue Cause :
In the obtainTokensFromCode(), proxy is passed as hardcoded "null" rather than proxy value.
![](https://img.zohostatic.com/zde/static/images/lights.png)
Fix :
This jar will print the debug information which are useful when obtaining tokens from url. also, this jar will pass the proxy value to the Required function.
JAR Compatibility : 14000 - 14104
New to ADSelfService Plus?