Closed osintalex closed 1 year ago
Finally figured this out after much exasperation. I had to change client side url to "ws://127.0.0.1:5000/echo"
not "ws://localhost:5000/echo"
.
Then this worked fine in Chrome and Safari. Previously it wasn't working in Chrome or Safari.
Hey, I'm running a very simple app to test this extension out. Working great on Firefox but I can't open the connection in Chrome.
Wondering if I need to do something to allow connections to localhost in Chrome? It looks like that may be the case based off this post. Not getting anything useful from the error handler in the frontend either.
This is my Flask code:
I'm running with
gunicorn -b 127.0.0.1:5000 --workers 4 --threads 100 --log-level=debug main:app
.Then this is my React code: