-
Bug
-
Resolution: Done
-
Major
-
None
-
%
-
-
6.3 Sprint 4 (Mar 28 - Apr 29)
If I want to use camel-weather component without specified location (according to the documentation it should use my current geolocation) I get an exception:
org.apache.camel.FailedToCreateProducerException: Failed to create Producer for endpoint: Endpoint[weather://foo?appid=c30bc84b55d8bcaab1e44a87ed61292d]. Reason: org.apache.camel.TypeConversionException: Error during type conversion from type: java.net.URL to the required type: java.lang.String with value http://freegeoip.net/json/ due java.net.ConnectException: Connection timed out
I think it could be due to using http://freegeoip.net in camel-weather component (https://github.com/jboss-fuse/camel/blob/2.16.1.redhat-6-3-x-patch/components/camel-weather/src/main/java/org/apache/camel/component/weather/WeatherConfiguration.java#L213). I checked the http://freegeoip.net manually and it seems that this page is not available by now.