Skip to content

pubsub throws 'Service Unavailable' #277

@ghost

Description

When running pub/sub the quickstart.js to test the connection to google cloud, I get get a service unavailable.

(node:2787) UnhandledPromiseRejectionWarning: 
Unhandled promise rejection (rejection id: 1): Error: Service Unavailable

I changed the projectId id in the code to match mine
const projectId = 'YOUR_PROJECT_ID';

As well as setting an env var
export GCLOUD_PROJECT=your-project-id

If I run another services, like big query, they connect correctly so the auth seems to be correct. Is there something specific to pub/sub that needs to be done to make a connection?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🚨This issue needs some love.triage meI really want to be triaged.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions