You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am trying to connect the submodel repository to an external Cosmos Mongo DB in azure. Although the connection is successfull, it is throwing an authentication error:
com.mongodb.MongoCommandException: Command failed with error 18 (AuthenticationFailed): 'Invalid key' on server xx.global.mongocluster.cosmos.azure.com:10260. The full response is {"ok": 0.0, "errmsg": "Invalid key", "code": 18, "codeName": "AuthenticationFailed"}
To Reproduce
I try at least two configurations in application.properties:
BaSyx (please complete the following information):
BaSyx submodel repository 2.0.0-SNAPSHOT
BaSyx SDK Java
Additional context
I tried the connection string with other tools and it worked every single time, affirming that the credentials used are actually correct.
The text was updated successfully, but these errors were encountered:
we will investigate what the cause of this could be.
It would be greatly appreciated if you could help us reproduce this. If possible, could you provide a docker-compose setup that you can share as a zip with us were we can directly see this issue happening? Testing against an external Azure is not an option for us.
Describe the bug
I am trying to connect the submodel repository to an external Cosmos Mongo DB in azure. Although the connection is successfull, it is throwing an authentication error:
com.mongodb.MongoCommandException: Command failed with error 18 (AuthenticationFailed): 'Invalid key' on server xx.global.mongocluster.cosmos.azure.com:10260. The full response is {"ok": 0.0, "errmsg": "Invalid key", "code": 18, "codeName": "AuthenticationFailed"}
To Reproduce
I try at least two configurations in application.properties:
and
Both produce the exact same error.
BaSyx (please complete the following information):
Additional context
I tried the connection string with other tools and it worked every single time, affirming that the credentials used are actually correct.
The text was updated successfully, but these errors were encountered: