Closed edgesoft closed 8 years ago
@edgesoft how are you getting the token? Does the SDK recover from this and get itself a new token?
@samtstern
final File resource = new File(serviceAccountFile);
FirebaseOptions options = new FirebaseOptions.Builder()
.setServiceAccount(new FileInputStream(resource))
.setDatabaseUrl(database)
.build();
FirebaseApp.initializeApp(options);
DatabaseReference ref = FirebaseDatabase.getInstance().getReference(getCompletedTaskPath());
@samtstern It does not recover
This is log message is actually expected / benign and the SDK should recover. When you say it does not recover, can you elaborate on what exactly stops working?
@mikelehen Yes, you are right. Wrong of me. Thanks!
When the server has been up and running for a while I get this. How can I make the token not expire?