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

Fail to load home page #21

Open
lduparc opened this issue Dec 8, 2016 · 5 comments
Open

Fail to load home page #21

lduparc opened this issue Dec 8, 2016 · 5 comments

Comments

@lduparc
Copy link

lduparc commented Dec 8, 2016

Hi,

I have a stack of more than 100 microservices. With a bunch of microservices the home page is not able to load and we can see the loader undeterminately.

@VanRoy
Copy link
Owner

VanRoy commented Dec 8, 2016

Hi @lduparc , what backend do you use ? Eureka or Beanstalk ?

@lduparc
Copy link
Author

lduparc commented Dec 8, 2016

Hi @VanRoy ,

I'm using eureka as backend.
Here my configuration.

eureka:
  instance:
    leaseRenewalIntervalInSeconds: 5
    leaseExpirationDurationInSeconds: 10
    # hostname: ${spring.application.name}
    virtualHostName: ${spring.application.name}
    metadataMap:
      instanceId: ${EUREKA_INSTANCE_ID:${spring.application.name}:${spring.application.instance_id:${server.port}}}
    preferIpAddress: true
  dashboard:
    enabled: true
  client:
    registryFetchIntervalSeconds: 5
    instanceInfoReplicationIntervalSeconds: 5
    initialInstanceInfoReplicationIntervalSeconds: 5
    eurekaConnectionIdleTimeoutSeconds: 30
    eurekaServerConnectTimeoutSeconds: 30
    registerWithEureka: true
    fetchRegistry: true
    healthcheck:
      enabled: true
    serviceUrl:
      defaultZone: http://${discovery.host}:${discovery.port}/eureka/

@VanRoy
Copy link
Owner

VanRoy commented Dec 9, 2016

@lduparc Do you seen any error on java logs or on browser http request ?

@lduparc
Copy link
Author

lduparc commented Dec 9, 2016

@VanRoy Sometimes a timeoutException from discovery:

java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@670d4b3b rejected from java.util.concurrent.ThreadPoolExecutor@69caa9aa[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
	at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2047) ~[na:1.8.0_92-internal]
	at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:823) [na:1.8.0_92-internal]
	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1369) [na:1.8.0_92-internal]
	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112) ~[na:1.8.0_92-internal]
	at com.netflix.discovery.TimedSupervisorTask.run(TimedSupervisorTask.java:62) ~[eureka-client-1.4.11.jar!/:1.4.11]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_92-internal]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_92-internal]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_92-internal]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.8.0_92-internal]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_92-internal]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_92-internal]
	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_92-internal]

@VanRoy
Copy link
Owner

VanRoy commented Dec 15, 2016

@lduparc Thanks for this details, I will investigate on your error.

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