TGRHavoc / live_map

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

Nucleus proxy not functioning #83

Open jxckUK opened 2 years ago

jxckUK commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Enable nucleus in the server configuration
  2. Collect the WSS link from the console output
  3. Attempt to connect to the WSS link from any environment
  4. See error

Expected behavior This should be the simplest way to get access to the live map resource via the automatic reverse proxy setup.

Screenshots N/A

Desktop (please complete the following information):

Additional context/Screenshots N/A

rhys19 commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

1. Enable nucleus in the server configuration

2. Collect the WSS link from the console output

3. Attempt to connect to the WSS link from any environment

4. See error

Expected behavior This should be the simplest way to get access to the live map resource via the automatic reverse proxy setup.

Screenshots N/A

Desktop (please complete the following information):

* Windows 11

* Edge

* N/A

Additional context/Screenshots N/A

Technically you missed the description of it so I'll do it for you: Nucleas proxy will not work, when you use the nucleas link it provides you it says can't connect to websocket.

You'll probably change up this description because idk what the real error is been awhile since I touched it.

but for Havoc this issue isn't just him it's me too, I can't seem to use nucleas either, and for some reason using a reverse proxy via NGINX doesn't anymore either when I had it setup on your old one before the update for nucleas and it worked flawlessly.

jxckUK commented 2 years ago

My bad, thanks for adding. I'm also aware Havoc knows about this issue (he's stated that he is on CFX forums) hence I didn't go into too much detail.

TGRHavoc commented 2 years ago

this issue isn't just him it's me too, I can't seem to use nucleas either, and for some reason using a reverse proxy via NGINX doesn't anymore either when I had it setup on your old one before the update for nucleas and it worked flawlessly.

Yeah, as @jxckUK mentioned I already know about Nucelus not working. It's because of my hacky implementation to set up a reverse proxy using Nucleus... Don't have much spare time to develop and test a fix at this moment in time. Afaik, I might not even need to touch the Nucleus API but, again. Need time to test this theory 😞

jxckUK commented 2 years ago

this issue isn't just him it's me too, I can't seem to use nucleas either, and for some reason using a reverse proxy via NGINX doesn't anymore either when I had it setup on your old one before the update for nucleas and it worked flawlessly.

Yeah, as @jxckUK mentioned I already know about Nucelus not working. It's because of my hacky implementation to set up a reverse proxy using Nucleus... Don't have much spare time to develop and test a fix at this moment in time. Afaik, I might not even need to touch the Nucleus API but, again. Need time to test this theory 😞

No worries! - Like Rhys, I have tried using the standalone method and not had much luck either 😞

Legacy-TacticalGamingInteractive commented 2 years ago

I wish this worked :(

TGRHavoc commented 6 months ago

I wish this worked :(

Will be fixed when v4 is out with SSE. You will be able to use the default Nucleus url that's generated for the server since it'll just hook the SetHttpHandler native. Going to mark as "wont fix" as technically I'm not touching Websockets with the newer version.

Legacy-TacticalGamingInteractive commented 6 months ago

sounds good