ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Socket Exception when invoking paypal service

Post new topic  Reply to topic
 Socket Exception when invoking paypal service « View previous topic :: View next topic » 
Author Message
dev135
PostPosted: Thu May 05, 2016 6:48 am    Post subject: Socket Exception when invoking paypal service Reply with quote

Apprentice

Joined: 21 Oct 2008
Posts: 44

Hi,

I am trying to invoke Paypal service(to sandbox -URL) using Soap Request node

I had imported required certificates to my broker truststore also. But i am still getting below error..

'A Web Service request has detected a SOCKET error whilst invoking a web service located at host &1, on port &2, on path &3.' (CHARACTER)

Do i need to do anything else here .. apart from adding certificates?
i am using IIB V9.0.0.2.

Thanks.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu May 05, 2016 6:59 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

What happens after you add certificates?
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
dev135
PostPosted: Thu May 05, 2016 7:22 am    Post subject: Reply with quote

Apprentice

Joined: 21 Oct 2008
Posts: 44

After adding certificates ...i tried and getting above error i had pasted..
Is that what you are asking?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu May 05, 2016 8:34 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Ah, ok.

There's got to be more information than just 'socket error'. Like a BIP# or an Exception tree.

But first thing to test is that you can access the URL of the service from the broker machine.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
dev135
PostPosted: Thu May 05, 2016 10:26 am    Post subject: Reply with quote

Apprentice

Joined: 21 Oct 2008
Posts: 44

Below is the exception

(0x01000000:Name ):SocketTimeoutException = (
(0x03000000:NameValue):File = 'F:\build\slot1\S900_P\src\WebServices\WSLibrary\ImbSocket.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 1329 (INTEGER)
(0x03000000:NameValue):Function = 'ImbSocketJNIManager::handleGeneralJavaException' (CHARACTER)
(0x03000000:NameValue):Type = '' (CHARACTER)
(0x03000000:NameValue):Name = '' (CHARACTER)
(0x03000000:NameValue):Label = '' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPmsgs' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 3166 (INTEGER)
(0x03000000:NameValue):Text = 'A timeout error occurred whilst performing an SSL socket operation' (CHARACTER)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'read' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 2 (INTEGER)
(0x03000000:NameValue):Text = '118465' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'java.net.SocketTimeoutException: Read timed out' (CHARACTER)
)

& I cant access the URL from my broker machine..i just tried to ping ..but didnt get any response..
Back to top
View user's profile Send private message
joebuckeye
PostPosted: Thu May 05, 2016 10:54 am    Post subject: Reply with quote

Partisan

Joined: 24 Aug 2007
Posts: 365
Location: Columbus, OH

dev135 wrote:
I cant access the URL from my broker machine..i just tried to ping ..but didnt get any response..


So that is your answer right there. Did you try a telnet command to the port in the paypal URL? That would probably be better than just a ping.

Open up that connection (however you accomplish that in your org) and then you will be able to see if you configured your truststore correctly.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Sun Sep 25, 2022 6:26 pm    Post subject: Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2527
Location: Melbourne, Australia

Look in syslog, IIB will usually log more information about socket errors. Usually DNS, firewall or certificate related issues.
_________________
Glenn
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Socket Exception when invoking paypal service
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.