Google does not support WebSocket connections in Googlebot. This was first known, I think, back in May 2019, when Martin Splitt and Zoe Clifford presented at Google I/O. Zoe Clifford said there "Google does not allow WebSocket connections in Googlebot for architectural reasons."...
-
Google Still Does Not Support WebSocket Connections In Googlebot
seroundtable.com