BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-29-2009, 12:12 PM   #1 (permalink)
New Member
 
Join Date: Jun 2009
Model: 8330
PIN: N/A
Carrier: None
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Browser message push issue

Please Login to Remove!

Iam trying to do a browser message push( that I want to use send Alerts) to the device . When i use email address in the push URL, it works fine , meaning the message gets pushed and I can see the message in message folder on the device. But when i use device PIN in place of email address , it doesn't work and it throws error. Please see below.

The push URL
URL mdsUrl = new URL( "https", mdsHostName, mdsPort, "/push?DESTINATION=" + email/or devicepin + "&PORT=7874&REQUESTURI=/" );

From the mds console log saved.. The first one is when using email in the above URL and second case is when using devie Pin in the above URL. In both cases its to the same device. I tried this with device simulator also but ran into same issue. Please let me know what could go wrong and what can be done. Please note that this is browser message push ( not the channel push)

Case 1) when using email

Setting header property: Date = Thu, 18 Jun 2009 18:41:41 GMT
Setting header property: Server = IBM_HTTP_Server
Setting header property: Last-Modified = Thu, 18 Jun 2009 16:39:25 GMT
Setting header property: ETag = "6001-91-cf92940"
Setting header property: Accept-Ranges = bytes
Setting header property: Content-Length = 145
Setting header property: Keep-Alive = timeout=10, max=100
Setting header property: Connection = Keep-Alive
Setting header property: Content-Type = text/html
Connecting to Verizon:8443
Pushed page to the handheld.

case2) When using the device pin

Setting header property: Date = Thu, 18 Jun 2009 18:43:56 GMT
Setting header property: Server = IBM_HTTP_Server
Setting header property: Last-Modified = Thu, 18 Jun 2009 16:39:25 GMT
Setting header property: ETag = "6001-91-cf92940"
Setting header property: Accept-Ranges = bytes
Setting header property: Content-Length = 145
Setting header property: Keep-Alive = timeout=10, max=100
Setting header property: Connection = Keep-Alive
Setting header property: Content-Type = text/html
Connecting to Verizon:8443
Exception in thread "main" java.lang.RuntimeException: Cannot push data; received bad response code from Mobile Data Service: 403, could not map device 31f72685
to an IPPP host.
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





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