Docker test environment fails

I have been trying to get the Docker test environment in Getting started | Grafana Loki documentation working. Each container starts without any errors, but I get a “Failed to call resource” when trying to access the Loki bucket.

Nginx throws a 502 gateway error. When I look at the docker logs, I see these.

172.80.4.4 - - [13/Mar/2023:21:07:53 +0000] "POST /loki/api/v1/push HTTP/1.1" 502 157 "-" "promtail/2.7.1"
2023/03/13 21:09:56 [error] 31#31: *30 write could not be resolved (2: Server failure), client: 172.80.4.4, server: , request: "POST /loki/api/v1/push HTTP/1.1", host: "gateway:3100"```

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.