[PaperSpigot] Multiple issues with the detection of the ip. #1


Open
  • _ForgeUser26315679 created this issue Feb 19, 2017

    Hey,

    I recently installed this plugin on my server (runs paperspigot 1.11.2). It does have some issues with the auto- updater and the detection.

    I turned debug on and im seeing these errors in the server console:

    [09:55:03 INFO]: [IPChange] Probdutch connected to your server through play.hermitcraft.org.:25565 [09:55:03 INFO]: [IPChange] Probdutch should have connected to your server through play.hermitcraft.org:25565

     

    (notice the . after the ip)

     Also every startup i get this error:

    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] Internal error!
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] If this bug hasn't been reported please open a ticket at http://forums.bukkit.org/threads/autoupdate-update-your-plugins.84421/
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] Include the following into your bug report:
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate]           ======= SNIP HERE =======
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] java.net.UnknownHostException: api.bukget.org
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 	at java.net.Socket.connect(Socket.java:589)
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 	at java.net.Socket.connect(Socket.java:538)
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 	at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 	at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 	at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 	at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 	at sun.net.www.http.HttpClient.New(HttpClient.java:308)
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 	at sun.net.www.http.HttpClient.New(HttpClient.java:326)
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 	at org.triook.ipchange.AutoUpdate.run(AutoUpdate.java:310)
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 	at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:58)
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 	at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52)
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 	at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 	at java.lang.Thread.run(Thread.java:745)
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate]           ======= DUMP =======
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] version        : 1.2
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] delay          : 216000
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] ymlPrefix      : 
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] ymlSuffix      : 
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] bukkitdevPrefix: 
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] bukkitdevSuffix: 
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] bukkitdevSlug  : ipchange
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] COLOR_INFO     : BLUE
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] COLO_OK        : GREEN
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] COLOR_ERROR    : RED
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] bukget         : http://bukget.v10lator.de/ipchange
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] bukgetFallback : http://api.bukget.org/api2/bukkit/plugin/ipchange/latest
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] pid            : 55
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] av             : 1.3
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] config         : null
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] lock           : true
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] needUpdate     : false
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] updatePending  : false
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] UpdateUrl      : null
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] updateVersion  : null
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] pluginURL      : null
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] type           : null
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate]           ======= SNIP HERE =======
    [09:54:41] [Server thread/INFO]: [IPChange] [AutoUpdate] 
    

     And when users with Forge connect, i am getting these errors:

    [10:03:50 INFO]: [IPChange] Probdutch connected to your server through play.hermitcraft.org.FML:25565 [10:03:50 INFO]: [IPChange] Probdutch should have connected to your server through play.hermitcraft.org:25565 [10:03:50 INFO]: Probdutch [/ip.here:57043] logged in with entity id 622 at ([hermitcraft]461.1320886069193, 78.0, 513.7689031168668) [10:04:39 WARN]: [IPChange] Plugin IPChange v1.3 generated an exception while executing task 15 java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player; at org.triook.ipchange.Metrics.postPlugin(Metrics.java:336) ~[?:?] at org.triook.ipchange.Metrics.access$5(Metrics.java:327) ~[?:?] at org.triook.ipchange.Metrics$1.run(Metrics.java:228) ~[?:?] at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:58) ~[patched_1.11.2.jar:git-Paper-1056] at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [patched_1.11.2.jar:git-Paper-1056] at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) [patched_1.11.2.jar:git-Paper-1056] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_121] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_121] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]

    And here is my config:

    # ++++++++++++++++++++++++++++++++++++
    # + IPChange Config - 
    # Sends messages to players when they are not connecting with the proper IP
    # Authors:CainFool, Kyle0440
    # BukkitDev Page: http://dev.bukkit.org/server-mods/IPChange
    # 
    # Please use apostrophes around the messages or the plugin will break and all yer' data will be lost..
    # ++++++++++++++++++++++++++++++++++++
    settings:
      current-ip: play.hermitcraft.org
      current-port: 25565
      kick-message: 'Please connect using play.hermitcraft.org'
      kick-enable: false
      message-enable: true
      message: 'Please connect using play.hermitcraft.org'
      message-delay: 3
      debug: true
      log-to-file: false

     

    It would really help me out, as quite a few smilar plugins i tested all didn't work (and this one was the most active i found)

     

    Thanks.

     

  • _ForgeUser26315679 edited description Feb 19, 2017

To post a comment, please login or register a new account.