Caused by: java.lang.IllegalStateException: Got the unexpected http-status 'HTTP/1.1 401 Unauthorized' for the geolocation
|
at org.apache.camel.component.weather.geolocation.FreeGeoIpGeoLocationProvider.getCurrentGeoLocation(FreeGeoIpGeoLocationProvider.java:44)
|
at org.apache.camel.component.weather.WeatherQuery.getCurrentGeoLocation(WeatherQuery.java:152)
|
at org.apache.camel.component.weather.WeatherQuery.getQuery(WeatherQuery.java:60)
|
at org.apache.camel.component.weather.WeatherQuery.getQuery(WeatherQuery.java:37)
|
at org.apache.camel.component.weather.WeatherConfiguration.getQuery(WeatherConfiguration.java:214)
|
at org.apache.camel.component.weather.WeatherEndpoint.createProducer(WeatherEndpoint.java:53)
|
at org.apache.camel.impl.ProducerCache.doGetProducer(ProducerCache.java:573)
|
... 82 more
|
wget https://freegeoip.io/json/ --no-check-certificate
|
--2018-03-09 14:46:23-- https://freegeoip.io/json/
|
Resolving freegeoip.io (freegeoip.io)... 176.9.139.104
|
Connecting to freegeoip.io (freegeoip.io)|176.9.139.104|:443... connected.
|
WARNING: no certificate subject alternative name matches
|
requested host name ‘freegeoip.io’.
|
HTTP request sent, awaiting response... 401 Unauthorized
|
|
|
Username/Password Authentication Failed.
|
- cloned to
-
ENTESB-7840 [camel-weather] FreeGeoIpGeoLocationProvider does not work as expected
-
- Closed
-