Skip to content

ERROR "Failed to set current task contexttx is closed" #541

Closed
@drenbutkovic

Description

Hi,
error "Failed to set current task contexttx is closed" is logged in table timetable.log when task is configured to be executed on external database.
The task is completed successfully, but an error is shown in the log.
The task from the example is executed every minute, but the behavior is the same for tasks that are started in some other periods.
If the task is defined in a way that it is executed on the same DB where is pg_timetable then there is no error in log.
ERROR message is between messages "Remote connection established..." and "Closing remote session".

Timetable database and external database is on same Postgres cluster.
Timetable version: pg_timetable:5.1
OS: CentOS Linux release 7.9.2009 (Core)
Postgres: PostgreSQL 11.11

Task definition
task_definition

database_connection is in format
postgres://username:password@ipaddress:port/database_name?sslmode=disable

Chain definition
chain_definition

Logs from execution_log table
execution_log

Logs from log table
logs

All podman logs for one chain.
podman_logs_chain_147.txt

pg_timetable service
pg_timetable_v5_service_podman_conf.txt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions