java.net.UnknownHostException: failed to resolve 'sessionserver.mojang.com'. Exceeded max queries per resolve 16

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by mibby
, 10 months ago
failed to resolve 'sessionserver.mojang.com'. Exceeded max queries per resolve 16
via GitHub by pitruk
, 7 months ago
failed to resolve 'sessionserver.mojang.com'. Exceeded max queries per resolve 16
via Stack Overflow by Kishore Tulsiani
, 1 year ago
failed to resolve 'inventory-microservice'. Exceeded max queries per resolve 3
via GitHub by ernestojpg
, 1 year ago
failed to resolve 'keycloak-server'. Exceeded max queries per resolve 3
via GitHub by normanmaurer
, 8 months ago
failed to resolve 'crawl-66-249-64-1.googlebot.com' after 3 queries
java.net.UnknownHostException: failed to resolve 'sessionserver.mojang.com'. Exceeded max queries per resolve 16
at io.netty.resolver.dns.DnsNameResolverContext.finishResolve(DnsNameResolverContext.java:481)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:403)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:167)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:397)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:167)
at io.netty.resolver.dns.DnsNameResolverContext.onResponse(DnsNameResolverContext.java:227)
at io.netty.resolver.dns.DnsNameResolverContext$3.operationComplete(DnsNameResolverContext.java:189)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:514)
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:488)
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:427)
at io.netty.resolver.dns.DnsQueryContext.setSuccess(DnsQueryContext.java:194)
at io.netty.resolver.dns.DnsQueryContext.finish(DnsQueryContext.java:177)
at io.netty.resolver.dns.DnsNameResolver$DnsResponseHandler.channelRead(DnsNameResolver.java:809)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:351)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:351)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)
at io.netty.channel.epoll.EpollDatagramChannel$EpollDatagramChannelUnsafe.epollInReady(EpollDatagramChannel.java:580)
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:402)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:307)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:873)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Once, 5 months ago
2 times, 9 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.