Skip to content

[Bug]: TypeError: txnproxy call timed out #931

@nick-maslov

Description

@nick-maslov

Problem description

I started seeing this error everywhere: TypeError: txnproxy call timed out
at async doAtomicWriteInPlace (ext:deno_kv/01_db.ts:628:10)
at async Kv.delete (ext:deno_kv/01_db.ts:112:20)
at async AuthDenoKvRepository.removeAuthToken (file:///src/models/auth/deno-kv-repository.ts:39:5)
at async validateAuthTokenAndCreateSession (file:///src/utils/validate-auth-token-and-create-session.ts:27:3)
at async AuthController.validateAuthToken (file:///src/controllers/auth.ts:77:21)
at async dispatch (file:///node_modules/.deno/hono@4.6.9/node_modules/hono/dist/compose.js:30:17)
at async file:///node_modules/.deno/hono@4.6.9/node_modules/hono/dist/validator/validator.js:81:5
at async dispatch (file:///node_modules/.deno/hono@4.6.9/node_modules/hono/dist/compose.js:30:17)
at async file:///src/main.ts:148:5
at async dispatch (file:///node_modules/.deno/hono@4.6.9/node_modules/hono/dist/compose.js:30:17)

I use DenoKV on Deno Deploy. Previously, everything worked perfectly, and I hasn't changed anything.

Steps to reproduce

The error happens almost on any request to DenoKV.

Expected behavior

I expect to not see any timeout error.

Environment

Deno Deploy

Possible solution

No response

Additional context

No response

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