titaniumnetwork-dev / Ultraviolet

A highly sophisticated proxy used for evading internet censorship or accessing websites in a controlled sandbox using the power of service-workers. Works by intercepting HTTP requests with a service worker script that follows the TompHTTP specifications.
https://docs.titaniumnetwork.org/proxies/ultraviolet
GNU Affero General Public License v3.0
565 stars 4.13k forks source link

Some games do not load properly on UV V3 #158

Open silentsparrows opened 2 months ago

silentsparrows commented 2 months ago

Issue tracker is ONLY used for reporting bugs. New features should be discussed on our Discord server.

Expected Behavior

All games are able to load successfully and you are able to play as expected.

Current Behavior

Florr.io, Digdig.io, beta.deeeep.io Stuck on connecting screen, cannot connect

Territorial.io: Works on singleplayer, but stuck on connecting screen on multiplayer

Subway Surfers: Downloads required assets, but fails to load. Uses Unity

All games using Unity 2017+: Fails to load.

Eaglercraft 1.x: Multiplayer does not connect

Possible Solution

It works with older versions of Ultraviolet (not V3)\ I don't know what causes this issue, but it seems to me that for the multiplayer games not connecting, it could be the same issue that causes that to happen, and for the Unity games not loading, that could be a separate issue

Steps to Reproduce

1. Go to any online subway surfers link (it downloads the same assets from the same source) it will download but it will be stuck.

  1. Go to https://florr.io, and select "play as guest." It will stay on "Connecting..."
  2. Go to https://digdig.io and select "play." it will stay on "Connecting..."
  3. Go to https://beta.deeeep.io/, you are unable to play due to it trying to connect
  4. Go to https://territorial.io and select Multiplayer. It will stay on a loading screen.
  5. Go to a unity game. (see this website) click on a game, and it will not load.
  6. Go to Eaglercraft 1.x (see website) go to multiplayer, and servers will not be able to connect.

Context (Environment)

Many users have been reporting this issue which is why I'm making this issue on the GitHub Again, this worked before I upgraded to UV V3. I would tell you what causes this issue but I honestly don't know, I'm not sure if it's the same issue that causes these websites to not function properly, or if there are multiple issues. The websites that are listed are not the only ones that don't work. I have noticed that a lot of online multiplayer games fail to connect as well.

If this could be fixed, it would be greatly appreciated.

Additional info

May be unrelated, but the text & icons on Eaglercraft seem very glitchy, similar to Spotify on UV V3

.

Additionally, Ultraviolet might have problems with connecting to websockets which might cause some multiplayer games to not work. See this image below. (Websocket tests return working which is weird)

silentsparrows commented 2 months ago

Also, I'm not sure if the transport has anything to do with this, but I'm using epoxy

Update: Most multiplayer games don't work on Ultraviolet V3 (it works on older versions) A lot of websites that use websockets try to connect to wss://<proxy-site>/<path> instead of using the game link, which breaks it

quotingg commented 2 months ago

not really sure what causes the subway surfers link but the other two are due to your bare server websocket

silentsparrows commented 2 months ago

not really sure what causes the subway surfers link but the other two are due to your bare server websocket

What do you mean? How should I fix it?

Percslol commented 2 months ago

Also, I'm not sure if the transport has anything to do with this, but I'm using epoxy

Update: Most multiplayer games don't work on Ultraviolet V3 (it works on older versions) A lot of websites that use websockets try to connect to wss://<proxy-site>/<path> instead of using the game link, which breaks it

i cant reproduce with territorial or florr as both work fine on my end, the subway surfers thing is weird but ill look into it

quotingg commented 2 months ago

not really sure what causes the subway surfers link but the other two are due to your bare server websocket

What do you mean? How should I fix it?

you should host your bare server on a different platform but before that what are you using to host your bare server?

silentsparrows commented 2 months ago

I don't use a bare server, it's Wisp

silentsparrows commented 2 months ago

Also, I'm not sure if the transport has anything to do with this, but I'm using epoxy Update: Most multiplayer games don't work on Ultraviolet V3 (it works on older versions) A lot of websites that use websockets try to connect to wss://<proxy-site>/<path> instead of using the game link, which breaks it

i cant reproduce with territorial or florr as both work fine on my end, the subway surfers thing is weird but ill look into it

Do you think it can be something with my server? I've tested it on multiple proxies running V3 and all of them seem to have the same error

quotingg commented 2 months ago

I don't use a bare server, it's Wisp

could probably be something with the version of wisp but other than that i have no clue

silentsparrows commented 2 months ago

It also seems that any game that is running Unity 2017+ does not seem to load.

See this website to reproduce the error: https://unblocked-games.s3.amazonaws.com/unity/index.html

Percslol commented 2 months ago

check the actual uv version you are using, most of the "bugs" that you call out here are unreproducible

Percslol commented 2 months ago

eaglercraft 1.x works fine, the relays connecting here is proof enough that it works (if you cant connect to the relays, you would not be able to make a server connection either), you just have a weird build of it or uv image

territorial.io works fine, doesn't get stuck on connecting. image

silentsparrows commented 2 months ago

eaglercraft 1.x works fine, the relays connecting here is proof enough that it works (if you cant connect to the relays, you would not be able to make a server connection either), you just have a weird build of it or uv image

territorial.io works fine, doesn't get stuck on connecting. image

Hey Percs, are you running UV locally, or on a server? The errors I am getting are happening on a server. It may be different if it is locally hosted, I don't know.

I'm using UV v3.2.6, and it's imported from the npm package. Not sure if the transport matters, but I'm using epoxy v2.1.5 with bare-mux v2.0.4.

Percslol commented 2 months ago

@DerpmanDev issue has been traced, unity 2017 games work, eaglercraft and territorial werent broken, and im still trying to figure out the issue with floor.io and digdig, its probably something completely unrelated since deeeep works fine

Percslol commented 2 months ago

the icon issue was caused due to a css rewriter bug, which im actively fixing atm

silentsparrows commented 2 months ago

@DerpmanDev issue has been traced, unity 2017 games work, eaglercraft and territorial werent broken, and im still trying to figure out the issue with floor.io and digdig, its probably something completely unrelated since deeeep works fine

Got it thank you