Connect Server Error

TitusH
TitusH
Community Member
edited September 6 in Secrets Automation

When I try connecting to One password connect server, I get this error:
(
[status] => 408
[message] => sync did not complete within timeout, please retry the request
)

I am connecting at http://localhost:8080/v1/vaults

Here is my docker compose message:
Titus@dash:/var/www/composer/vendor/docker$ sudo docker compose up
[sudo] password for Titus:
[+] Running 2/0
✔ Container docker-op-connect-sync-1 Created 0.0s
✔ Container docker-op-connect-api-1 Created 0.0s
Attaching to op-connect-api-1, op-connect-sync-1
op-connect-sync-1 | {"log_message":"(I) starting 1Password Connect Sync ...","timestamp":"2024-08-26T20:04:41.822277739Z","level":3}
op-connect-sync-1 | {"log_message":"(I) database initialization complete","timestamp":"2024-08-26T20:04:41.825283905Z","level":3}
op-connect-sync-1 | {"log_message":"(I) ### syncer credentials bootstrap ### ","timestamp":"2024-08-26T20:04:41.826883721Z","level":3}
op-connect-api-1 | {"log_message":"(I) starting 1Password Connect API ...","timestamp":"2024-08-26T20:04:41.861528078Z","level":3}
op-connect-api-1 | {"log_message":"(I) GET /v1/vaults","timestamp":"2024-08-26T20:05:16.416424775Z","level":3,"scope":{"request_id":"09586d88-7718-4eee-b197-5ad810cfdd29"}}
op-connect-api-1 | {"log_message":"(I) notifying syncer of new token","timestamp":"2024-08-26T20:05:16.433528143Z","level":3,"scope":{"request_id":"09586d88-7718-4eee-b197-5ad810cfdd29","jti":"r4pbfaql5umv47vja5b53mphzq"}}
op-connect-api-1 | {"log_message":"(I) awaiting healthy syncer before continuing","timestamp":"2024-08-26T20:05:16.44575469Z","level":3,"scope":{"request_id":"09586d88-7718-4eee-b197-5ad810cfdd29","jti":"r4pbfaql5umv47vja5b53mphzq"}}
op-connect-api-1 | {"log_message":"(I) GET /v1/vaults completed (408: Request Timeout) in 10028ms","timestamp":"2024-08-26T20:05:26.445002638Z","level":3,"scope":{"request_id":"09586d88-7718-4eee-b197-5ad810cfdd29"}}

Does anyone know how to fix this error?


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Browser: Not Provided

Comments

  • TitusH
    TitusH
    Community Member

    I keep getting this error when trying to use connect server with php curl:
    (
    [status] => 408
    [message] => sync did not complete within timeout, please retry the request
    )

    The route is: http://localhost:8080/v1/vaults

    Docker compose terminal:
    Titus@dash:/var/www/composer/vendor/docker$ sudo docker compose up
    [sudo] password for Titus:
    [+] Running 2/0
    ✔ Container docker-op-connect-sync-1 Created 0.0s
    ✔ Container docker-op-connect-api-1 Created 0.0s
    Attaching to op-connect-api-1, op-connect-sync-1
    op-connect-sync-1 | {"log_message":"(I) starting 1Password Connect Sync ...","timestamp":"2024-08-26T20:04:41.822277739Z","level":3}
    op-connect-sync-1 | {"log_message":"(I) database initialization complete","timestamp":"2024-08-26T20:04:41.825283905Z","level":3}
    op-connect-sync-1 | {"log_message":"(I) ### syncer credentials bootstrap ### ","timestamp":"2024-08-26T20:04:41.826883721Z","level":3}
    op-connect-api-1 | {"log_message":"(I) starting 1Password Connect API ...","timestamp":"2024-08-26T20:04:41.861528078Z","level":3}
    op-connect-api-1 | {"log_message":"(I) GET /v1/vaults","timestamp":"2024-08-26T20:05:16.416424775Z","level":3,"scope":{"request_id":"09586d88-7718-4eee-b197-5ad810cfdd29"}}
    op-connect-api-1 | {"log_message":"(I) notifying syncer of new token","timestamp":"2024-08-26T20:05:16.433528143Z","level":3,"scope":{"request_id":"09586d88-7718-4eee-b197-5ad810cfdd29","jti":"r4pbfaql5umv47vja5b53mphzq"}}
    op-connect-api-1 | {"log_message":"(I) awaiting healthy syncer before continuing","timestamp":"2024-08-26T20:05:16.44575469Z","level":3,"scope":{"request_id":"09586d88-7718-4eee-b197-5ad810cfdd29","jti":"r4pbfaql5umv47vja5b53mphzq"}}
    op-connect-api-1 | {"log_message":"(I) GET /v1/vaults completed (408: Request Timeout) in 10028ms","timestamp":"2024-08-26T20:05:26.445002638Z","level":3,"scope":{"request_id":"09586d88-7718-4eee-b197-5ad810cfdd29"}}

    Does anyone know why this error is occuring?


    1Password Version: Not Provided
    Extension Version: Not Provided
    OS Version: Ubuntun 20.0.4
    Browser: Not Provided