Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
Code must be updated as openweathermap.org requires an APPID id since 09/10/2015 & by consequence, the component can't be used anymore as we will get a HTTP 401 error.
Caused by: org.apache.camel.TypeConversionException: Error during type conversion from type: java.net.URL to the required type: java.lang.String with value http://api.openweathermap.org/data/2.5/weather?q=Paris,France due java.io.IOException: Server returned HTTP response code: 401 for URL: http://api.openweathermap.org/data/2.5/weather?q=Paris,France at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610) at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177) at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:156) at org.apache.camel.component.weather.WeatherProducer.process(WeatherProducer.java:48)