Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13279

camel-box - Standard Authentication starts failing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.23.1, 3.0.0-M1
    • Fix Version/s: 3.0.0-M2, 3.0.0
    • Component/s: camel-box
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Camel Box standard authentication starts failing with the following error stacktrace:

      org.apache.camel.RuntimeCamelException: Box API connection failed: elementName=[form] attributeName=[name] attributeValue=[consent_form]
      	at org.apache.camel.component.box.internal.BoxConnectionHelper.createStandardAuthenticatedConnection(BoxConnectionHelper.java:212)
      	at org.apache.camel.component.box.internal.BoxConnectionHelper.createConnection(BoxConnectionHelper.java:91)
      	at org.apache.camel.component.box.BoxComponent.doStart(BoxComponent.java:85)
      	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:72)
      	at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:3709)
      	at org.apache.camel.impl.DefaultCamelContext.startServices(DefaultCamelContext.java:3715)
      	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3437)
      	at org.apache.camel.impl.DefaultCamelContext$4.call(DefaultCamelContext.java:3248)
      	at org.apache.camel.impl.DefaultCamelContext$4.call(DefaultCamelContext.java:3244)
      	at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:3267)
      	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:3244)
      	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:72)
      	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:3160)
      	at org.apache.camel.test.junit4.CamelTestSupport.startCamelContext(CamelTestSupport.java:760)
      	at org.apache.camel.test.junit4.CamelTestSupport.doSetUp(CamelTestSupport.java:392)
      	at org.apache.camel.test.junit4.CamelTestSupport.setUp(CamelTestSupport.java:281)
      	[...]
      Caused by: com.gargoylesoftware.htmlunit.ElementNotFoundException: elementName=[form] attributeName=[name] attributeValue=[consent_form]
      	at com.gargoylesoftware.htmlunit.html.HtmlPage.getFormByName(HtmlPage.java:643)
      	at org.apache.camel.component.box.internal.BoxConnectionHelper.createStandardAuthenticatedConnection(BoxConnectionHelper.java:170)
      	... 49 more
      

      Camel Box implements the 3-legged auth using HTTP scraping for the 1st leg to acquire the auth code and it appears the auth dialog at Box.com has been changed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tadayosi Tadayoshi Sato
                Reporter:
                tadayosi Tadayoshi Sato
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: