TGRHavoc / live_map

A FiveM addon for live maps
https://docs.tgrhavoc.co.uk/livemap-resource/
62 stars 38 forks source link

Having a error with loading the map ((((Error getting blips! Maybe the server is down or, the config is setup incorrectly.)))) #55

Closed WolfoTheWolf closed 3 years ago

WolfoTheWolf commented 3 years ago

So I have just re-installed the live map and cleared my server cache now im having a issue actually connecting to it (btw for this demo im using xxamp) Set it up how I did last time nothing different now it does not want to show blips (when I added it I was getting a node error so I did npm i in the cmd of the live_map folder to install node winch made the error disappear) Just cant figure out why its saying there is a error. Capture Captu2re

TGRHavoc commented 3 years ago

Generally this is caused by a miss-configuration somewhere.

If your website using SSL (https) then you have to set up a reverse proxy to the resource for it to work.

Double check the values are correct. You should be able to navigate to http://IP:socket_port/blips.json to see if the resource is working as intended and serving the blip file. It could also be your firewall so make sure that the socket port is allowed through it.

WolfoTheWolf commented 3 years ago

So I done that and I am getting blip data back Capture2 Capture

TGRHavoc commented 3 years ago

What errors are you getting in the browser?

You should be able to press Ctrl + Shift + I to open the developer tools in your browser. Then click "Console" and see if there's errors there (the errors in regards to the images are normal).

WolfoTheWolf commented 3 years ago

Here is the error

Captur444e

WolfoTheWolf commented 3 years ago

Disregard, I believe it is because it was specified as HTTPS I changed it to HPPT and it solved the issue, sorry about that

TGRHavoc commented 3 years ago

Yeah, it is.

You can use HTTPs but, it does require setting up a "reverse proxy" on your webserver.