# Are websockets supported?

**URL:** <https://forum.payara.fish/t/are-websockets-supported/225>\
**Category:** Technical Discussion\
**Created:** [February 18, 2022, 10:44pm UTC](https://forum.payara.fish/t/are-websockets-supported/225 "2022-02-18T22:44:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lraymond](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.payara.fish/lraymond/32/105_2.png) [@lraymond](https://forum.payara.fish/u/lraymond)\
**Post date:** [February 18, 2022, 10:44pm UTC](https://forum.payara.fish/t/are-websockets-supported/225/1 "2022-02-18T22:44:05Z")

</div>

Good afternoon, we are migrating from Glassfish4 and one service uses websockets. The applications are deployed, but we are not able to connect. I did search and saw some people had problems with 5.1, however I am currently running Payara Server 5.2021.3 #badassfish (build 3582).

On the admin I do have “Websockets Support” checked under both HTTP and HTTP2 listeners.

These are hosted in Amazon, behind an ELB load balancer, but this should be a non issue as the existing are as well.

Any help in diagnosing is appreciated.

---

<div class="post-metadata">

**Author:** ![ondromihalyi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.payara.fish/ondromihalyi/32/33_2.png) [@ondromihalyi](https://forum.payara.fish/u/ondromihalyi)\
**Post date:** [February 21, 2022, 9:39am UTC](https://forum.payara.fish/t/are-websockets-supported/225/2 "2022-02-21T09:39:53Z")

</div>

Hi,

WebSockets are still supported, they are part of the Jakarta EE standard. If you have an issue with WebSockets, the best thing to do is to create a small example that documents and reproduces the issue and raise the issue at Github: [Issues · payara/Payara · GitHub](https://github.com/payara/Payara/issues).

There’s currently one known issue with WebSockets which wasn’t fixed because it’s an edge case and there wasn’t much interest from the community to fix it: [websockets not working on virtual server /CUSTCOM-97 · Issue #3311 · payara/Payara · GitHub](https://github.com/payara/Payara/issues/3311). It’s a very specific usecase, WebSockets don’t work only if the application is deployed as the default web module on a virtual server. If you hit this issue, let me know and I can reopen it for you. Otherwise raise a new issue.

Ondro
