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


Solutions on the web

Solution icon of github
failed to resolve 'sessionserver.mojang.com'. Exceeded max queries per resolve 16

Solution icon of github
failed to resolve 'sessionserver.mojang.com'. Exceeded max queries per resolve 16

Solution icon of stackoverflow
failed to resolve 'inventory-microservice'. Exceeded max queries per resolve 3

Solution icon of github
via GitHub by ernestojpg
, 11 months ago
failed to resolve 'keycloak-server'. Exceeded max queries per resolve 3

Solution icon of github
via GitHub by normanmaurer
, 7 months ago
failed to resolve 'crawl-66-249-64-1.googlebot.com' after 3 queries

Stack trace

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.util.concurrent.DefaultPromise.setSuccess(DefaultPromise.java:102)
	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)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 4 months ago
2 times, 7 months ago