Skip to content

Could not connect to Twilio: undefined #18

@rattrayalex

Description

@rattrayalex

Getting the above message in my console after following the directions in the readme.

Here is the error.data (which might be more helpful than error.message, which for me was undefined:

SIP/2.0 403 Forbidden
CSeq: 81 REGISTER
Call-ID: n612f6430bl3cda6681otm
From: <sip:demo3@AC1a783243bdb89d38dc8760c8c78a59dc.endpoint.twilio.com>;tag=74u9re7ki6
To: <sip:demo3@AC1a783243bdb89d38dc8760c8c78a59dc.endpoint.twilio.com>;tag=52255597_50f4772f_8a4345ae-4e83-4296-af83-561d29fb1a6c
Via: SIP/2.0/WSS 127.0.0.1:42480;branch=z9hG4bK5052657;rport=42480
Server: Twilio
X-Twilio-Error: 31201 Authentication failed
Content-Length: 0

So, three asks:

  1. Can you help me diagnose/fix my issue?
  2. Can you add documentation to the readme if my mistake was likely to be repeated?
  3. Can you add more comprehensive debugging info to this error? (possibly using console.error)

Thanks for this awesome project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions