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

Error cache service-registry spring eureka #313

Open
sponce2021 opened this issue Nov 18, 2021 · 0 comments
Open

Error cache service-registry spring eureka #313

sponce2021 opened this issue Nov 18, 2021 · 0 comments

Comments

@sponce2021
Copy link

Expected Behavior

Connect to eureka and get client id to call the api rest

Actual Behaviour

I received and error when i run the tests.

first, i received the next error:
i.m.h.s.netty.RoutingInBoundHandler - Unexpected error occurred: No cache configured for name: discovery-client

i activated the cache and change the cache to cafffeine and the error is the same.

second, i change the cache to redis cache including the next sentences in the properties.

redis:
caches:
discovery-client:
expire-after-access: 60s

and the error changed to the next:
18:07:07.296 [default-nioEventLoopGroup-1-12] ERROR i.m.h.s.netty.RoutingInBoundHandler - Unexpected error occurred: I/O error occurred during serialization: io.micronaut.discovery.eureka.EurekaServiceInstance
io.micronaut.core.serialize.exceptions.SerializationException: I/O error occurred during serialization: io.micronaut.discovery.eureka.EurekaServiceInstance
at io.micronaut.core.serialize.JdkSerializer.serialize(JdkSerializer.java:63)

I do not which key and value i should to add to serializate the object correctly

Steps To Reproduce

No response

Environment Information

Windows 10
JDK 11

Example Application

No response

Version

2.3.0

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

1 participant