Author |
Message
|
dev135 |
Posted: Thu May 05, 2016 6:48 am Post subject: Socket Exception when invoking paypal service |
|
|
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 |
|
|
mqjeff |
Posted: Thu May 05, 2016 6:59 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
What happens after you add certificates? _________________ chmod -R ugo-wx / |
|
Back to top |
|
|
dev135 |
Posted: Thu May 05, 2016 7:22 am Post subject: |
|
|
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 |
|
|
mqjeff |
Posted: Thu May 05, 2016 8:34 am Post subject: |
|
|
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 |
|
|
dev135 |
Posted: Thu May 05, 2016 10:26 am Post subject: |
|
|
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 |
|
|
joebuckeye |
Posted: Thu May 05, 2016 10:54 am Post subject: |
|
|
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 |
|
|
gbaddeley |
Posted: Sun Sep 25, 2022 6:26 pm Post subject: |
|
|
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 |
|
|
|