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

Fix 500 error in /v1/names/:name #1064

Closed
Tracked by #855
zone117x opened this issue Feb 15, 2022 · 0 comments
Closed
Tracked by #855

Fix 500 error in /v1/names/:name #1064

zone117x opened this issue Feb 15, 2022 · 0 comments
Labels
P2 Priority 2 Critical functionality not working Impacts one/few customers

Comments

@zone117x
Copy link
Member

Seeing level: error logs in /v1/names/:name requests that look like:

req.originalUrl: /v1/names/minty_btc.id.stx
req.url: /v1/names/v1/names/minty_btc.id.stx

Error: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:371:5)
    at ServerResponse.setHeader (node:_http_outgoing:576:11)
    at ServerResponse.header (/app/node_modules/express/lib/response.js:776:10)
    at ServerResponse.send (/app/node_modules/express/lib/response.js:170:12)
    at ServerResponse.json (/app/node_modules/express/lib/response.js:267:15)
    at /app/src/api/init.ts:227:21
    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/app/node_modules/express/lib/router/index.js:323:13)
    at /app/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/app/node_modules/express/lib/router/index.js:341:12)
    at next (/app/node_modules/express/lib/router/index.js:275:10)
    at /app/node_modules/express/lib/router/index.js:641:15
    at Immediate.next (/app/node_modules/express/lib/router/index.js:260:14)
    at Immediate._onImmediate (/app/node_modules/express/lib/router/index.js:641:15)
    at processImmediate (node:internal/timers:466:21)
@zone117x zone117x moved this to Recent issues in API Board Feb 15, 2022
@zone117x zone117x moved this from Recent issues to Icebox in API Board Feb 15, 2022
@zone117x zone117x moved this from Icebox to Recent issues in API Board Feb 15, 2022
@zone117x zone117x added the P2 Priority 2 Critical functionality not working Impacts one/few customers label Feb 15, 2022
@saralab saralab moved this from Recent issues to Backlog in API Board Feb 15, 2022
Repository owner moved this from Backlog to Done in API Board Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 Priority 2 Critical functionality not working Impacts one/few customers
Projects
Archived in project
Development

No branches or pull requests

2 participants