Skip to content

nginx : Connection refused ... upstream: "http://[::1]:8080 #87

@hamelg

Description

@hamelg

I upgraded from 1.1.3 to 1.1.5-6.
Now, log/nginx/error.log is full of these errors :

2019/02/08 15:00:39 [error] 45#45: *62 connect() failed (111: Connection refused) while connecting to upstream, client: 10.154.yy.xx, server: , request: "POST /render HTTP/1.1", upstream: "http://[::1]:8080/render", host: "xxx.yy.zz"

Nginx tries to connect with ipv6 protocol to graphite-web but it can't : graphite-web is listening in ipv4 only.

replace the string "localhost" with "127.0.0.1" in /etc/nginx/sites-enabled/graphite-statsd.conf and theses errors vanish.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions