Describe the bug
Hi, we are trying ot deploy a template from Krateo UI, however we keep getting timeout and the deployment doesn't start.
We checked the deployment service, which has the following error:
2023-06-05T09:34:27.172Z ←[32minfo←[39m: /82fb84b1-40df-4721-aba9-0d5b0b2cf2e8 - GET - ::ffff:10.158.124.173
2023-06-05T09:34:27.174Z ←[31merror←[39m: /84e250b4-aa4f-40fc-a1a6-fb51647f2351 - Cannot read properties of undefined (reading 'metadata')
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
at new NodeError (node:internal/errors:399:5)
at ServerResponse.setHeader (node:_http_outgoing:649:11)
at ServerResponse.header (/usr/src/app/node_modules/express/lib/response.js:794:10)
at ServerResponse.send (/usr/src/app/node_modules/express/lib/response.js:174:12)
at ServerResponse.json (/usr/src/app/node_modules/express/lib/response.js:278:15)
at module.exports (/usr/src/app/service-library/middlewares/error-logger.middleware.js:6:37)
at Layer.handle_error (/usr/src/app/node_modules/express/lib/router/layer.js:71:5)
at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:326:13)
at /usr/src/app/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:346:12)
This keeps happen on different attempts.
We temporarily resolve by restarting the service.
To Reproduce
Steps to reproduce the behavior:
Unclear.
Expected behavior
The service should accept deployment requests from the UI.
Describe the bug Hi, we are trying ot deploy a template from Krateo UI, however we keep getting timeout and the deployment doesn't start. We checked the deployment service, which has the following error:
This keeps happen on different attempts.
We temporarily resolve by restarting the service.
To Reproduce Steps to reproduce the behavior: Unclear.
Expected behavior The service should accept deployment requests from the UI.