Giter VIP home page Giter VIP logo

deployment-service's People

Contributors

braghettos avatar maurosala avatar

Watchers

 avatar  avatar  avatar  avatar

deployment-service's Issues

Service not responding to deployment requests from Krateo 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:

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.