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

camel-weather does not work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: FIS 2.0
    • Fix Version/s: fuse-7.1
    • Component/s: Camel
    • Labels:
      None
    • Sprint:
      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

       

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                oscerd Andrea Cosentino
                Reporter:
                llowinge Lukas Lowinger
                Tester:
                Jan Bouska
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: