TGRHavoc / live_map

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

Error to getting the blips #40

Closed GamertjeNL closed 4 years ago

GamertjeNL commented 4 years ago

Hello, If we do the command blips generate, it will not load the blips on the server and on the website, how can we fix this?

TGRHavoc commented 4 years ago

What errors do you get in console? I've tried to make them as helpful as possible...

GamertjeNL commented 4 years ago

Screenshot 2020-03-16 at 18 10 19

GamertjeNL commented 4 years ago

2020-03-16 18:08:55+01:00: [WARN] LiveMap Sockets - Someone tried connecting from an invalid origin: http://livemap.dutchgamingscommunity.nl 2020-03-16 18:09:05+01:00: [WARN] LiveMap Sockets - Someone tried connecting from an invalid origin: http://livemap.dutchgamingscommunity.nl Sending heartbeat to https://servers-ingress-live.fivem.net/ingress 2020-03-16 18:09:53+01:00: [WARN] LiveMap Sockets - Someone tried connecting from an invalid origin: http://livemap.dutchgamingscommunity.nl

TGRHavoc commented 4 years ago

And have you got access control convar set to http://livemap.dutchgamingscommunity.nl?

GamertjeNL commented 4 years ago

yes, in the server.cfg

GamertjeNL commented 4 years ago

set socket_port 30121 set livemap_debug "warn" # "[all]" 'trace', 'debug', 'info', 'warn', 'error', 'fatal', 'off' set blip_file "server/blips.json" set livemap_access_control "https://www.livemap.dutchgamingscommunity.nl/"

TGRHavoc commented 4 years ago

Secure connections will only work with a reverse proxy set up at the minute. So, if you want that you'll have to look up how to do it on your webserver.

Anyways, remove the leading slash from the end, the https and the www.