Closed gchicoye closed 1 year ago
Hi, Any idea on this? Any logs to look at to provide you additional information?
Either await fastify.register
or wrap your route with plugin
.
Please read the document about the proper usage.
Hi, thanks for help and sorry about that!
Prerequisites
Fastify version
4.15.0
Plugin version
7.2.0
Node.js version
18.9.1
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
13.2.1
Description
Hi, I create a Fastify Websocket server following this tutorial. https://blog.logrocket.com/using-websockets-with-fastify/. However, although I get Connection established through the following code, I cannot succeed connecting to the WS through Postman, status remains connecting. https://postimg.cc/Wqh980p2
Steps to Reproduce
The source code is as follows.
When I ping the server, I get
Expected Behavior
I expect to have a socket connected