metlo-labs / metlo

Metlo is an open-source API security platform.
https://metlo.com
MIT License
1.6k stars 91 forks source link

docker-compose up -d server returns 500 error #127

Closed dmdhrumilmistry closed 1 year ago

dmdhrumilmistry commented 1 year ago

I'm trying to use metlo on my local host. I've followed the steps from README. After containers are started when I try to visit the web app, it returns a 500 error.

Do I need to set environment variables? can the team add those instructions to the README?

$ docker-compose up -d
WARNING: The BACKEND_URL variable is not set. Defaulting to a blank string.
WARNING: The SANDBOX_MODE variable is not set. Defaulting to a blank string.
WARNING: The DISABLE_LOGGING_STATS variable is not set. Defaulting to a blank string.
WARNING: The NUM_WORKERS variable is not set. Defaulting to a blank string.

-- snip --

image

akshay288 commented 1 year ago

Hey @dmdhrumilmistry ! Sometimes the backend take some time to start up so the frontend service can't connect, we're working on a fix for that... Can you wait for a minute after starting and refresh?

If that doesn't work can you send me your docker logs?

dmdhrumilmistry commented 1 year ago

Hey @dmdhrumilmistry ! Sometimes the backend take some time to start up so the frontend service can't connect, we're working on a fix for that... Can you wait for a minute after starting and refresh?

If that doesn't work can you send me your docker logs?

thanks for the quick response. Yeah sure, I'll give it a try.

dmdhrumilmistry commented 1 year ago

@akshay288 yes its working