Jump to content
News ticker
  • Bienvenue sur le nouveau forum VeryGames
  • Welcome to the new VeryGames forum
  • VeryNews

    [JSONAPI] Demande d'aide


    TwiKz

    Recommended Posts

    Bonsoir !

     

    J'ai besoin d'aide concernant JSONAPI, je n'arrive pas à le configurer :/ Mon serveur ainsi que mon hébergement web sont chez VeryGames.

     

    A chaque fois c'est une problème de port (Enfin c'est ce que me dis le CMS) quelqu'un aurais la solution ? J'ai cru entendre parler d'un fichier php pour JSON ?

     

    Cordialement

    Link to comment
    Share on other sites

    Bonjour Adril,

     

    C'est moi qui t'ai contacté par mail tout à l'heure, les logs n'ont pas changés...

     

    Loading libraries, please wait...

    2013-12-19 21:27:10,464 ERROR Error processing element Queue: CLASS_NOT_FOUND

    2013-12-19 21:27:10,518 ERROR Unable to locate appender TerminalConsole for logger

    Link to comment
    Share on other sites

    Guest Invité

    Il me faut plus que ça. Tout les logs du démarrage pas juste quelques lignes ;-). (copie à partir du FTP si tu ne vois que cela sur le panel)

    Vérifie aussi que tu as la bonne version de JSON par rapport à ta version serveur.

    Link to comment
    Share on other sites

    En effet je ne voyais que ça sur le panel :mrgreen:

     

    Voici les logs complets :

    [22:10:04] [server thread/INFO]: Starting minecraft server version 1.7.2[22:10:04] [server thread/INFO]: Loading properties
    [22:10:04] [server thread/INFO]: Default game type: SURVIVAL
    [22:10:04] [server thread/INFO]: Generating keypair
    [22:10:04] [server thread/INFO]: Starting Minecraft server on 77.111.211.182:25565
    [22:10:04] [server thread/INFO]: This server is running CraftBukkit version git-Bukkit-1.7.2-R0.1-b2969jnks (MC: 1.7.2) (Implementing API version 1.7.2-R0.1)
    [22:10:04] [server thread/INFO]: [JSONAPI] Loading JSONAPI v5.4.0
    [22:10:04] [server thread/INFO]: [PlayerMarkers] Loading PlayerMarkers v0.2.0 edit by Xephi
    [22:10:04] [server thread/INFO]: Preparing level "world"
    [22:10:04] [Thread-7/INFO]: ----- Bukkit Auto Updater -----
    [22:10:04] [Thread-7/INFO]: It appears that you're running a Beta Build, when you've specified in bukkit.yml that you prefer to run Recommended Builds.
    [22:10:04] [Thread-7/INFO]: If you would like to be kept informed about new Beta Build releases, it is recommended that you change 'preferred-channel' in your bukkit.yml to 'beta'.
    [22:10:04] [Thread-7/INFO]: With that set, you will be told whenever a new version is available for download, so that you can always keep up to date and secure with the latest fixes.
    [22:10:04] [Thread-7/INFO]: If you would like to disable this warning, simply set 'suggest-channels' to false in bukkit.yml.
    [22:10:04] [Thread-7/INFO]: ----- ------------------- -----
    [22:10:04] [server thread/INFO]: Preparing start region for level 0 (Seed: -5803135274449124274)
    [22:10:05] [server thread/INFO]: Preparing spawn area: 35%
    [22:10:06] [server thread/INFO]: Preparing start region for level 1 (Seed: -5803135274449124274)
    [22:10:07] [server thread/INFO]: Preparing start region for level 2 (Seed: -5803135274449124274)
    [22:10:07] [server thread/INFO]: [JSONAPI] Enabling JSONAPI v5.4.0
    [22:10:07] [server thread/WARN]: java.lang.NoClassDefFoundError: net/minecraft/server/v1_6_R3/Packet71Weather
    [22:10:07] [server thread/WARN]:     at java.lang.ClassLoader.defineClass1(Native Method)
    [22:10:07] [server thread/WARN]:     at java.lang.ClassLoader.defineClass(ClassLoader.java:787)
    [22:10:07] [server thread/WARN]:     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    [22:10:07] [server thread/WARN]:     at java.net.URLClassLoader.defineClass(URLClassLoader.java:447)
    [22:10:07] [server thread/WARN]:     at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    [22:10:07] [server thread/WARN]:     at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    [22:10:07] [server thread/WARN]:     at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    [22:10:07] [server thread/WARN]:     at java.security.AccessController.doPrivileged(Native Method)
    [22:10:07] [server thread/WARN]:     at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    [22:10:07] [server thread/WARN]:     at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80)
    [22:10:07] [server thread/WARN]:     at org.bukkit.plugin.java.JavaPluginLoader.getClassByName0(JavaPluginLoader.java:300)
    [22:10:07] [server thread/WARN]:     at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:76)
    [22:10:07] [server thread/WARN]:     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53)
    [22:10:07] [server thread/WARN]:     at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    [22:10:07] [server thread/WARN]:     at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    [22:10:07] [server thread/WARN]:     at com.alecgorge.minecraft.jsonapi.packets.PacketRegistrarLauncher.<init>(PacketRegistrarLauncher.java:5)
    [22:10:07] [server thread/WARN]:     at com.alecgorge.minecraft.jsonapi.JSONAPI.onEnable(JSONAPI.java:278)
    [22:10:07] [server thread/WARN]:     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:218)
    [22:10:07] [server thread/WARN]:     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
    [22:10:07] [server thread/WARN]:     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:384)
    [22:10:07] [server thread/WARN]:     at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:298)
    [22:10:07] [server thread/WARN]:     at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:280)
    [22:10:07] [server thread/WARN]:     at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:342)
    [22:10:07] [server thread/WARN]:     at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:319)
    [22:10:07] [server thread/WARN]:     at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:275)
    [22:10:07] [server thread/WARN]:     at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:175)
    [22:10:07] [server thread/WARN]:     at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424)
    [22:10:07] [server thread/WARN]:     at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)
    [22:10:07] [server thread/WARN]: Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_6_R3.Packet71Weather
    [22:10:07] [server thread/WARN]:     at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70)
    [22:10:07] [server thread/WARN]:     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53)
    [22:10:07] [server thread/WARN]:     at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    [22:10:07] [server thread/WARN]:     at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    [22:10:07] [server thread/WARN]:     ... 28 more
    [22:10:07] [server thread/ERROR]: Couldn't register my Packet0x47HttpGetPacket! Is BukkitForge/Bukkit up to date with JSONAPI?
    [22:10:07] [server thread/INFO]: [JSONAPI] Logging to file: false
    [22:10:07] [server thread/INFO]: [JSONAPI] Logging to console: true
    [22:10:07] [server thread/INFO]: [JSONAPI] IP Whitelist = None, all requests are allowed.
    [22:10:07] [server thread/ERROR]: [JSONAPI] Couldn't start server!
    
    
    [22:10:07] [server thread/WARN]: java.lang.IllegalArgumentException: Port value out of range: 513467
    [22:10:07] [server thread/WARN]:     at java.net.ServerSocket.<init>(ServerSocket.java:232)
    [22:10:07] [server thread/WARN]:     at java.net.ServerSocket.<init>(ServerSocket.java:128)
    [22:10:07] [server thread/WARN]:     at com.alecgorge.minecraft.jsonapi.NanoHTTPD.<init>(NanoHTTPD.java:279)
    [22:10:07] [server thread/WARN]:     at com.alecgorge.minecraft.jsonapi.NanoHTTPD.<init>(NanoHTTPD.java:304)
    [22:10:07] [server thread/WARN]:     at com.alecgorge.minecraft.jsonapi.JSONServer.<init>(JSONServer.java:51)
    [22:10:07] [server thread/WARN]:     at com.alecgorge.minecraft.jsonapi.JSONAPI.onEnable(JSONAPI.java:532)
    [22:10:07] [server thread/WARN]:     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:218)
    [22:10:07] [server thread/WARN]:     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
    [22:10:07] [server thread/WARN]:     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:384)
    [22:10:07] [server thread/WARN]:     at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:298)
    [22:10:07] [server thread/WARN]:     at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:280)
    [22:10:07] [server thread/WARN]:     at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:342)
    [22:10:07] [server thread/WARN]:     at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:319)
    [22:10:07] [server thread/WARN]:     at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:275)
    [22:10:07] [server thread/WARN]:     at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:175)
    [22:10:07] [server thread/WARN]:     at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424)
    [22:10:07] [server thread/WARN]:     at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)
    [22:10:07] [server thread/INFO]: [PlayerMarkers] Enabling PlayerMarkers v0.2.0 edit by Xephi
    [22:10:07] [server thread/INFO]: PlayerMarkers version 0.2.0 edit by Xephi enabled
    [22:10:07] [server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
    [22:10:07] [server thread/INFO]: Done (3.149s)! For help, type "help" or "?"

     

    Concernant les versions, j'ai utilisé l'autoplugin donc je pense qu'il est à jour (Minecraft 1.7.4)

     

     

     

    Edit : Alors j'ai mis la dernière version du plugin de bukkit et voilà mes logs :

     

    [22:34:03] [server thread/INFO]: Starting minecraft server version 1.7.2[22:34:03] [server thread/INFO]: Loading properties
    [22:34:03] [server thread/INFO]: Default game type: SURVIVAL
    [22:34:03] [server thread/INFO]: Generating keypair
    [22:34:04] [server thread/INFO]: Starting Minecraft server on 77.111.211.182:25565
    [22:34:04] [server thread/INFO]: This server is running CraftBukkit version git-Bukkit-1.7.2-R0.1-b2969jnks (MC: 1.7.2) (Implementing API version 1.7.2-R0.1)
    [22:34:04] [server thread/INFO]: [Vault] Loading Vault v1.2.27-b349
    [22:34:04] [server thread/INFO]: [PlayerMarkers] Loading PlayerMarkers v0.2.0 edit by Xephi
    [22:34:04] [server thread/INFO]: [dynmap] Loading dynmap v1.9.1-875
    [22:34:04] [server thread/INFO]: [dynmap] Mod Support API available
    [22:34:04] [server thread/INFO]: [JSONAPI] Loading JSONAPI v5.5.0
    [22:34:04] [Thread-7/INFO]: ----- Bukkit Auto Updater -----
    [22:34:04] [Thread-7/INFO]: It appears that you're running a Beta Build, when you've specified in bukkit.yml that you prefer to run Recommended Builds.
    [22:34:04] [Thread-7/INFO]: If you would like to be kept informed about new Beta Build releases, it is recommended that you change 'preferred-channel' in your bukkit.yml to 'beta'.
    [22:34:04] [Thread-7/INFO]: With that set, you will be told whenever a new version is available for download, so that you can always keep up to date and secure with the latest fixes.
    [22:34:04] [Thread-7/INFO]: If you would like to disable this warning, simply set 'suggest-channels' to false in bukkit.yml.
    [22:34:04] [Thread-7/INFO]: ----- ------------------- -----
    [22:34:04] [server thread/INFO]: [Vault] Enabling Vault v1.2.27-b349
    [22:34:04] [server thread/INFO]: [Vault][Permission] SuperPermissions loaded as backup permission system.
    [22:34:04] [server thread/INFO]: [Vault] Enabled Version 1.2.27-b349
    [22:34:05] [server thread/INFO]: Preparing level "world"
    [22:34:05] [server thread/INFO]: Preparing start region for level 0 (Seed: -5803135274449124274)
    [22:34:06] [server thread/INFO]: Preparing spawn area: 48%
    [22:34:07] [server thread/INFO]: Preparing spawn area: 81%
    [22:34:07] [server thread/INFO]: Preparing start region for level 1 (Seed: -5803135274449124274)
    [22:34:07] [server thread/INFO]: Preparing start region for level 2 (Seed: -5803135274449124274)
    [22:34:08] [server thread/INFO]: [PlayerMarkers] Enabling PlayerMarkers v0.2.0 edit by Xephi
    [22:34:08] [server thread/INFO]: PlayerMarkers version 0.2.0 edit by Xephi enabled
    [22:34:08] [server thread/INFO]: [dynmap] Enabling dynmap v1.9.1-875
    [22:34:08] [server thread/INFO]: [dynmap] Added 38 custom biome mappings
    [22:34:08] [server thread/INFO]: [dynmap] Using Bukkit Permissions (superperms) for access control
    [22:34:08] [server thread/INFO]: [dynmap] Web interface permissions only available for online users
    [22:34:08] [server thread/ERROR]: [dynmap] Error reading plugins/dynmap/markers.yml
    [22:34:08] [server thread/INFO]: [dynmap] Extracted files upgraded
    [22:34:08] [server thread/INFO]: [dynmap] Mod Support processing completed
    [22:34:10] [server thread/INFO]: [dynmap] Loaded 21 shaders.
    [22:34:10] [server thread/INFO]: [dynmap] Loaded 82 perspectives.
    [22:34:10] [server thread/INFO]: [dynmap] Loaded 12 lightings.
    [22:34:10] [server thread/INFO]: [dynmap] Web server started on address 77.111.211.182:8123
    [22:34:10] [server thread/INFO]: [dynmap] version 1.9.1-875 is enabled - core version 1.9.1-1832
    [22:34:10] [server thread/INFO]: [dynmap] Loaded 3 maps of world 'world'.
    [22:34:10] [server thread/INFO]: [dynmap] Loaded 2 maps of world 'world_nether'.
    [22:34:10] [server thread/INFO]: [dynmap] Loaded 2 maps of world 'world_the_end'.
    [22:34:10] [server thread/INFO]: [dynmap] Enabled
    [22:34:10] [server thread/INFO]: [JSONAPI] Enabling JSONAPI v5.5.0
    [22:34:10] [server thread/INFO]: [JSONAPI] Logging to file: false
    [22:34:10] [server thread/INFO]: [JSONAPI] Logging to console: true
    [22:34:10] [server thread/INFO]: [JSONAPI] IP Whitelist = None, all requests are allowed.
    [22:34:10] [server thread/INFO]: [JSONAPI] Loaded methods.json.
    [22:34:10] [Thread-18/INFO]: [JSONAPI] Waiting 2.000 seconds to load methods so that all the other plugins load...
    [22:34:10] [Thread-18/INFO]: [JSONAPI] Any requests in this time will not work...
    [22:34:10] [server thread/INFO]: [JSONAPI] Attempting to use port 20059
    [22:34:11] [Thread-19/WARN]: java.net.BindException: Address already in use
    [22:34:11] [Thread-19/WARN]:     at java.net.PlainSocketImpl.socketBind(Native Method)
    [22:34:11] [Thread-19/WARN]:     at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
    [22:34:11] [Thread-19/WARN]:     at java.net.ServerSocket.bind(ServerSocket.java:376)
    [22:34:11] [Thread-19/WARN]:     at java.net.ServerSocket.<init>(ServerSocket.java:237)
    [22:34:11] [Thread-19/WARN]:     at java.net.ServerSocket.<init>(ServerSocket.java:128)
    [22:34:11] [Thread-19/WARN]:     at com.alecgorge.minecraft.jsonapi.JSONSocketServer.run(JSONSocketServer.java:38)
    [22:34:11] [Thread-19/WARN]:     at java.lang.Thread.run(Thread.java:722)
    [22:34:11] [Thread-19/WARN]: Exception in thread "Thread-19" 
    [22:34:11] [Thread-19/WARN]: java.lang.NullPointerException
    [22:34:11] [Thread-19/WARN]:     at com.alecgorge.minecraft.jsonapi.JSONSocketServer.run(JSONSocketServer.java:48)
    [22:34:11] [Thread-19/WARN]:     at java.lang.Thread.run(Thread.java:722)
    [22:34:11] [server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
    [22:34:11] [server thread/INFO]: Done (6.400s)! For help, type "help" or "?"
    [22:34:13] [Thread-18/INFO]: [JSONAPI] Remote Toolkit cannot be loaded because it depends on a plugin that is not installed: 'RemoteToolkitPlugin'
    [22:34:13] [Thread-18/INFO]: [JSONAPI] Remote Toolkit methods cannot be loaded because it depends on a plugin that is not installed: 'RemoteToolkitPlugin'
    [22:34:13] [Thread-18/INFO]: [JSONAPI] 382 methods loaded in 8 namespaces.
    [22:34:13] [Thread-18/INFO]: [JSONAPI] ------[Connection information]-------
    [22:34:13] [Thread-18/INFO]: [JSONAPI] JSON Server listening on 20059
    [22:34:13] [Thread-18/INFO]: [JSONAPI] JSON Stream Server listening on 20060
    [22:34:13] [Thread-18/INFO]: [JSONAPI] JSON WebSocket Stream Server listening on 20061
    [22:34:13] [Thread-18/INFO]: [JSONAPI] Active and listening for requests.
    [22:34:15] [server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 3536ms behind, skipping 70 tick(s)
    [22:34:16] [user Authenticator #1/INFO]: UUID of player Alexi0_0 is 6f5b5361c9f840f88334b686024ca375
    [22:34:16] [server thread/INFO]: Alexi0_0[/88.166.206.62:53878] logged in with entity id 322 at ([world] 186.6088160937976, 70.1707870772188, 237.3483950529951)
    [22:34:16] [Thread-18/INFO]: [JSONAPI] External IP: 77.111.204.193
    [22:34:16] [Thread-18/INFO]: [JSONAPI] Port 20059 is properly forwarded and is externally accessible.
    [22:34:17] [Thread-18/INFO]: [JSONAPI] Port 20060 is properly forwarded and is externally accessible.
    [22:34:17] [Thread-18/INFO]: [JSONAPI] Port 20061 is properly forwarded and is externally accessible.
    [22:34:17] [Thread-18/INFO]: [JSONAPI] -------------------------------------
    [22:35:00] [server thread/INFO]: Alexi0_0 has just earned the achievement [Taking Inventory]

    Edited by TwiKz
    Link to comment
    Share on other sites

    Guest Invité

    [JSONAPI] Attempting to use port 20059[22:34:11] [Thread-19/WARN]: java.net.BindException: Address already in use
    

     

    Le port serait déjà utilisé d'aprés les logs du deuxieme éxtrait.

    Link to comment
    Share on other sites

    Mariol c'est un port par personne donc je pourrais pas avec la même que toi...

     

    Je suis passé sous OpenMod pour installé la 1.6.4, cette fois aucun message d'erreur sur les logs mais connexion toujours impossible via le CMS ... Je commence à désespérer

    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...