BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-02-2010, 09:33 AM   #1 (permalink)
New Member
 
Join Date: Feb 2010
Model: 9530
PIN: N/A
Carrier: Airtel India
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Strange Connection refused error in MDS log

Please Login to Remove!

I have developed a push server to push messages to MDS. I am using 'TRANSPORT' level reliable push. Hence there is a notification receiver thread available as a part of push server itself. The thread is responsible to listen on port 7779 for any confirmation from MDS for the pushed message.


I pass the header attribute 'X-RIM-Push-NotifyURL' with '[http]://10.74.4.6:7779' (remove [] brackets) as a value.


Just for simplicity I have kept MDS and Push Server on same machine, but in the real world deployment I want to put them on separate machines Hence for notify url I use IP address of the machine where Push Server (and hence notification receiver thread too) is available.


But I do not get the confirmation back......... The MDS log contain strange 'Connection refused' error message. Pl check the following logs.


Code:
<2010-02-02 19:39:43.062 GMT+05:30>:[174]:<MDS-CS_MDS>:<DEBUG>:<LAYER = SCM, EVENT = Notifying to URL = [http]://10.74.4.6:7779, pushId = 163
851306, destination = 2118340A, result code = 200>
<2010-02-02 19:39:43.250 GMT+05:30>:[175]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, EVENT = RemovedSendingQueue, DEVICEPIN = 2118340a>
02-Feb-2010 19:39:44 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
02-Feb-2010 19:39:44 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
02-Feb-2010 19:39:45 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
02-Feb-2010 19:39:45 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
02-Feb-2010 19:39:46 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
02-Feb-2010 19:39:46 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
02-Feb-2010 19:39:48 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
02-Feb-2010 19:39:48 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
02-Feb-2010 19:39:49 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
02-Feb-2010 19:39:49 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
02-Feb-2010 19:39:50 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
02-Feb-2010 19:39:50 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
<2010-02-02 19:39:51.109 GMT+05:30>:[176]:<MDS-CS_MDS>:<DEBUG>:<LAYER = SCM, EVENT = Push notification failed with error:net.rim.shared.com
mand.d: could not connect to [http]://10.74.4.6:7779>


Kindly note when I use notify URL as '[http]://localhost:7779' (remove [] brackets) (The IP address is changed with localhost) it works absolutely fine and I get the confirmation back.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

1Pcs 7.3A S-350-48 48V Meadwell Power Supply Brand New U
$49.87
1Pcs 7.3A S-350-48 48V Meadwell Power Supply Brand New U picture2Pcs 2Sk2645 Transistor K2645 600V 8A 50W To-220 New Ic O
$0.99
2Pcs 2Sk2645 Transistor K2645 600V 8A 50W To-220 New Ic O picture1Pcs To220  Irli3705n To-220  Power Mosfet New Ic E
$6.24
1Pcs To220  Irli3705n To-220  Power Mosfet New Ic E picture50Pcs Zener Diode Surface Mount Zmm3v3 3.3V 5Ma Type Ic New J
$0.99
50Pcs Zener Diode Surface Mount Zmm3v3 3.3V 5Ma Type Ic New J pictureLm324n Lm324 20Pcs Ti Op-Amp Low Power Quad Dip14 New Ic I
$1.96
Lm324n Lm324 20Pcs Ti Op-Amp Low Power Quad Dip14 New Ic I picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.