BetterErrors / better_errors

Better error page for Rack apps
MIT License
6.88k stars 437 forks source link

So many times "Session expired" screen #527

Closed no1-knows closed 8 months ago

no1-knows commented 8 months ago

Hello, I'm using better_errors with Docker Please let me know how to avoid to show below message

Session expired This page was likely opened from a previous exception, and the exception is no longer available in memory. More about Better Errors

Now I reload so many times till correct better_errors screen after adding "raise" in controller

What I did is to add below line at development.rb BetterErrors::Middleware.allow_ip! "0.0.0.0/0"

thanks

Rails 7.0.8 ruby 3.2.2 (2023-03-30 revision e51014f9c0) [aarch64-linux]

no1-knows commented 8 months ago

This article save my day!

https://github.com/BetterErrors/better_errors/wiki/Multithreaded-servers-in-development