-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic Authentication throws - No Transport providers available. #44
Comments
Thanks for reporting. We're looking into this and will update as soon as we have the fix. |
Just to confirm, the error trace was reported in Anypoint Studio when you tried to run the demo flow there? |
Assuming you were using Anypoint Studio, did u provide values in the src/main/app/mule-app.properties file, like the Anaplan workspace ID and model ID? |
Yes it was from Anypoint Studio. In the Demo - i just changed the Cert Based auth to Basic Auth. Entered the creds. For the Test Connection - not sure if WorkSpace and Module matters - i still entered those though. |
We've been able to determine the issue and working on a patch. Will keep you posted as soon as it's available. Thanks for your patience. |
Is this issue applicable only to basic auth? On Sun, Aug 2, 2015 at 10:32 PM, Shuvo Saha notifications@github.com
|
No it seems to be affecting Certificate Auth as well. The patch will fix these issues. |
Hi, |
The fix has been pushed to master now marked as version 1.1.2. |
Hello:
I am testing this using the demo project provided. I switched to Anaplan Basic Auth instead of certificate authentication. I get the an error "No Transport Providers Available". Here is the complete stack trace.
Any thoughts?
org.mule.api.ConnectionException: No transport providers available; check the classpath contains the necessary libraries
org.mule.api.ConnectionException: No transport providers available; check the classpath contains the necessary libraries
at com.anaplan.connector.connection.BaseConnectionStrategy.connectToApi(BaseConnectionStrategy.java:90)
at com.anaplan.connector.connection.BasicAuthConnectionStrategy.connect(BasicAuthConnectionStrategy.java:74)
at com.anaplan.connector.connectivity.BasicAuthConnectionStrategyAnaplanConnectorAdapter.connect(BasicAuthConnectionStrategyAnaplanConnectorAdapter.java:21)
at com.anaplan.connector.connectivity.BasicAuthConnectionStrategyAnaplanConnectorAdapter.connect(BasicAuthConnectionStrategyAnaplanConnectorAdapter.java:9)
at org.mule.devkit.3.6.1.shade.connection.management.ConnectionManagementConnectorFactory.makeObject(ConnectionManagementConnectorFactory.java:47)
at org.mule.devkit.3.6.1.shade.connection.management.ConnectionManagementConnectorFactory.makeObject(ConnectionManagementConnectorFactory.java:15)
at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1220)
at com.anaplan.connector.connectivity.AnaplanConnectorBasicAuthConnectionConnectionManagementConnectionManager.acquireConnection(AnaplanConnectorBasicAuthConnectionConnectionManagementConnectionManager.java:261)
at com.anaplan.connector.connectivity.AnaplanConnectorBasicAuthConnectionConnectionManagementConnectionManager.test(AnaplanConnectorBasicAuthConnectionConnectionManagementConnectionManager.java:373)
at org.mule.tooling.metadata.api.utils.ConnectionTester.internalTestConnection(ConnectionTester.java:84)
at org.mule.tooling.metadata.api.utils.ConnectionTester.testConnectionFor(ConnectionTester.java:109)
at org.mule.tooling.messageflow.action.TestConnectorConnectionFromMuleConfigAction$1$1$1$1.call(TestConnectorConnectionFromMuleConfigAction.java:68)
at org.mule.tooling.messageflow.action.TestConnectorConnectionFromMuleConfigAction$1$1$1$1.call(TestConnectorConnectionFromMuleConfigAction.java:1)
at org.mule.tooling.utils.SilentRunner.run(SilentRunner.java:25)
at org.mule.tooling.core.StudioDesignContextRunner.runSilentWithMuleProject(StudioDesignContextRunner.java:17)
at org.mule.tooling.core.StudioDesignContextRunner.runSilentWithMuleProject(StudioDesignContextRunner.java:37)
at org.mule.tooling.messageflow.action.TestConnectorConnectionFromMuleConfigAction$1$1$1.run(TestConnectorConnectionFromMuleConfigAction.java:65)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.anaplan.connector.exceptions.AnaplanConnectionException: No transport providers available; check the classpath contains the necessary libraries
at com.anaplan.connector.connection.AnaplanConnection.cacheService(AnaplanConnection.java:242)
at com.anaplan.connector.connection.AnaplanConnection.openConnection(AnaplanConnection.java:279)
at com.anaplan.connector.connection.BaseConnectionStrategy.connectToApi(BaseConnectionStrategy.java:88)
... 17 more
Caused by: com.anaplan.client.transport.AnaplanAPITransportException: No transport providers available; check the classpath contains the necessary libraries
at com.anaplan.client.transport.TransportProviderFactory.(TransportProviderFactory.java:57)
at com.anaplan.client.transport.TransportProviderFactory.getInstance(TransportProviderFactory.java:39)
at com.anaplan.client.Service.getTransportProvider(Service.java:239)
at com.anaplan.client.Service.getWorkspaces(Service.java:316)
at com.anaplan.connector.connection.AnaplanConnection.cacheService(AnaplanConnection.java:229)
... 19 more
java.lang.Throwable: org.mule.api.ConnectionException: No transport providers available; check the classpath contains the necessary libraries
at com.anaplan.connector.connection.BaseConnectionStrategy.connectToApi(BaseConnectionStrategy.java:90)
at com.anaplan.connector.connection.BasicAuthConnectionStrategy.connect(BasicAuthConnectionStrategy.java:74)
at com.anaplan.connector.connectivity.BasicAuthConnectionStrategyAnaplanConnectorAdapter.connect(BasicAuthConnectionStrategyAnaplanConnectorAdapter.java:21)
at com.anaplan.connector.connectivity.BasicAuthConnectionStrategyAnaplanConnectorAdapter.connect(BasicAuthConnectionStrategyAnaplanConnectorAdapter.java:9)
at org.mule.devkit.3.6.1.shade.connection.management.ConnectionManagementConnectorFactory.makeObject(ConnectionManagementConnectorFactory.java:47)
at org.mule.devkit.3.6.1.shade.connection.management.ConnectionManagementConnectorFactory.makeObject(ConnectionManagementConnectorFactory.java:15)
at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1220)
at com.anaplan.connector.connectivity.AnaplanConnectorBasicAuthConnectionConnectionManagementConnectionManager.acquireConnection(AnaplanConnectorBasicAuthConnectionConnectionManagementConnectionManager.java:261)
at com.anaplan.connector.connectivity.AnaplanConnectorBasicAuthConnectionConnectionManagementConnectionManager.test(AnaplanConnectorBasicAuthConnectionConnectionManagementConnectionManager.java:373)
at org.mule.tooling.metadata.api.utils.ConnectionTester.internalTestConnection(ConnectionTester.java:84)
at org.mule.tooling.metadata.api.utils.ConnectionTester.testConnectionFor(ConnectionTester.java:109)
at org.mule.tooling.messageflow.action.TestConnectorConnectionFromMuleConfigAction$1$1$1$1.call(TestConnectorConnectionFromMuleConfigAction.java:68)
at org.mule.tooling.messageflow.action.TestConnectorConnectionFromMuleConfigAction$1$1$1$1.call(TestConnectorConnectionFromMuleConfigAction.java:1)
at org.mule.tooling.utils.SilentRunner.run(SilentRunner.java:25)
at org.mule.tooling.core.StudioDesignContextRunner.runSilentWithMuleProject(StudioDesignContextRunner.java:17)
at org.mule.tooling.core.StudioDesignContextRunner.runSilentWithMuleProject(StudioDesignContextRunner.java:37)
at org.mule.tooling.messageflow.action.TestConnectorConnectionFromMuleConfigAction$1$1$1.run(TestConnectorConnectionFromMuleConfigAction.java:65)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.anaplan.connector.exceptions.AnaplanConnectionException: No transport providers available; check the classpath contains the necessary libraries
at com.anaplan.connector.connection.AnaplanConnection.cacheService(AnaplanConnection.java:242)
at com.anaplan.connector.connection.AnaplanConnection.openConnection(AnaplanConnection.java:279)
at com.anaplan.connector.connection.BaseConnectionStrategy.connectToApi(BaseConnectionStrategy.java:88)
... 17 more
Caused by: com.anaplan.client.transport.AnaplanAPITransportException: No transport providers available; check the classpath contains the necessary libraries
at com.anaplan.client.transport.TransportProviderFactory.(TransportProviderFactory.java:57)
at com.anaplan.client.transport.TransportProviderFactory.getInstance(TransportProviderFactory.java:39)
at com.anaplan.client.Service.getTransportProvider(Service.java:239)
at com.anaplan.client.Service.getWorkspaces(Service.java:316)
at com.anaplan.connector.connection.AnaplanConnection.cacheService(AnaplanConnection.java:229)
... 19 more
The text was updated successfully, but these errors were encountered: