[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
[X] This is not a general Twilio feature request or bug report. It is a feature request for the twilio-node JavaScript package.
Problem Description
Problem with ngrok websockets.
You can the app code here - https://github.com/dmitriy-uvin/cold-caller.
When I go to the ngrok link I have a simple HTML page where I am able to connect to websockets.
On the backend, I have a simple method that allows you to fetch some messages to the frontend and it works.
But, I need to receive and establish a connection with Twilio.
The first screenshot (where is no code response) it's when Twilio tries to establish websocket connection.
The second one (with response code) it's when I connect from index.html, and that works.
Preflight Checklist
Problem Description
Problem with ngrok websockets. You can the app code here - https://github.com/dmitriy-uvin/cold-caller. When I go to the ngrok link I have a simple HTML page where I am able to connect to websockets. On the backend, I have a simple method that allows you to fetch some messages to the frontend and it works.
But, I need to receive and establish a connection with Twilio. The first screenshot (where is no code response) it's when Twilio tries to establish websocket connection.
The second one (with response code) it's when I connect from index.html, and that works.
The third one is the error in Twilio logs.
How it can be solved?
Proposed Solution
.
Alternatives Considered
.
Additional Information
No response