Symptom
We were able to install Semarchy xDI Designer but when trying to use a License in online mode we receive the error "Error while contacting server".
Solution
1) Be sure java version is supported by xDI and verify it with commanded java -version
Here are all the Java version supported: https://www.semarchy.com/doc/semarchy-xdi/xdi/2023.1/Install/system-requirements.html#_supported_java_versions
2) Allow network exchange with xDI license server IPs : (all on port 443)
- 104.26.10.40
- 104.26.11.40
- 172.67.70.136
3) Force the protocol used by the designer to connect to the license server if you encountered this error :
com.sun.jersey.api.client.ClientHandlerException: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:155) .... Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
Add this line to .ini file
-Djdk.tls.client.protocols=TLSv1.2 after the line