Skip to content

Authentication Services Connection Issues (China Users) #3723

@woozievert

Description

@woozievert

What happened?

I am a Chinese user experiencing persistent issues connecting to the authentication services in FIVEM. Since a recent update, I have been receiving repeated timeout errors when attempting to connect to the authentication server, as seen in the logs below:

[ 40515] [b2612_GTAProce] CrBrowserMain/ OnConnectionProgress: Requesting server variables...
[ 40578] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 40671] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 40781] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 40875] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 40984] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 41078] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 41187] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 41281] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 41375] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 41484] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 41578] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 41687] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 41781] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 41890] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 41984] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 42093] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 42187] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 42296] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 42390] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 42484] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 42593] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 42687] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 42796] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 42890] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 43000] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 43093] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 43203] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 43296] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 43406] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 43500] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 43609] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 43703] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 43796] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 43906] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 44000] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 44109] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 44203] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 44312] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 44406] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 44515] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 44609] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 44718] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 44812] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 44921] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 45015] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 45109] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 45218] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 45312] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 45421] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 45515] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 45625] [b2612_GTAProce] UV loop: httpClient/ OnConnectionProgress: Connecting to authentication services. Please wait..
[ 45718] [b2612_GTAProce] UV loop: httpClient/ OnConnectionError: Failed to connect to authentication services in a reasonable timespan, please try again later.

The issue occurs frequently, and I need to retry multiple times to successfully connect to the server. In some cases, even after successfully connecting, I encounter the "early exit trap" error, causing the game to crash.

This issue has only occurred after a recent FIVEM update, and it severely impacts the gameplay experience for Chinese users.

Expected result

The authentication service should connect without significant delays or timeouts, allowing players to enter the game without frequent retries. Once connected, the game should not crash due to errors such as "early exit trap."

Reproduction steps

  1. Launch FIVEM client.
  2. Attempt to connect to any server.
  3. Observe that the connection times out multiple times (authentication service connection error).
  4. If connection is established, notice the "early exit trap" error causing a crash.

Importancy

Crash

Area(s)

FiveM

Specific version(s)

FiveM

Additional information

I suspect that the issue may be related to changes in the authentication service infrastructure or server location. Since network connectivity issues between China and foreign servers are common, could there be an update or change to the server locations that might be affecting the connection? A more China-friendly server or improvement in network performance could potentially resolve this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcrashtriageNeeds a preliminary assessment to determine the urgency and required action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions