Giter Club home page Giter Club logo

Comments (4)

dosubot avatar dosubot commented on August 26, 2024 2

Hello @harivignesh-git! I'm here to help you with any bugs, questions, or contributions you have for the project. Let's work together to solve this issue!

To resolve the AxiosError: Request failed with status code 502 when trying to access the Config UI at http://localhost:4000, ensure that the backend service at DEVLAKE_ENDPOINT is up and running. The 502 status code indicates a "Bad Gateway" error, meaning the server received an invalid response from an inbound server.

Here are the steps to troubleshoot:

  1. Verify that the service at DEVLAKE_ENDPOINT is running and accessible.
  2. Check the network connectivity between the Config UI and the backend service.
  3. Ensure there are no misconfigurations in the DEVLAKE_ENDPOINT URL.

In the code, the baseURL for Axios requests is set to DEVLAKE_ENDPOINT:

import { DEVLAKE_ENDPOINT } from '@/config';

const instance = axios.create({
  baseURL: DEVLAKE_ENDPOINT,
});

Make sure the backend service is operational and listening on the correct port [1].

To continue talking to Dosu, mention @dosu.

from incubator-devlake.

adityai avatar adityai commented on August 26, 2024 1

When I checked the logs of the docker container that was running devlake, I saw an error stating that 'ENCRYPTION_SECRET' was missing and that I needed to enter that in the .env file. The instructions on the Getting Started guide suggested to add it as an env var locally, but that didn't work. I saved the encryption secret in the .env file and did a docker-compose up -d. Then it worked.

from incubator-devlake.

klesh avatar klesh commented on August 26, 2024

Was it docker-compose or helm-chart?

from incubator-devlake.

adityai avatar adityai commented on August 26, 2024

I have the same problem. I am a first-time user. I am using docker-compose. All I have to work with is a docker-compose.yml and a .env file. I am following instructions from this url https://devlake.apache.org/docs/GettingStarted/DockerComposeSetup.

from incubator-devlake.

Related Issues (20)

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.