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

Intel D80287-8, 80287 vintage FPU for 286, AMIGA, TOP condition
$0.99
Intel D80287-8, 80287 vintage FPU for 286, AMIGA, TOP condition pictureSiemens Amiga Pocket Machine 172 For Both Ear Hearing Aid (White, Blue)
$99.1
Siemens Amiga Pocket Machine 172  For Both Ear Hearing Aid (White, Blue) picture1x WD33C93-PL Western Digital ENHANCED SCSI BUS INTERFACE IC Amiga 3000 A2091
$2.29
1x WD33C93-PL Western Digital ENHANCED SCSI BUS INTERFACE IC Amiga 3000 A2091 pictureCrystal oscillator 50 Mhz 5V DIP8 for Amiga/Atari/Macintosh and more, 1 piece
$5.0
Crystal oscillator 50 Mhz 5V DIP8 for Amiga/Atari/Macintosh and more, 1 piece pictureSiemens Amiga Model 172N Pocket Hearing Aid For Hear Loss
$80.95
Siemens Amiga Model 172N Pocket Hearing Aid For Hear Loss  picture






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