05-04-2010 06:51 AM
Hi All,
I am working on push service.
I have got my credentials from RIM.Also installed the push sdk successfully.
But when I try to push the data I get the following error.
When using the sample_app. URL
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
contentType = text/html; charset=iso-8859-1 )
And when I try to use the /debug-portal url the error is
Push Result
| Push id | Code | Description |
| 39 | 2002 | The address specified was not in a recognized format or was not valid or unknown (i.e Not subscribed). |
Invalid subscribers
| Address | Reason |
| 24aa7dc5 | does not exist |
Although the Address "24aa7dc5" is present in my MySQL database.
My IP is a static ip which i have registered with RIM.But when I check my ip using "www.whatismyip.com" i got to know that my connection ip is not the same as the one i registered with rim push services.Is that could be the problem.?
Vishal
Solved! Go to Solution.
05-04-2010 02:41 PM
Dear vishal_arote,
vishal_arote wrote:
My IP is a static ip which i have registered with RIM.But when I check my ip using "www.whatismyip.com" i got to know that my connection ip is not the same as the one i registered with rim push services.Is that could be the problem.?
Do you use a "real" server or your home computer with dynamic IP adresses?
Your source IP has to be fix and it needs to be always the same (the one you registered with RIM).
If you want to test your application locally and not on your server, you could use a proxy server on your server to tunnel the data.
05-04-2010 03:39 PM
If pushing to the eval system you need to push from a server with the IP you gave RIM.
Also, don't push based on your PIN with the SDK - you push based on subscriber id - look at what the subscriber id for that PIN is and push to that instead. The subscriber id will be what you used as a username when you subscribed/registered from the device application.
05-05-2010 01:03 AM
Dear Bullety
Bullety wrote
Do you use a "real" server or your home computer with dynamic IP adresses?
Your source IP has to be fix and it needs to be always the same (the one you registered with RIM).
If you want to test your application locally and not on your server, you could use a proxy server on your server to tunnel the data.
The machine am using has a static ip.And this machine is in my office .And I registered this Static Ip with RIm.But I guess all the requests are going through the Extenal IP,thats why I am getting the problem of access forbbiden.
I think I made big mistake while registering for the service.
So do I have to again request for Push Credentials with Rim mentioning my External IP as Source IP.
Regards
Vishal
05-05-2010 08:18 AM
You don't need to re-register or get new credentials. Just email RIM and ask them to update your IP to the external IP - not a big deal.
07-08-2010 04:49 PM
I use the static IP that registered at RIM Push Service.
I can run client side app to do registeration. But I can not send the push to the device.
When I run the https://xxx.yyy.com/sample-app/, I got an error after I click Start General Push button.
Bad HTTP response returned: HttpResponse ( net.rim.pushsdk.commons.http.HttpResponse@2eba074a statusCode = 403 content = Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server. If you think this is a server error, please contact the webmaster. Error 403 pushapi.eval.blackberry.com Thu Jul 8 14:10:21 2010 Apache contentType = text/html; charset=iso-8859-1 )
In the same time, I did Subscriber query using the Debug Portal, I got good result as:
Subscriber query results Subscriber ID Address Status 100001 222899d3 ACTIVE 100002 30b9a536 ACTIVE
But when I did the push using the Debug Portal, I got the error as result:
Push Result Push id Code Description 100014 2002 The address specified was not in a recognized format or was not valid or unknown (i.e Not subscribed). Invalid subscribers Address Reason 222899d3 does not exist
Could you tell me what reason for them?