Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-17120

camel-k-example-event-streaming open-aq-consumer is failing with 503 on api.openaq.org

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Camel-K-GA
    • Component/s: Camel-K
    • Labels:
      None

      Description

      After following steps in readme of quickstart and deploying first component:

      kamel run OpenAQConsumer.java
      

      Corresponding pod log open-aq-consumer shows error:

      : org.apache.camel.http.common.HttpOperationFailedException: HTTP operation failed invoking https://api.openaq.org/v1/measurements?limit=10000 with statusCode: 503
      	at org.apache.camel.component.http.HttpProducer.populateHttpOperationFailedException(HttpProducer.java:419)
      	at org.apache.camel.component.http.HttpProducer.process(HttpProducer.java:291)
      	at org.apache.camel.support.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:66)
      	at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:172)
      	at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$SimpleTask.run(RedeliveryErrorHandler.java:463)
      	at org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.schedule(DefaultReactiveExecutor.java:179)
      	at org.apache.camel.impl.engine.DefaultReactiveExecutor.scheduleMain(DefaultReactiveExecutor.java:64)
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:184)
      	at org.apache.camel.impl.engine.CamelInternalProcessor.process(CamelInternalProcessor.java:398)
      	at org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:209)
      	at org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:76)
      	at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
      	at java.base/java.util.TimerThread.run(Timer.java:506)2021-08-02 14:58:56,147 WARN  [org.apa.cam.com.tim.TimerConsumer] (Camel (camel-1) thread #0 - timer://refresh) Error processing exchange. Exchange[D4A3B8CC8BFCE73-0000000000000001]. Caused by: [org.apache.camel.http.common.HttpOperationFailedException - HTTP operation failed invoking https://api.openaq.org/v1/measurements?limit=10000 with statusCode: 503]: org.apache.camel.http.common.HttpOperationFailedException: HTTP operation failed invoking https://api.openaq.org/v1/measurements?limit=10000 with statusCode: 503
      	at org.apache.camel.component.http.HttpProducer.populateHttpOperationFailedException(HttpProducer.java:419)
      	at org.apache.camel.component.http.HttpProducer.process(HttpProducer.java:291)
      	at org.apache.camel.support.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:66)
      	at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:172)
      	at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$SimpleTask.run(RedeliveryErrorHandler.java:463)
      	at org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.schedule(DefaultReactiveExecutor.java:179)
      	at org.apache.camel.impl.engine.DefaultReactiveExecutor.scheduleMain(DefaultReactiveExecutor.java:64)
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:184)
      	at org.apache.camel.impl.engine.CamelInternalProcessor.process(CamelInternalProcessor.java:398)
      	at org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:209)
      	at org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:76)
      	at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
      	at java.base/java.util.TimerThread.run(Timer.java:506)
      

        Attachments

          Activity

            People

            Assignee:
            lfabriko Lucie Krejcirova
            Reporter:
            mmajerni Mario Majernik
            Tester:
            Mario Majernik Mario Majernik
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: