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

Ticket authorization failed. Reused Ticket #2320

Open
richardportugal opened this issue Dec 28, 2023 · 2 comments
Open

Ticket authorization failed. Reused Ticket #2320

richardportugal opened this issue Dec 28, 2023 · 2 comments
Labels
bug triage Needs a preliminary assessment to determine the urgency and required action

Comments

@richardportugal
Copy link

richardportugal commented Dec 28, 2023

What happened?

My server randomly stops accepting player connections, and it only comes back when the server is restarted. Basically, the server is online, and I get around 100 players. Then, for some reason, the server doesn't 'handshake' with new players, and neither do the players who leave the server to join again.

The error that is giving me trouble is: 'Ticket authorization failed. Reused Ticket.' Sometimes the message switches to: 'HTTP/2 stream 3 was not closed cleanly before the end of the underlying stream - CURL error code 92 (Stream error in the HTTP/2 framing layer).'
I went through the source code and searched for the error, and I found it in 'code -> components -> citizen-server-impl -> src -> InitConnectMethod.cpp.' and found the error message is being returned here:
(https://github.com/citizenfx/fivem/blob/master/code/components/citizen-server-impl/src/InitConnectMethod.cpp)

		if (g_ticketList.find({ ticketExpiry, ticketGuid }) != g_ticketList.end())
		{
			if (error)
			{
				*error = "Reused ticket.";
			}

			return false;
		}

I would like to know if there could be a bug with my VPS, maybe the Steam API, or with the build

Expected result

Player connecting normally

Reproduction steps

  1. Start server
  2. Get around 100 players
  3. Randomly server stops handshaking

Importancy

There's a workaround

Area(s)

FXServer

Specific version(s)

Server 6683 windows

Additional information

No response

@richardportugal richardportugal added bug triage Needs a preliminary assessment to determine the urgency and required action labels Dec 28, 2023
@L4wlz
Copy link

L4wlz commented Jan 25, 2024

We are also experience that issue on our server and it is pretty random for some reason..
We are running build 7345 and this is happening pretty random the last few months. And suddently it stopped for some time and now it is back again. We are running our server on linux

@SKITTLE6969
Copy link

We are also experience that issue on our server and it is pretty random for some reason.. We are running build 7345 and this is happening pretty random the last few months. And suddently it stopped for some time and now it is back again. We are running our server on linux

disable steam auth from connectqueue and remove steam webapi key it should work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Needs a preliminary assessment to determine the urgency and required action
Projects
None yet
Development

No branches or pull requests

3 participants