Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Minehut and other proxy servers #247

Open
Aizistral opened this issue Oct 29, 2022 · 6 comments
Open

Issue with Minehut and other proxy servers #247

Aizistral opened this issue Oct 29, 2022 · 6 comments
Assignees
Labels
3rd party issue The issue is not related to this mod alone bug Something isn't working confirmed Confirmed bug/approved suggestion

Comments

@Aizistral
Copy link
Member

Aizistral commented Oct 29, 2022

Modloader

Fabric

Minecraft Version

1.19 - 1.19.2

Modloader Version

any

No Chat Reports Version

1.19.1 - 1.19.2

Modpack Info

No response

The latest.log File

No response

Bug Description

This is particularly prevalent with https://minehut.com, but can happen with other servers that use Velocity or some other kind of proxy.

The idea is that if proxy server that player initially entered is configured with enforce-secure-profile set to false, NCR users will connect without exposing their public key, and NCR will evaluate safety status as "unintrusive", subsequently sending all chat messages unsigned. However, backend server behind that proxy server does not have to have enforce-secure-profile disabled as well. If it is enabled on backend server, users will still be able to join it, but sending anything into the chat will result in them being kicked due to "Chat message validation failure".

Steps to Reproduce

  1. Join hub on minehut.com;
  2. Join any one of their servers with enforce-secure-profile enabled;
  3. Try to send something into the chat;
  4. Behold!

Other Information

There is no simple way to fix this, but it can be circumvented with the use of mod toggle in multiplayer menu.

@Aizistral Aizistral added bug Something isn't working confirmed Confirmed bug/approved suggestion 3rd party issue The issue is not related to this mod alone priority: normal labels Oct 29, 2022
@Aizistral Aizistral self-assigned this Oct 29, 2022
@Aizistral Aizistral changed the title Issue with proxy servers Issue with Minehut and other proxy servers Oct 29, 2022
@Aizistral Aizistral pinned this issue Oct 29, 2022
@Madis0
Copy link
Collaborator

Madis0 commented Oct 29, 2022

Possible workarounds:

@Aizistral
Copy link
Member Author

Aizistral commented Oct 29, 2022

I tried to join via servername.minehut.gg, but it still goes through the proxy. Is it different for .com?

@Madis0
Copy link
Collaborator

Madis0 commented Oct 29, 2022

Is it different for .com?

Probably not then, was just a guess from me.

@USBCharger
Copy link

Unable to even chat on Minehut, using 1.19.4, it was working on Minehut for a while, and after a time worked perfectly on 1.19.3, but since I updated my server to 1.19.4 it's been spotty, and now that I've updated my client to 1.19.4 I can't chat at all without being kicked on 1.19.4 (haven't confirmed if the same thing happens when players chat, but assume it does)

@Madis0
Copy link
Collaborator

Madis0 commented Mar 22, 2023

Minehut lobby displays a custom message which NCR cannot detect, so the user must enable signing manually (if wanted
-- user-provided servers usually don't require it). But I am not sure where do you get kicks in, can you share the server IP?

@USBCharger
Copy link

Was going to edit but you responded before I got the chance: after posting I thought to change a setting in the NCR mod page after I got multiple chat msg validation failure kicks, and I stopped getting kicked. I wasn't sure if the mod was disabled or not since previously when I had disabled it I would stop getting kicked, so I tried going on different servers (spent an hour, none of them had reportable chat msgs LOL) and finally had to start an Aternos server, and discovered it was working, so I'm not sure if this is an intermittent thing like it was when I was on my 1.19.3 client on a 1.19.4 server, but the issue doesn't seem to be occurring atm. Also, I'll put the IP/discord here, but the server isn't gonna be open for another day/few days as I'm trying to get it ready for launch lol.
play.arisecity.net
discord.arisecity.net (In case you actually wanna stay/play since I'm posting the IP lol)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3rd party issue The issue is not related to this mod alone bug Something isn't working confirmed Confirmed bug/approved suggestion
Projects
None yet
Development

No branches or pull requests

3 participants