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

IPv6 #116

Open
sfxworks opened this issue Aug 25, 2018 · 0 comments
Open

IPv6 #116

sfxworks opened this issue Aug 25, 2018 · 0 comments
Assignees
Labels
bug Things that don't work the way they should

Comments

@sfxworks
Copy link

A user suddenly switched over to an IPv6 address and is getting API errors.

[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]: java.lang.IllegalArgumentException: Could not parse [2601:204:d503:7af4:316e:92ba:8dbb:d8db]
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.util.SubnetUtils.toInteger(SubnetUtils.java:290)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.util.SubnetUtils.access$200(SubnetUtils.java:22)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.util.SubnetUtils$SubnetInfo.isInRange(SubnetUtils.java:151)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.security.SecurityService.lambda$containsProxyIP$0(SecurityService.java:116)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1574)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:449)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.security.SecurityService.containsProxyIP(SecurityService.java:116)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.security.SecurityFilter.getRealAddr(SecurityFilter.java:174)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.security.SecurityFilter.filter(SecurityFilter.java:53)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.glassfish.jersey.server.ContainerFilteringStage.apply(ContainerFilteringStage.java:132)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.glassfish.jersey.server.ContainerFilteringStage.apply(ContainerFilteringStage.java:68)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.glassfish.jersey.process.internal.Stages.process(Stages.java:197)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:269)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.glassfish.jersey.internal.Errors$1.call(Errors.java:272)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.glassfish.jersey.internal.Errors$1.call(Errors.java:268)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.glassfish.jersey.internal.Errors.process(Errors.java:316)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.glassfish.jersey.internal.Errors.process(Errors.java:298)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.glassfish.jersey.internal.Errors.process(Errors.java:268)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:289)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:256)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:703)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:416)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:370)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:389)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:342)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:229)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:860)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:219)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.server.Server.handle(Server.java:527)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:347)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:256)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:289)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.io.ssl.SslConnection$3.succeeded(SslConnection.java:149)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:382)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:708)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at valandur.webapi.shadow.org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:626)
[03:21:41] [qtp765660946-1267/INFO] [STDERR]: [valandur.webapi.handler.ErrorHandler:toResponse:34]:     at java.lang.Thread.run(Thread.java:748)
@Valandur Valandur self-assigned this Aug 25, 2018
@Valandur Valandur added the bug Things that don't work the way they should label Aug 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Things that don't work the way they should
Projects
None yet
Development

No branches or pull requests

2 participants