Skip to content

messenger.js example does not work with ngrok because SSL certificate cannot be validate in facebook app webhooks #139

Open
@mahermalaeb

Description

@mahermalaeb

Hello,

While implementing the messenger.js test case I was not able to connect to my ngrok generated site from the webhooks setup in the facebook app page. The following error is generated

The URL couldn't be validated. Callback verification failed with the following errors: curl_errno = 51; curl_error = SSL: no alternative certificate subject name matches target host name 'www.b2e63813.ngrok.io'; HTTP Status Code = 200; HTTP Message = Connection established

Can you please update the example warning that ngrok is not working? Otherwise please let me know where I went wrong.

Regards,
Maher

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