brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sjcorbett <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: apply back-off logic to utrace, w...
Date Wed, 10 Sep 2014 10:54:20 GMT
Github user sjcorbett commented on the pull request:

    https://github.com/apache/incubator-brooklyn/pull/158#issuecomment-55099629
  
    To explain a bit more, it would seem that I was affected by the things `UtraceHostGeoLookup`
warns of:  "you get blacklisted and requests may time out, or return none." Things are back
to normal again, for now at least. I saw a lot of logging like this:
    ```
    2014-09-09 16:41:56,775 DEBUG b.l.geo.UtraceHostGeoLookup [..]: Geo info lookup for 127.0.0.1/127.0.0.1
at http://xml.utrace.de/?query=86.185.34.72
    ...
    2014-09-09 16:43:12,130 DEBUG b.l.geo.UtraceHostGeoLookup [..]: Geo info lookup for 127.0.0.1/127.0.0.1
failed: java.net.ConnectException: Operation timed out
    ```
    The repeat minute and a half's delay encumbered Brooklyn significantly. A build with tests
would never finish. The web console and REST API were unusable.
    
    @ahgittin Your change looks fair. Longer term I think we want to load the data in the
background like `LocalhostExternalIpLoader`.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message