-
Notifications
You must be signed in to change notification settings - Fork 33
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
FailedToRetrieveVaultException: Unable to retrieve vaults. #9
Comments
Hi 👋 , Thank you giving the Python SDK a shot and sharing your feedback! Let me give some technical context first: before the Connect API can respond to any requests, it first synchronizes the vaults. All incoming requests to the API wait for this process to complete. However, all API requests also have a timeout as not to wait forever for this sync to complete. What I think is happening here, is that the sync is taking longer than this timeout. If this is indeed the case, the logs of
Could you check if this is the case? If this is in the logs, all following requests to Connect should succeed. However, that does still mean we have to make some changes to the Connect server to make it clearer what is going on. If the logs of |
Facing something similar from a few days now. I'm running connect-api in docker and I'm getting the following errors on the sync
I"m using this manifest Update: Found the issue, had to delete the volume created and then everything started working again when creating resources from scratch. |
Hi,
Playing around with Secrets Automation and trying to use the Python SDK for this.
I've deployed the Connect server via the docker-compose file that is on the 1password website and can see this is running a connect-sync and connect-api container.
When run with my
OP_CONNECT_TOKEN
set, returns:onepasswordconnectsdk.client.FailedToRetrieveVaultException: Unable to retrieve vaults. Received 500 for /v1/vaults with message failed to initiate, review service logs for details
Logs in the API container show:
From what I can see, 1 key part stands out:
(E) syncer did not become healthy, terminating request
beyond this log message, it is not clear where the issue is or how I could continue to debug this so apologies for not providing
more info.
The text was updated successfully, but these errors were encountered: