ivanvermeyen/laravel-google-drive-demo

laravel supervisor refresh token

Opened this issue · 5 comments

I have queues at the supervisor. I get a 401 error every 24 hours. it is possible that the supervisor is not updating the token. How to force supervisor to read new token? Thank!!

Hello,

I created the tokens as described in the readme (including the refresh token).
They never change, so they should be working.
I haven't used the credentials for a long time and when I tried the demo app just now, everything still worked.

Was there a more descriptive error message?
Maybe a quota issue?

Ok, I fixed it with command Artisan::call('queue:restart');

Ok, I fixed it with command Artisan::call('queue:restart');

should i add queue:restart end of my command or ?

I'm not sure, I just put in front of the front of the queue

public function handle()
   {
       Artisan::call('queue:restart');

I know it's a crutch) but I don't have time to break