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
BackgroundScheduler is started (with job_store) and it works successfully (You can add jobs, jobstore works fine, etc) However, when more then 24 hours inactive (no new jobs are added or modified) the following error occurs when adding a new job "OperationalError('(cx_Oracle.OperationalError) ORA-03114: not connected to ORACLE',) "
Error full:
OperationalError: (cx_Oracle.OperationalError) ORA-03114: not connected to ORACLE\n[SQL: INSERT INTO "jobrestore_PRE_CENTRE2_0" (id, next_run_time, job_state) VALUES (:id, :next_run_time, :job_state)] (Background on this error at: http://sqlalche.me/e/e3q8)\n'
I think that Jobstore has lost connection. Cause if you create again the scheduler it works properly. Is there any way to reconnect the Jobstore to the Database?
Thanks
The text was updated successfully, but these errors were encountered:
I suggest that you try passing engine_options={'pool_pre_ping': True} to the job store. That should prevent any errors caused by the database server closing idle connections.
Hi,
Libraries version:
APScheduler-3.5.3
SQLAlchemy-1.3.4
cx_Oracle-7.1.3
python-2.7.14
BackgroundScheduler is started (with job_store) and it works successfully (You can add jobs, jobstore works fine, etc) However, when more then 24 hours inactive (no new jobs are added or modified) the following error occurs when adding a new job "OperationalError('(cx_Oracle.OperationalError) ORA-03114: not connected to ORACLE',) "
Code OK:
Code Error:
Error full:
OperationalError: (cx_Oracle.OperationalError) ORA-03114: not connected to ORACLE\n[SQL: INSERT INTO "jobrestore_PRE_CENTRE2_0" (id, next_run_time, job_state) VALUES (:id, :next_run_time, :job_state)] (Background on this error at: http://sqlalche.me/e/e3q8)\n'
I think that Jobstore has lost connection. Cause if you create again the scheduler it works properly. Is there any way to reconnect the Jobstore to the Database?
Thanks
The text was updated successfully, but these errors were encountered: