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
Hi all, currently I am implement a Django API server to control the status of Feedhandler, I want to send POST request to and the request are like this {"action": "run"}, {"action":"close"}, to start / close the feedhandler, but when I try running the server together with the feedhandler, the error occur:
RuntimeError: There is no current event loop in thread 'Thread-1 (process_request_thread)'.
and I cannot close the feedhandler gracefully, and I cannot start again after closing the feedhandler.
Could I ask for some advise on how to construct a API client to trigger and stop the feedhandler? Thank you
The text was updated successfully, but these errors were encountered:
Hi all, currently I am implement a Django API server to control the status of Feedhandler, I want to send POST request to and the request are like this {"action": "run"}, {"action":"close"}, to start / close the feedhandler, but when I try running the server together with the feedhandler, the error occur:
RuntimeError: There is no current event loop in thread 'Thread-1 (process_request_thread)'.
and I cannot close the feedhandler gracefully, and I cannot start again after closing the feedhandler.
Could I ask for some advise on how to construct a API client to trigger and stop the feedhandler? Thank you
The text was updated successfully, but these errors were encountered: