-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
No connection pool for 'ActiveRecord::Base' found #105
Comments
Somehow I got one example passing by setting workers to 1 but now I get this:
|
Hi @vitobotta , Thank you for your interest in iodine. As for: ActiveRecord::ConnectionNotEstablished:
No connection pool for 'ActiveRecord::Base' found. Iodine will attempt to reset the connection pool whenever a worker is (re)started, in order to avoid unintended DB connection sharing between processes (which breaks the connection pool synchronization). This used to be a big issue with multi-process servers and ActiveRecord eventually decided to implement an internal solution. However, since the error message is usually harmless (if it shows up), I often to keep support for older versions of ActiveRecord that don't implement an internal solution. Does the error message prevent the server from running? As for: Assertion failed: ("libev: I/O watcher with invalid fd found in epoll_ctl", errno != EBADF && errno != ELOOP && errno != EINVAL) (../libev/ev_epoll.c: epoll_modify: 134) This isn't iodine related. You are either still running Puma or using WebSockets with ActionCable. The iodine server doesn't use I might be able to help if you offer more information, but otherwise there's not much I can do about that one. Kindly, |
P.S., It could be that you added configurations to the Puma configuration file and now these aren't working probably or causing conflicts 🤔 |
Hi! I swapped puma with iodine, and I am getting this when trying to run specs with capybara:
Am I missing some configuration? Thanks!
The text was updated successfully, but these errors were encountered: