Giter Site home page Giter Site logo

connectionlistener's Introduction

Hi there 👋

🔭 I'm currently working for...

BlueberryMC project, a yet another Minecraft modding API

🌱 Learning

  • C++ (along with JNI)

💬 Talk to me when...

  • you have some error when developing your own plugin (with stacktraces, please)
  • or if you just want to talk with me

📫 How to reach me

  • Discord: PerfectBoat#0001 (preferred)
  • email: me@acrylicstyle.xyz (please don't send promotional emails)
  • Twitter: @PerfectBoatJP (not recommended, though)

⚡ Fun fact

🔧 Staff

▶️ Present

  • Azisaba Network -> June 15, 2021 - present

⏹️ Past

  • Yululi Server -> June 2019 - January 2021

💥 Fun stuff

✨ other stuff

connectionlistener's People

Contributors

acrylic-style avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

connectionlistener's Issues

proxy protocolでの接続時にエラーが出て接続できない

環境

  • OS: CentOS 7
  • Minectaft ver: 1.11.2
  • Java ver 1.8.0_252

エラー内容

[05:13:35 WARN]: Failed to initialize a channel. Closing: [id: 0x48cb62bd, /XXX.XXX.XXX.XXX:37719 => /192.168.XXX.XXX:25588]
java.lang.reflect.InvocationTargetException: null
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_252]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_252]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_252]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_252]
        at com.viaversion.viaversion.bukkit.handlers.BukkitChannelInitializer.initChannel(BukkitChannelInitializer.java:60) ~[?:?]
        at io.netty.channel.ChannelInitializer.channelRegistered(ChannelInitializer.java:69) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:158) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRegistered(AbstractChannelHandlerContext.java:144) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.channel.DefaultChannelPipeline.fireChannelRegistered(DefaultChannelPipeline.java:732) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:442) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.channel.AbstractChannel$AbstractUnsafe.access$100(AbstractChannel.java:374) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:418) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:380) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:268) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]
Caused by: java.lang.NoClassDefFoundError: io/netty/handler/codec/haproxy/HAProxyMessageDecoder
        at xyz.acrylicstyle.connectionListener.netty.NettyHAProxyChannelInitializer.initChannel(NettyHAProxyChannelInitializer.java:44) ~[?:?]
        at xyz.acrylicstyle.connectionListener.netty.NettyHAProxyChannelInitializer.initChannel(NettyHAProxyChannelInitializer.java:17) ~[?:?]
        ... 16 more
Caused by: java.lang.ClassNotFoundException: io.netty.handler.codec.haproxy.HAProxyMessageDecoder
        at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[?:1.8.0_252]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_252]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_252]
        at xyz.acrylicstyle.connectionListener.netty.NettyHAProxyChannelInitializer.initChannel(NettyHAProxyChannelInitializer.java:44) ~[?:?]
        at xyz.acrylicstyle.connectionListener.netty.NettyHAProxyChannelInitializer.initChannel(NettyHAProxyChannelInitializer.java:17) ~[?:?]
        ... 16 more
[05:13:35 WARN]: An exception was thrown by a user handler's exceptionCaught() method while handling the following exception:
java.lang.NullPointerException: null
        at net.minecraft.server.v1_11_R1.NetworkManager.close(NetworkManager.java:247) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at net.minecraft.server.v1_11_R1.NetworkManager.channelInactive(NetworkManager.java:106) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:233) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:219) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:228) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:233) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:219) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:228) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:233) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:219) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:75) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:233) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:219) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:75) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.handler.timeout.ReadTimeoutHandler.channelInactive(ReadTimeoutHandler.java:144) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:233) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:219) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:769) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.channel.AbstractChannel$AbstractUnsafe$5.run(AbstractChannel.java:567) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:380) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:268) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [spigot-1.11.2.jar:git-Spigot-3fb9445-34612b0]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]

設定ファイル

listeners:
- proxy_protocol: true
  epoll: true
  port: -1
  server_ip: 'null'
  experimental:
    useReflectionChannelInitializer: false

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.