I can see following in log, while starting tomcat: Mar 30, 2017 2:33:22 PM org.springframework.web.socket.server.support.WebSocketHandlerMapping registerHandler INFO: Mapped URL path [/call] onto handler of type [class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler]
Same kind of logs are also available when I run my Spring boot application, in this app I am able to connect to wss://localhost:8443/call. On Thu, Mar 30, 2017 at 11:16 AM, Addy D <pathfinder2104.w...@gmail.com> wrote: > Well, I haven't change the code, the thing was working with Spring boot > (embedded tomcat) I just moved the code/app to an actual tomcat server. > > By trying the link from websocket.org I just wanted to confirm that > nothing is wrong with my Java Script code or browser. I now come to a > conclusion that something either on tomcat or application side is missing. > > On Thu, Mar 30, 2017 at 12:43 AM, Igal @ Lucee.org <i...@lucee.org> wrote: > >> That means that the Endpoint at websocket.org is configured correctly. >> >> How doe that help troubleshooting your Endpoint? >> >> Igal Sapir >> Lucee Core Developer >> Lucee.org <http://lucee.org/> >> >> On 3/29/2017 12:10 PM, Addy D wrote: >> >>> No, I tried something different, I tried this url wss:// >>> echo.websocket.org, >>> this one is working. >>> >>> On Wed, Mar 29, 2017 at 11:49 PM, Igal @ Lucee.org <i...@lucee.org> >>> wrote: >>> >>> Can you access it in a non-secure protocol? i.e. ws:// instaed of >>>> wss://? >>>> >>>> Testing that can help eliminate possible issues. >>>> >>>> Igal Sapir >>>> Lucee Core Developer >>>> Lucee.org <http://lucee.org/> >>>> >>>> >>>> On 3/29/2017 11:17 AM, Addy D wrote: >>>> >>>> The exact url I am trying to hit is : wss://localhost:8443/call >>>>> >>>>> >>>>> On Wed, Mar 29, 2017 at 10:58 PM, Igal @ Lucee.org <i...@lucee.org> >>>>> wrote: >>>>> >>>>> On 3/29/2017 2:17 AM, Addy D wrote: >>>>> >>>>>> Hello all, >>>>>> >>>>>>> I am facing an issue in my application, I want to know following >>>>>>> things. >>>>>>> >>>>>>> 1. The tomcat is returning 404 for upgrade header (request to >>>>>>> upgrade to >>>>>>> websocket protocol). Do I need to configure anything here? >>>>>>> >>>>>>> What's the Endpoint that you've set up (and how did you set it up)? >>>>>>> >>>>>> What is the exact URL that you're trying to hit with the ws:// >>>>>> request? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >>>>>> For additional commands, e-mail: users-h...@tomcat.apache.org >>>>>> >>>>>> >>>>>> >>>>>> >> >