Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default request limit for @veramo/remote-server routers is too small #1117

Closed
simonas-notcat opened this issue Feb 9, 2023 · 0 comments · Fixed by #1118
Closed

Default request limit for @veramo/remote-server routers is too small #1117

simonas-notcat opened this issue Feb 9, 2023 · 0 comments · Fixed by #1118
Labels
bug Something isn't working

Comments

@simonas-notcat
Copy link
Contributor

Bug severity
1

Describe the bug
It looks like the default request limit for @veramo/remote-server routers is too small (100kb) I'm sometimes see these errors while running veramo server:

PayloadTooLargeError: request entity too large
    at readStream (/Users/simonas/.nvm/versions/node/v18.11.0/lib/node_modules/@veramo/cli/node_modules/raw-body/index.js:156:17)
    at getRawBody (/Users/simonas/.nvm/versions/node/v18.11.0/lib/node_modules/@veramo/cli/node_modules/raw-body/index.js:109:12)
    at read (/Users/simonas/.nvm/versions/node/v18.11.0/lib/node_modules/@veramo/cli/node_modules/body-parser/lib/read.js:79:3)
    at jsonParser (/Users/simonas/.nvm/versions/node/v18.11.0/lib/node_modules/@veramo/cli/node_modules/body-parser/lib/types/json.js:135:5)
    at Layer.handle [as handle_request] (/Users/simonas/.nvm/versions/node/v18.11.0/lib/node_modules/@veramo/cli/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/Users/simonas/.nvm/versions/node/v18.11.0/lib/node_modules/@veramo/cli/node_modules/express/lib/router/index.js:328:13)
    at /Users/simonas/.nvm/versions/node/v18.11.0/lib/node_modules/@veramo/cli/node_modules/express/lib/router/index.js:286:9
    at Function.process_params (/Users/simonas/.nvm/versions/node/v18.11.0/lib/node_modules/@veramo/cli/node_modules/express/lib/router/index.js:346:12)
    at next (/Users/simonas/.nvm/versions/node/v18.11.0/lib/node_modules/@veramo/cli/node_modules/express/lib/router/index.js:280:10)
    at Function.handle (/Users/simonas/.nvm/versions/node/v18.11.0/lib/node_modules/@veramo/cli/node_modules/express/lib/router/index.js:175:3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant