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

getting random "Authorized users only." when uploading multiple files at once. #862

Closed
m2omou opened this issue Apr 5, 2017 · 2 comments

Comments

@m2omou
Copy link

m2omou commented Apr 5, 2017

This only happen when I am trying to upload 15, 20 files at the time. And I don't know if this is due to the timeout. But most of the api response is 200. But some fail and return "Authorized users only.".

But I am always still logged in ? Any idea ? Also this seems to happen only in production mode.

Thank you.

image

@AvaelKross
Copy link

AvaelKross commented Apr 13, 2017

Maybe it is caused by this https://github.com/lynndylanhurley/devise_token_auth#about-batch-requests ? So some requests are invalid because the token has been changed already? Try increasing batch_request_buffer_throttle parameter in config/initializers/devise_token_auth.rb

@zachfeldman
Copy link
Contributor

Closing in favor of #702

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

3 participants