Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7FBBD18A33 for ; Thu, 29 Oct 2015 16:54:28 +0000 (UTC) Received: (qmail 69852 invoked by uid 500); 29 Oct 2015 16:54:28 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 69798 invoked by uid 500); 29 Oct 2015 16:54:28 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 69739 invoked by uid 99); 29 Oct 2015 16:54:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2015 16:54:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BEA012C033A for ; Thu, 29 Oct 2015 16:54:27 +0000 (UTC) Date: Thu, 29 Oct 2015 16:54:27 +0000 (UTC) From: "Charles Moulliard (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-9272) openweathermap.org requires an APPID id since 09/10/2015 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-9272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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)