tufanv Expert Licensed User Longtime User Dec 17, 2015 #1 Hello I get "send message to status = 8 "in nohup.out in one of my app (b4x push server). In other one i only get "send message to" ( no status msg) . I think second one is sending without problems but first one gives status 8. Altough i changed the config.txt to production settings. As I read it is invalid token but all the tokens are generated with distirbution certificate i dont understand why my tokens are invalid. How can i fix it ? Create push.keystore again ? or delete the database of tokens ?
Hello I get "send message to status = 8 "in nohup.out in one of my app (b4x push server). In other one i only get "send message to" ( no status msg) . I think second one is sending without problems but first one gives status 8. Altough i changed the config.txt to production settings. As I read it is invalid token but all the tokens are generated with distirbution certificate i dont understand why my tokens are invalid. How can i fix it ? Create push.keystore again ? or delete the database of tokens ?
Erel B4X founder Staff member Licensed User Longtime User Dec 17, 2015 #2 Make sure that there are no old tokens in the database. You can delete the database files and restart the server. Also check the feedback service host: https://www.b4x.com/android/forum/threads/b4x-push-server.48560/#content Upvote 0
Make sure that there are no old tokens in the database. You can delete the database files and restart the server. Also check the feedback service host: https://www.b4x.com/android/forum/threads/b4x-push-server.48560/#content
tufanv Expert Licensed User Longtime User Dec 17, 2015 #3 If i delete the files and restart the server are those files going to be generated automaticly ? and are those files push.db-shm and push.db-wal Erel said: Make sure that there are no old tokens in the database. You can delete the database files and restart the server. Also check the feedback service host: https://www.b4x.com/android/forum/threads/b4x-push-server.48560/#content Click to expand... Upvote 0
If i delete the files and restart the server are those files going to be generated automaticly ? and are those files push.db-shm and push.db-wal Erel said: Make sure that there are no old tokens in the database. You can delete the database files and restart the server. Also check the feedback service host: https://www.b4x.com/android/forum/threads/b4x-push-server.48560/#content Click to expand...
Erel B4X founder Staff member Licensed User Longtime User Dec 17, 2015 #4 Yes. Delete the three files and a new database will be created (see the code it is quite simple). Upvote 0
tufanv Expert Licensed User Longtime User Dec 17, 2015 #5 Erel said: Yes. Delete the three files and a new database will be created (see the code it is quite simple). Click to expand... yes ! this fixed the problem Erel Thank you. BTW I also deleted nohup.out to reset the output logs. But it is not yet created automaticly. Will it be ? or do i need to create it manually Upvote 0
Erel said: Yes. Delete the three files and a new database will be created (see the code it is quite simple). Click to expand... yes ! this fixed the problem Erel Thank you. BTW I also deleted nohup.out to reset the output logs. But it is not yet created automaticly. Will it be ? or do i need to create it manually
Erel B4X founder Staff member Licensed User Longtime User Dec 18, 2015 #6 nohup will be created automatically when you start the push server with nohup: https://www.b4x.com/android/forum/threads/server-run-a-server-on-a-vps.60378/#content Upvote 0
nohup will be created automatically when you start the push server with nohup: https://www.b4x.com/android/forum/threads/server-run-a-server-on-a-vps.60378/#content