Skip to content

Unexpected Shut Down #286

@span14

Description

@span14

We have launched a testing app based on the shovel and experienced unexpected shut-down twice. This is the error report from the latest one:

`
l=error v=582d msg=loading blocks ig=configuration_events_verifier_key src=base-sepolia req=23630809/1 error=getting headers: cache get: requesting headers: unable to do http request: Post "": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
l=error v=582d msg=converge-retry ig=configuration_events_verifier_key src=base-sepolia
panic: close of closed channel

goroutine 2766302 [running]:
github.com/jackc/pgx/v5/pgconn.(*PgConn).CopyFrom(0xc0005a8480, {0xdd2a38, 0xc0003242d0}, {0xdcb3a0?, 0xc0000be270}, {0xc0006e64e0, 0xc5})
/home/runner/go/pkg/mod/github.com/jackc/pgx/[email protected]/pgconn/pgconn.go:1340 +0xa2b
github.com/jackc/pgx/v5.(*copyFrom).run(0xc000ad73e0, {0xdd2a38?, 0xc0003242d0?})
/home/runner/go/pkg/mod/github.com/jackc/pgx/[email protected]/copy_from.go:202 +0x625
github.com/jackc/pgx/v5.(*Conn).CopyFrom(0xc0008dcb40, {0xdd2a38, 0xc0003242d0}, {0xc0003a29d0, 0x1, 0x1}, {0xc000391600, 0xd, 0x10}, {0xdd13b0, ...})
/home/runner/go/pkg/mod/github.com/jackc/pgx/[email protected]/copy_from.go:275 +0x149
github.com/jackc/pgx/v5.(*dbTx).CopyFrom(0x10?, {0xdd2a38?, 0xc0003242d0?}, {0xc0003a29d0?, 0xc000b47370?, 0x410945?}, {0xc000391600?, 0xb09f20?, 0xdc8401?}, {0xdd13b0, ...})
/home/runner/go/pkg/mod/github.com/jackc/pgx/[email protected]/tx.go:256 +0x65
github.com/jackc/pgx/v5/pgxpool.(*Tx).CopyFrom(0xafebc0?, {0xdd2a38?, 0xc0003242d0?}, {0xc0003a29d0?, 0xc000b473e8?, 0x6a1f8f?}, {0xc000391600?, 0xa3354b?, 0x6a1fa0?}, {0xdd13b0, ...})
/home/runner/go/pkg/mod/github.com/jackc/pgx/[email protected]/pgxpool/tx.go:46 +0x4e
github.com/indexsupply/x/dig.Integration.Insert({{0xc000038228, 0x12}, {0x0, {0xc000013cd0, 0xf}, {0xc000013cc0, 0x5}, {0xc00026a000, 0x2, 0x2}}, ...}, ...)
/home/runner/work/code/code/dig/dig.go:826 +0x2fe
github.com/indexsupply/x/shovel.(*Task).loadinsert.func1()
/home/runner/work/code/code/shovel/task.go:484 +0x2d3
golang.org/x/sync/errgroup.(*Group).Go.func1()
/home/runner/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:75 +0x56
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 54
/home/runner/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:72 +0x96
`

The version I used is from v1.6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions