{"action":"closed","issue":{"url":"https://api.github.com/repos/line/armeria/issues/1146","repository_url":"https://api.github.com/repos/line/armeria","labels_url":"https://api.github.com/repos/line/armeria/issues/1146/labels{/name}","comments_url":"https://api.github.com/repos/line/armeria/issues/1146/comments","events_url":"https://api.github.com/repos/line/armeria/issues/1146/events","html_url":"https://github.com/line/armeria/issues/1146","id":313586804,"number":1146,"title":"Invalid argument deep in netty code","user":{"login":"anuraaga","id":198344,"avatar_url":"https://avatars0.githubusercontent.com/u/198344?v=4","gravatar_id":"","url":"https://api.github.com/users/anuraaga","html_url":"https://github.com/anuraaga","followers_url":"https://api.github.com/users/anuraaga/followers","following_url":"https://api.github.com/users/anuraaga/following{/other_user}","gists_url":"https://api.github.com/users/anuraaga/gists{/gist_id}","starred_url":"https://api.github.com/users/anuraaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anuraaga/subscriptions","organizations_url":"https://api.github.com/users/anuraaga/orgs","repos_url":"https://api.github.com/users/anuraaga/repos","events_url":"https://api.github.com/users/anuraaga/events{/privacy}","received_events_url":"https://api.github.com/users/anuraaga/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-04-12T05:56:53Z","updated_at":"2018-04-26T01:58:52Z","closed_at":"2018-04-26T01:58:52Z","author_association":"COLLABORATOR","body":"I recently started making a new request in my code, and I am getting a strange error when trying to connect. It might be a problem in my code, though I suspect the recent `Endpoint` changes a little too, but hard to work out what the problem might be if it's in my code since it's very deep and has an IPv6 address which I definitely don't create or reference anywhere. Any quick thoughts on it? Presumably even if it's a problem in my calling code, armeria must be missing an argument check of its own somewhere.\r\n\r\n```\r\njava.util.concurrent.CompletionException: io.netty.channel.AbstractChannel$AnnotatedConnectException: connect(..) failed: Invalid argument: www.googleapis.com/2607:f8b0:4001:c14:0:0:0:5f:443\r\nat java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:331)\r\nat java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:346)\r\nat java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:632)\r\nat java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)\r\nat java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088)\r\nat com.linecorp.armeria.common.HttpMessageAggregator.fail(HttpMessageAggregator.java:161)\r\nat com.linecorp.armeria.common.HttpMessageAggregator.accept(HttpMessageAggregator.java:114)\r\nat com.linecorp.armeria.common.HttpMessageAggregator.accept(HttpMessageAggregator.java:36)\r\nat java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)\r\nat java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)\r\nat java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)\r\nat io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)\r\nat io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)\r\nat io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:309)\r\nat io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)\r\nat io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\r\nat java.base/java.lang.Thread.run(Thread.java:844)\r\nCaused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: connect(..) failed: Invalid argument: www.googleapis.com/2607:f8b0:4001:c14:0:0:0:5f:443\r\nat io.netty.channel.unix.Errors.throwConnectException(Errors.java:112)\r\nat io.netty.channel.unix.Socket.connect(Socket.java:257)\r\nat io.netty.channel.epoll.AbstractEpollChannel.doConnect0(AbstractEpollChannel.java:732)\r\nat io.netty.channel.epoll.AbstractEpollChannel.doConnect(AbstractEpollChannel.java:717)\r\nat io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.connect(AbstractEpollChannel.java:559)\r\nat io.netty.channel.DefaultChannelPipeline$HeadContext.connect(DefaultChannelPipeline.java:1366)\r\nat io.netty.channel.AbstractChannelHandlerContext.invokeConnect(AbstractChannelHandlerContext.java:545)\r\nat io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:530)\r\nat com.linecorp.armeria.client.HttpClientPipelineConfigurator.connect(HttpClientPipelineConfigurator.java:198)\r\nat io.netty.channel.AbstractChannelHandlerContext.invokeConnect(AbstractChannelHandlerContext.java:545)\r\nat io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:530)\r\nat io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:512)\r\nat io.netty.channel.DefaultChannelPipeline.connect(DefaultChannelPipeline.java:1024)\r\nat io.netty.channel.AbstractChannel.connect(AbstractChannel.java:259)\r\nat io.netty.bootstrap.Bootstrap$3.run(Bootstrap.java:252)\r\n```"}}
{"actor":{"display_login":"anuraaga"}}