Five Stars

Cant use tRest

When im using tRest i get this error:

Exception in component tREST_1
com.sun.jersey.api.client.ClientHandlerException: java.net.UnknownHostException: dev-lincoins.lindner‐group.com
	at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:131)
	at com.sun.jersey.api.client.Client.handle(Client.java:616)
	at com.sun.jersey.api.client.WebResource.handle(WebResource.java:559)
	at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:72)
	at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:454)
	at lincoinsoffset.lincoinsoffsetschnittstelle_0_1.LinCoinsOffsetSchnittstelle.tREST_1Process(LinCoinsOffsetSchnittstelle.java:609)
	at lincoinsoffset.lincoinsoffsetschnittstelle_0_1.LinCoinsOffsetSchnittstelle.tSetKeystore_2Process(LinCoinsOffsetSchnittstelle.java:856)
	at lincoinsoffset.lincoinsoffsetschnittstelle_0_1.LinCoinsOffsetSchnittstelle.runJobInTOS(LinCoinsOffsetSchnittstelle.java:1082)
	at lincoinsoffset.lincoinsoffsetschnittstelle_0_1.LinCoinsOffsetSchnittstelle.main(LinCoinsOffsetSchnittstelle.java:939)
Caused by: java.net.UnknownHostException: dev-lincoins.lindner‐group.com
	at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
	at sun.net.NetworkClient.doConnect(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
	at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
	at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:218)
	at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:129)
	... 8 more

2017-04-12_13h36_07.png

My tRest is configured as mentioned here!

I already tried to use tSetKeystore with the certificate!

I need the apiKey to use the live system. 

 

Please help me

2 ACCEPTED SOLUTIONS

Accepted Solutions
Moderator

Re: Cant use tRest

Hi,

Can you access your url dev-lincoins.lindner‐group.com through browser?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Five Stars

Re: Cant use tRest

Has been corrected with tUseProxy Smiley Happy. Pls close!

5 REPLIES
Moderator

Re: Cant use tRest

Hi,

Can you access your url dev-lincoins.lindner‐group.com through browser?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Five Stars

Re: Cant use tRest

Yes I can, then our login screen opens. 

Five Stars

Re: Cant use tRest

When I try the same in advanced rest client program it works! (the GET)

Five Stars

Re: Cant use tRest

Has been corrected with tUseProxy Smiley Happy. Pls close!

Moderator

Re: Cant use tRest

Hi,

Great it works and thanks for sharing your solution with us.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.