Skip to content

Spontaneous log out from app (presumably because of batch requests) #359

Closed
@astr0gator

Description

@astr0gator

Sometimes I'm facing an issue of spontaneous log out from app (approximately several times a day, but it depends on intensity of usage). I examined logs but everything seems to be ok (e.g. token is present, method is working, request is very typical etc.). On a first glance it doesn't depend on anything in particular, just usual get requests. I tried to find an answer on StackOverflow and here but without luck.

In initializers/devise_token_auth.rb I have config.token_lifespan = 4.weeks and config.batch_request_buffer_throttle = 5.seconds.

Backend is on Heroku. Devise_token_auth v0.1.33. Rails 4.2.0.

I understand, that it's a bit vague. I would be happy to provide more information, just need some directions.

Would appreciate any ideas.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions