Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

laravel supervisor refresh token #89

Open
ivankorobchuk123 opened this issue Nov 9, 2020 · 5 comments
Open

laravel supervisor refresh token #89

ivankorobchuk123 opened this issue Nov 9, 2020 · 5 comments

Comments

@ivankorobchuk123
Copy link

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

@ivanvermeyen
Copy link
Owner

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?

@ivankorobchuk123
Copy link
Author

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

@PaolaRuby
Copy link

@fatihtoprak
Copy link

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

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

@ivankorobchuk123
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants