You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, I have multiple server endpoints associated with this servlet: /v1, /v2, ...
I can establish the WebSocket connection with all endpoints but if I make a request - only one endpoint(v3) will work as expected. Other endpoints return 404 error.
Seems JSR356AsyncSupport creates endpoints for paths: /api /api/{path0} /api/{path0}/{path1} /api/{path0}/{path1}/{path2}
...
Then WsServerContainer from tomcat-websocket addes only one TemplatePathMatch for each endpoint and ignores others. So requests only to one endpoint (which was init first) can be resolved correctly.
The text was updated successfully, but these errors were encountered:
I use atmosphere 2.4.28 and tomcat 9.0.5
My servlet config:
Also, I have multiple server endpoints associated with this servlet:
/v1
,/v2
, ...I can establish the WebSocket connection with all endpoints but if I make a request - only one endpoint(
v3
) will work as expected. Other endpoints return404
error.Seems
JSR356AsyncSupport
creates endpoints for paths:/api
/api/{path0}
/api/{path0}/{path1}
/api/{path0}/{path1}/{path2}
...
Then
WsServerContainer
fromtomcat-websocket
addes only oneTemplatePathMatch
for each endpoint and ignores others. So requests only to one endpoint (which was init first) can be resolved correctly.The text was updated successfully, but these errors were encountered: