• Post Reply Bookmark Topic Watch Topic
  • New Topic

HTTPS POST Connection exception analysis

 
Baz Matt
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have written code to successfully connect to a 3rd part service using HTTPS POST using SSL. The program was successful and I got the intended response. Problem is that, in our Staging environment, we are getting an exception and I`m unable to debug as we don't have permissions and moreover, the app is deployed as a WAR file; so no source code.

EXception attached.

I tested my working code from a Windows machine and the real test is now done from a Linux machine. The only difference I see is the way the path of the certificates are mentioned. In windows, it goes something like C://jre-security-folder-path/cacerts but in Linux its somethng like/usr/jre-security-folder-path/cacerts.

As, Im unable to debug,Im not sure at which point, it is failing. CAn anyone tell me whether this is an issue from my side like SSL certificate related or server side issue?

 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only relevant part is "Connection refused". It looks like there is no network connection between that machine and the target machine, or the connection is blocked. Start by determining if there are any firewalls in between or router issues, try pinging the target machine from the source machine, etc.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!