Problem in connecting to server

I have tried to connect to the one password connect server, but I keep receiving errors.
I am using it locally, using docker based on the provided docker-compose file. The machine is a Windows machine with an Intel processor, running Ubuntu 20.04 on WSL2 (so the commands are run on the Ubuntu kernel).
I have generated the credential file and token using the CLI command (op) and run the docker-compose.
When I am trying to access the API., I will receive an error 408 about the credential:

op-connect-sync_1  | {"log_message":"(W) configured to use HTTP with no TLS","timestamp":"2021-10-18T09:47:31.8260668Z","level":2}
op-connect-api_1   | {"log_message":"(I) no database found, will retry in 1s","timestamp":"2021-10-18T09:47:31.8105379Z","level":3}
op-connect-sync_1  | {"log_message":"(I) starting 1Password Connect Sync ...","timestamp":"2021-10-18T09:47:31.8265888Z","level":3}
op-connect-sync_1  | {"log_message":"(I) serving on :8080","timestamp":"2021-10-18T09:47:31.8266195Z","level":3}
op-connect-sync_1  | {"log_message":"(I) no existing database found, will initialize at /home/opuser/.op/data/1password.sqlite","timestamp":"2021-10-18T09:47:31.8266184Z","level":3}
op-connect-sync_1  | {"log_message":"(I) [discovery-local] starting discovery, advertising endpoint 37983 /meta/message","timestamp":"2021-10-18T09:47:31.8267111Z","level":3}
op-connect-sync_1  | {"log_message":"(I) database initialization complete","timestamp":"2021-10-18T09:47:31.8386036Z","level":3}
op-connect-sync_1  | {"log_message":"(I) ### syncer credentials bootstrap ### ","timestamp":"2021-10-18T09:47:31.8388893Z","level":3}
op-connect-api_1   | {"log_message":"(W) configured to use HTTP with no TLS","timestamp":"2021-10-18T09:47:32.8126059Z","level":2}
op-connect-api_1   | {"log_message":"(I) [discovery-local] starting discovery, advertising endpoint 33171 /meta/message","timestamp":"2021-10-18T09:47:32.8126382Z","level":3}
op-connect-api_1   | {"log_message":"(I) starting 1Password Connect API ...","timestamp":"2021-10-18T09:47:32.8126993Z","level":3}
op-connect-api_1   | {"log_message":"(I) serving on :8080","timestamp":"2021-10-18T09:47:32.8127066Z","level":3}
op-connect-api_1   | {"log_message":"(I) GET /v1/vaults","timestamp":"2021-10-18T09:47:41.5588586Z","level":3,"scope":{"request_id":"f8081579-374c-4ade-aa6e-a799eb76b713"}}
op-connect-api_1   | {"log_message":"(I) notifying syncer of new token","timestamp":"2021-10-18T09:47:41.5589663Z","level":3,"scope":{"request_id":"f8081579-374c-4ade-aa6e-a799eb76b713","jti":"53rz2rp7qzfpqido254eq3nt5m"}}
op-connect-api_1   | {"log_message":"(I) awaiting healthy syncer before continuing","timestamp":"2021-10-18T09:47:41.5593805Z","level":3,"scope":{"request_id":"f8081579-374c-4ade-aa6e-a799eb76b713","jti":"53rz2rp7qzfpqido254eq3nt5m"}}
op-connect-sync_1  | {"log_message":"(I) token received, getting credentials and initializing API","timestamp":"2021-10-18T09:47:41.5595778Z","level":3}
op-connect-api_1   | {"log_message":"(I) GET /v1/vaults completed (408: Request Timeout)","timestamp":"2021-10-18T09:47:51.5605299Z","level":3,"scope":{"request_id":"f8081579-374c-4ade-aa6e-a799eb76b713","jti":"53rz2rp7qzfpqido254eq3nt5m"}}
op-connect-sync_1  | {"log_message":"(E) Server: (unable to get credentials and initialize API, retrying in 500ms), Wrapped: (failed to NewAPI), Authentication: (failed to SigninWithCredentials), Wrapped: (failed to auth.LookupAuth), Network: (failed to request.DoUnencrypted), Get \"....": dial tcp: lookup ... on ...: read udp 127.0.0.1:34417-\u003e127.0.0.11:53: i/o timeout","timestamp":"2021-10-18T09:47:51.6106654Z","level":1}
op-connect-sync_1  | {"log_message":"(I) ### syncer credentials bootstrap ### ","timestamp":"2021-10-18T09:47:52.1117827Z","level":3}

Can you help me with it? Thanks.

BR,
Alireza


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

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file