Mineload

Mineload

7.9k Downloads

Web Interface isn't working...

alfista-sk opened this issue ยท 20 comments

commented

Hi,

I have installed your plugin, web interface and the JSONAPI.
I set the JSONAPI (ports, usernames), Mineload (ports, usernames) and all configured in your Web Interface.
But when I log in all is without any data.
Please can you help me, that I see all information about my MC server over your Web Interface?

Thanks.

commented

Hi there,

Can you view the XML through the port it's listening on?

commented

I'm using a Mac OS X 10.8 Server. No I have not errors. But now after I change IP address to DNS Web page record name is it alive. But only the Dashboard page. All others are in load mode and nothing is loaded.

commented

Hmm, so just the jsonapi stuff. The browser connects directly (not the server) to get the websocket and jsonapi data).

commented

Please can you help me, what should I set in JSONAPI? On your page isn't any help what is inner in JSONAPI for your plugin.
It will be very helpfully when you post on your page some lines what is needed to set in JASONAPI for correct working with your plugin.
Thanks.

commented

Was it this page you checked http://dev.bukkit.org/bukkit-plugins/mineload/pages/installation-part-2-the-web-interface/

It's kind of out of date but you need to ensure your web browser can talk to jsonapi. Mineload only provides the jsonapi credentials (as set in jsonapi config yml) when authenticated to the interface.

You could try telnet into the jsonapi port to check

commented

Yes I have read it, and there is nothing more about JSONAPI. I first time read about it by installing Web Interface.

I have try the telnet and see only this:

Trying 82.119.123.106...
Connected to prostudio.sk.
Escape character is '^]'.

You mean there is a problem with the JSONAPI?
When I go to the console, I have a messages: Console connected and authenticated. (No red error messages by which has the site frozen.)
Please can you help me and navigate what I done wrong?

commented

Hi,

uau this was a fast response :-)

Yes, I can.

commented

Hmm what sort of web server are you using for the crappy php ๐Ÿ’ฉ interface. Any javascript developer console errors inside chrome/firefox?

commented

Can be there a problem with ports? I have written there other ports. For your plugin I use 25567 and for JSONAPI 25555. I have checked and all are open.

I gived JSONAPI verbose mode and see there this:

2013-11-28 16:35:38 [INFO] [JSONAPI] External IP: 82.119.123.106
2013-11-28 16:35:39 [INFO] [JSONAPI] Port 25555 is properly forwarded and is externally accessible.
2013-11-28 16:35:39 [INFO] [JSONAPI] Port 25556 is properly forwarded and is externally accessible.
2013-11-28 16:35:40 [INFO] [JSONAPI] Port 25557 is properly forwarded and is externally accessible.
2013-11-28 16:35:40 [INFO] [JSONAPI] -------------------------------------

commented

Hi, can be the problem in that, that I have the newest version of JSONAPI V2?

Thanks.

commented

after restart i have this error message in my console. I think this the problem why your web page doesn't load any info from JSONAPI, while when I click on console i see they your system log the the API correctly.

2013-12-06 08:31:06 [INFO] [MineloadPlugin] Enabling MineloadPlugin v0.0.7
2013-12-06 08:31:07 [INFO] [MineloadPlugin] LWC or JSONAPI was not found. Not adding extra methods.
2013-12-06 08:31:07 [INFO] [MineloadPlugin] Starting mineloadHTTPD
2013-12-06 08:31:07 [INFO] [MineloadPlugin] URLPattern(MineloadXMLView): ^/$ registered successfully!

commented

Found the problem โ€ฆ you don't support V2 API of JSONAPI.

commented

I'm having the same problem :( Nice that you found the problem, next step is how it can be solved? Is API v1 still downloadable and can it be used with bukkit/Minecraft 1.6.4?

commented

You need to disable the new API v2 in config:

use-new-api: false

that's all. :-)

commented

Sounds easy :)
Only question, which config? The config.php or config.yml?

commented

it's in config.yml in JSONAPI folder in minecraft plugins.

commented

๐Ÿ‘ Cool bananas

commented

timatooth, are you planing an upgrade to use the new APi and features?

commented

Undecided whether Ill continue with the PHP interface code as it's quite messy. Waiting on a possible jsonapi web server over 25565 possibility.

commented

OK i will wait and i will be happy to see the news. It's great plugin and piece o work. good job.