Git Product home page Git Product logo

Comments (2)

 avatar commented on May 28, 2024

Status update: consul has a setting (check_update_interval) for the refresh interval of the output, which defaults to 300 seconds.

I wasn't able to effect any changes (i.e. I would change it's value to 0s or even 5s in the consul.json, but that didn't do anything.) This seems like an issue with consul or docker-consul. I need to change the release version of consul to double check this.

from registrator.

sergeevii123 avatar sergeevii123 commented on May 28, 2024

eventually worked for my container:
docker run... "-e SERVICE_CHECK_HTTP=/health " +
"-e SERVICE_CHECK_INTERVAL=1s "
in docker consul logs:
2016/02/17 07:00:20 [WARN] agent: http request failed 'http://10.199.51.164:7070/health': Get http://10.199.51.164:7070/health: read tcp 10.199.51.164:7070: connection reset by peer
2016/02/17 07:00:21 [WARN] agent: http request failed 'http://10.199.51.164:7070/health': Get http://10.199.51.164:7070/health: read tcp 10.199.51.164:7070: connection reset by peer
2016/02/17 07:00:22 [WARN] agent: http request failed 'http://10.199.51.164:7070/health': Get http://10.199.51.164:7070/health: read tcp 10.199.51.164:7070: connection reset by peer
2016/02/17 07:00:23 [WARN] agent: http request failed 'http://10.199.51.164:7070/health': Get http://10.199.51.164:7070/health: net/http: transport closed before response was received
2016/02/17 07:00:24 [WARN] agent: http request failed 'http://10.199.51.164:7070/health': Get http://10.199.51.164:7070/health: read tcp 10.199.51.164:7070: connection reset by peer
2016/02/17 07:00:25 [WARN] agent: http request failed 'http://10.199.51.164:7070/health': Get http://10.199.51.164:7070/health: read tcp 10.199.51.164:7070: connection reset by peer

from registrator.

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.