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

camel-weather does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • fuse-7.1
    • FIS 2.0
    • Camel
    • None
    • % %
    • Fuse 7.1 Sprint 32

    Description

      https://freegeoip.net/json/ gives

      This API endpoint is deprecated and will stop working on July 1st, 2018
      

      java.lang.IllegalStateException: Got the unexpected http-status 'HTTP/1.1 403 Forbidden' 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)
      ... 101 more

      
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: