laravel-google-drive-demo icon indicating copy to clipboard operation
laravel-google-drive-demo copied to clipboard

laravel supervisor refresh token

Open ivankorobchuk123 opened this issue 5 years ago • 5 comments
trafficstars

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!!

ivankorobchuk123 avatar Nov 09 '20 13:11 ivankorobchuk123

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?

ivanvermeyen avatar Dec 04 '20 13:12 ivanvermeyen

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

ivankorobchuk123 avatar Dec 06 '20 12:12 ivankorobchuk123

https://github.com/masbug/flysystem-google-drive-ext/pull/34

PaolaRuby avatar Dec 27 '21 14:12 PaolaRuby

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

ivankorobchuk123 avatar Aug 10 '23 12:08 ivankorobchuk123