lensesio / fast-data-dev

Kafka Docker for development. Kafka, Zookeeper, Schema Registry, Kafka-Connect, Landoop Tools, 20+ connectors

Home Page:https://lenses.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

proxy not working in 2.2.0

freynder opened this issue · comments

Hello,

I was running the docker container on CentOS and saw the following error messages in the browsers network connections while accessing the UI on 3030:
Status Code: 504 Gateway Timeout
Response: Unknown Host Description: Unable to locate the server named "0.0.0.0" --- the server does not have a DNS entry. Perhaps there is a misspelling in the server name, or the server no longer exists. Double-check the name and try again.

When checking /var/run/caddy/Caddyfile, the proxy entries are like:

proxy /api/schema-registry 0.0.0.0:8081 {
    without /api/schema-registry
}

Changing 0.0.0.0 to 127.0.0.1 solved the issue for me.