Cannot load web page
VonHirsch opened this issue · 11 comments
Hi Falk, i'm sure this plugin is brilliant, i'm watching your video but I can't get an index.html file to load no matter what I try. I'm putting a simple html file (index.html) in PocketMine-MP\volt\index.html. I see the plugin loading perfectly when I start my server, then I goto the browser (http://localhost:7000) but nothing comes up, not even 404.
OS: Windows 7 x64
Pocketmine Version: 1.4-916
Volt: v3.0.2
I can't reproduce the issue on my end. Do you think there could be another server on port 7000? Could you use a packet sniffer and try to diagnose the issue further?
Thanks. The issue is likely related to the HTTP protocol implementation. Is there anyway you could give me output from wireshark or tcpdump?
possibly - or is there anyway to dump out any debug or error messages to the console by running the plugin via src?
Not built in, sorry. You would need to add your own debugging to the code. Wireshark would be easier and would have more information about the request.
Ok wireshark it is then! I'll give it a shot
Ok I have it for you - here: https://drive.google.com/file/d/0B8me7IxUcHd4MUtycXJRVkZILUk/view?usp=sharing
@LouisBHirst That capture doesn't have any HTTP packets. I think you will need to capture on the loopback interface and not on wifi.
Try using curl?
Some browsers wouldn't load the page if the MIME type wasn't set correctly. This has been fixed.