Error on web service connection

August 6, 2014 2.3k views

My Java application on a Digital Ocean droplet is throwing an exception everytime it tries to access a Web Service hosted on another server:

06/08/2014 11:11:25.453 ERROR {http-bio-8080-exec-1} [b.c.t.w.b.c.ImagemActionComponentWebServiceImpl] : Erro em buscarImagem de ImagemActionComponentWebServiceImpl. Failed to access the WSDL at: http://[...]/ImagemService?wsdl. It failed with: 
Got Connection timed out while opening stream from http://[...]/ImagemService?wsdl. 
at ~[na:1.7.0_45] 

I had to omit the server name with [...]. But this Web Service is running ok. I tested it on two different machines and it works perfectly.

How can I start investigating what's happening?

Thank you all.

1 comment
  • The first thing I would do in troubleshooting is to see if you can reach the remote service with a simple ping from the droplet. Do you have any firewalling set up on either server?

Be the first one to answer this question.