[jira] [Commented] (CAMEL-9272) openweathermap.org requires an APPID id since 09/10/2015
[ https://issues.apache.org/jira/browse/CAMEL-9272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14981996#comment-14981996 ] Claus Ibsen commented on CAMEL-9272: Just backported. > openweathermap.org requires an APPID id since 09/10/2015 > > > Key: CAMEL-9272 > URL: https://issues.apache.org/jira/browse/CAMEL-9272 > Project: Camel > Issue Type: Bug > Components: weather >Reporter: Charles Moulliard > Fix For: 2.16.1, 2.15.5, 2.17 > > > 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. > {code} > 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) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CAMEL-9272) openweathermap.org requires an APPID id since 09/10/2015
[ https://issues.apache.org/jira/browse/CAMEL-9272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14980784#comment-14980784 ] Charles Moulliard commented on CAMEL-9272: -- Can somebody backport the modification to 2.15.x & 2.16.x branches please ? > openweathermap.org requires an APPID id since 09/10/2015 > > > Key: CAMEL-9272 > URL: https://issues.apache.org/jira/browse/CAMEL-9272 > Project: Camel > Issue Type: Bug > Components: weather >Reporter: Charles Moulliard > Fix For: 2.16.1, 2.15.5, 2.17 > > > 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. > {code} > 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) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)