Skip to content

Events Queue Setup & Configuration #240

@bpcsys

Description

@bpcsys

Hello am facing issues trying to set this up on my GCP, I enabled Google Cloud Tasks, also have the Firebase Admin Credentials.
But My Cloud Build Fails at the step of Cloud Tasks Client, I tried to at the logs but couldn't get any meaning full error.

{
    "pid": "1",
    "service.name": "*di.Container",
    "caller": "/http-sms/pkg/di/container.go:298",
    "error": "cannot initialize cloud tasks client\n --- at /http-sms/pkg/di/container.go:298 (Container.CloudTasksClient) ---\nCaused by: invalid character 'b' looking for beginning of value",
    "hostname": "localhost"
  }

I have also setup the environment variables.

EVENTS_QUEUE_TYPE=Push
EVENTS_QUEUE_USER_API_KEY=<here i used the one from the json crendetial got from firebase admin>
EVENTS_QUEUE_NAME=send-sms
EVENTS_QUEUE_USER_ID=<here i used the one from the json crendetial got from firebase admin>
EVENTS_QUEUE_ENDPOINT=projects/[PROJECT_ID]/locations/[LOCATION_ID]/queues/send-sms

Need your help. Thank You

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions