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

Receiving Zuul timeout exception when enabling Cereebro #97

Closed
kabennett opened this issue Sep 15, 2017 · 9 comments
Closed

Receiving Zuul timeout exception when enabling Cereebro #97

kabennett opened this issue Sep 15, 2017 · 9 comments
Assignees

Comments

@kabennett
Copy link

kabennett commented Sep 15, 2017

I am on Spring Cloud Dalston.SR1 and Cereebro 1.2.0. After adding the snitch starter dependency to my services and the server starter dependency to my Eureka instance, I can no longer reach my services when going through Zuul routes (i.e., http://localhost:8080/my-service/something). If I specify the port my service starts on (i.e., http://loclhost:65239/something), I can hit the service. After removing the Cereebro dependencies (snitch on the services and server on my Eureka instance), my services work fine going through the Zuul gateway. Then, I re-add the Cereebro dependencies, and I can again no longer hit my services, but the Cereebro UI (http://localhost:8082/cereebro/system) displays everything correctly.

@michaeltecourt
Copy link
Contributor

Can you try with the latest release available please ? It's currently 1.2.3.

I'll try to reproduce the bug on our samples.

In the meanwhile, do you see something unusal in :

  • your Zuul gateway actuator -> /routes ?
  • your service health check -> /health ?
  • in the Eureka Server home page -> /eureka ?

Any kind of logs would help.

@michaeltecourt
Copy link
Contributor

I've added a Zuul proxy using the deployed Eureka/Cereebro sample server. I can access deployed services through the proxy.

I'm going to need some more info about your current deployment.

@kabennett
Copy link
Author

I tried 1.2.3 with no luck. Nothing looks srange on the Eureka Server home page. I haven't looked into the routes or health endpoints yet. I will on Monday. Are there any security-related configurations I need to be aware of (e.g., security.basic.enabled or management.security.enabled related settings)?

@kabennett
Copy link
Author

Nothing looks unusual with /routes, /health, or /eureka. Can you please share your sample where you can access deployed services through the proxy? I think I'm having issues with spring-boot-starter-web as it's specified as a test scope dependency within the snitch stater dependency, but I'm not sure.

@michaeltecourt
Copy link
Contributor

Sure, here you go : https://github.com/cereebro/cereebro-issue-97

If you want to test this directly with our samples as described in the README file, send me an email and I'll reply with the Eureka Server credentials to use.

@michaeltecourt
Copy link
Contributor

Or send a DM on Twitter if you don't want to browse the commit history :)

@michaeltecourt
Copy link
Contributor

@kabennett any updates on this ?

@michaeltecourt michaeltecourt self-assigned this Sep 28, 2017
@kabennett
Copy link
Author

@michaeltecourt Sorry for the delay. I couldn't get it working with our particular configuration. Unfortunately, I can't share it with you due to my client's restrictions.

@michaeltecourt
Copy link
Contributor

No problem, sorry that we couldn't help. I'll close this ticket, please reopen it if you can isolate the problem.

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

2 participants