Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Websocket is not working via zuul #4

Open
Barathi07 opened this issue Nov 7, 2017 · 3 comments
Open

Websocket is not working via zuul #4

Barathi07 opened this issue Nov 7, 2017 · 3 comments

Comments

@Barathi07
Copy link

Barathi07 commented Nov 7, 2017

Hi,

We have started Eureka, Zuul and Hello application, we are able to establish websocket connection when we access through the url (http://localhost:7079) of hello application. But, via zuul (http://localhost:7078) websocket connection establishment is not working, only the web page is getting displayed. When we click the Connect button, nothing happens. Please assist us. Are we missing any configuration?

NOTE: it works if we comment serviceID and uncomment url field in zuul configuration.

@dingyz0575
Copy link

thank you,if i didn't see you NOTE,i wouldn't work with this demo successfully.

@itliusir
Copy link

itliusir commented May 14, 2018

hi When I accessed through the zuul, I encountered the same problem.
then I modified something to run successfully:

  • I cancelled the comment of zuul.routes.hello.url
  • I copied the static directory of hello service to the static directory of zuul service(Our front end is at the gateway)
  • I copied the pom->webjar... dependencies of hello service to the zuul service pom
    @Barathi07

@chetz3
Copy link

chetz3 commented Jun 27, 2018

Can some one help with this ? zuul.routes.hello.url : http://localhost:7079 works

but if we put service id: hello its not working :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants