Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-7840

[camel-weather] FreeGeoIpGeoLocationProvider does not work as expected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • jboss-fuse-6.3
    • Camel
    • None
    • % %
    • Hide

      Run the attached reproducer with version of Camel 2.18.1.fuse-000044

      Show
      Run the attached reproducer with version of Camel 2.18.1.fuse-000044

      Caused by: java.lang.IllegalStateException: Got the unexpected http-status 'HTTP/1.1 503 Service Temporarily Unavailable' for the geolocation
      	at org.apache.camel.component.weather.geolocation.FreeGeoIpGeoLocationProvider.getCurrentGeoLocation(FreeGeoIpGeoLocationProvider.java:45)
      	at org.apache.camel.component.weather.WeatherQuery.getCurrentGeoLocation(WeatherQuery.java:161)
      	at org.apache.camel.component.weather.WeatherQuery.getQuery(WeatherQuery.java:69)
      	at org.apache.camel.component.weather.WeatherQuery.getQuery(WeatherQuery.java:46)
      	at org.apache.camel.component.weather.WeatherConfiguration.getQuery(WeatherConfiguration.java:216)
      	at org.apache.camel.component.weather.WeatherEndpoint.createProducer(WeatherEndpoint.java:53)
      	at org.apache.camel.impl.ProducerCache.doGetProducer(ProducerCache.java:574)
      

            acosenti Andrea Cosentino
            llowinge@redhat.com Lukas Lowinger
            Lukas Lowinger Lukas Lowinger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: