You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The application locks up fully when "too much screen distance" is between DbClient + ORM Coro Mapper definition and location of usage.
If I define coro mappers, redis and db fast clients at the start of a code block (which executes if the client has successfully authenticated, there's no loops / if flows in that block anymore), the application locks up . not terminatable via CTRL-C and
20241003 20:00:57.504808 UTC 59703 FATAL It is forbidden to run loop on threads other than event-loop thread - EventLoop.cc:269
To Reproduce
Steps to reproduce the behavior:
File attached. Drogon 1.9.6-7 (occurs with both), trantor 1.5.20-21, spdlog on, clang 18.1.8, ubuntu 24.04 LTS server, postgres 16.4, dragonfly.
Expected behavior
For the code to not care where I define my coro mappers and redis client as long as they are accessible.
i got the same error, since some weeks - in v1.9.6 & v1.9.7
"FATAL It is forbidden to run loop on threads other than event-loop thread - EventLoop.cc:269"
v1.9.6 was running before
i didn't analyzed it - so i have no more info
after the log i get a segmention fault
error happens on linux - OpenSuse Leap 15.5
its working on Windows 11
i forgot something -> additionally i get a segmention fault after this log entry
but yesterday i found a solution in my case -> maybe it helps anybody too
after many try out and downgrade to really old versions i had no success
the solution was:
i had ssl certificates configured, but there there was no files
after copy the certificate files to the configured folders all is running perfectly like before
i upgrade to newest versions of ares and drogon again
Fast clients work on IO loops. Those loops currently start running at the end of app starting process. Early access (like during plugin initialization) will not work.
It should be fine for IO loops to start earlier. PR is welcomed.
Describe the bug
The application locks up fully when "too much screen distance" is between DbClient + ORM Coro Mapper definition and location of usage.
If I define coro mappers, redis and db fast clients at the start of a code block (which executes if the client has successfully authenticated, there's no loops / if flows in that block anymore), the application locks up . not terminatable via CTRL-C and
20241003 20:00:57.504808 UTC 59703 FATAL It is forbidden to run loop on threads other than event-loop thread - EventLoop.cc:269
To Reproduce
Steps to reproduce the behavior:
File attached. Drogon 1.9.6-7 (occurs with both), trantor 1.5.20-21, spdlog on, clang 18.1.8, ubuntu 24.04 LTS server, postgres 16.4, dragonfly.
Expected behavior
For the code to not care where I define my coro mappers and redis client as long as they are accessible.
ex.txt
The text was updated successfully, but these errors were encountered: