01-28-2011 03:35 PM
I am using Push service SDK sample applications.
I could install both server and client side applications successfully. Server side application is pushing the data successfully.
I need to register my device to push service onto push server. It prompts username and password to subscribe.
I am using username as app-id and password received as a response to RIM registration process.
However, I get an exception indicating to verify that push content server is accessible. \
Any help on this is appreciated.
01-29-2011 10:35 AM
The username and password you are prompted for can be anything during your initial testing. The Push SDK server side sample application allows any username and password combination. In reality its not supposed to be the application id and password RIM provide you - it should be what identifes you as the user of that application on the device. In a real world application you should keep a list of your subscribers in your server side application and validate these credentials.
The IP and port of the server where you installed the Push Service SDK must be publically accessible from the internet for the registration to work.
Can you post the exact error?
01-31-2011 07:24 PM
I have verified following:
"The IP and port of the server where you installed the Push Service SDK must be publically accessible from the internet"
The exception details are:
Request to register failed. Caused by java.io.IOException: Network operation [Subscribe] failed. Make sure that Content Provider URL is accesible.
I would also like to know if I am correct in the steps I am following to register:
1) When I launch client appliction on device: clicking on "blackberry" main menu I see various submenus such as "register", "unregister", "suspend", "resume" etc. In order to subscribe, I use register menu which gives me above Java exception
Please Correct me where I am wrong.
01-31-2011 08:15 PM
The above mentioned error code is obtained when: I typed the URL that I got in logs recorded on Blackberry after the Java Exception on Registration.
URL has format like below:
I would like to know the meaning of deviceside parameter which was set to false in the URL
Also, in order to test that my push server is accessible publicly via interent, I typed the url of push server onto the browser on the handheld. I could see sample push initiator UI on the handheld.
02-01-2011 06:49 PM
The 10026 means authentication failed of the username and password. I mentioned in another thread that the Push SDK sample push initiator allows any username and password by default so you shouldn't be getting that error. Unless your servlet container has container managed authentication enabled?
02-22-2011 01:11 AM
How i can configure the server?
I am trying sample push-enabled application in the simulator.
i have IP public and credential resgister.
I have a error:
Content provider network command [Subscribe] failed, caused by could not find a service book entry for IPPP Command 'register' failed with error:java.io.IOException: network operation [subscribe] failed. Make sure that Content provider URL is accessible.
Executing command 'register' ..
I hope your answers
02-22-2011 03:23 AM
hello..i get same problem..
Http response: rc=10026 and use Tomcat default setting from Push SDK installer..