How do I send HTTP requests to 1Password Connect server running in AWS?

Options
nguevara
nguevara
Community Member
edited February 13 in Secrets Automation

I followed the documentation and deployed the containers for the Connect server and the API in AWS using CloudFormation. I used the template connect.yaml provided in the 1Password github.
https://github.com/1Password/connect/tree/main/examples/aws-ecs-fargate
I am using postman to test sending a GET request to the external url of the load balancer created by the template but I am getting the following error:
{"status":500,"message":"failed to initiate, review service logs for details"}
I've tried removing different headers in postman and only gotten a 400 Bad Request error.

Edit: I'm looking at the CloudWatch logs and it seems there is an issue with the base64 encoded version of the bearer token (which I also generated per the documentation.) I saw someone else have the same issue here:

https://1password.community/discussion/131378/loadlocalauthv2-failed-to-credentialsdatafrombase64

The error I'm seeing in cloudwatch:

"log_message": "(E) Server: (unable to get credentials and initialize API, retrying in 30s), Wrapped: (failed to FindCredentialsUniqueKey), failed to loadCredentialsFile: Server: (LoadLocalAuthV2 failed to credentialsDataFromBase64), illegal base64 data at input byte 1460",
"timestamp": "2024-02-13T19:18:28.913670662Z",
"level": 1


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