Sign In Register

How can we help you today?

Start a new topic
Answered

Do not connection to Steam

SteamConnectRequest

GS: RECV:{"@class":".AuthenticationResponse","error":{"steamTicket":"NOTAUTHENTICATED","steamError":"{ \"response\" : { \"error\" : { \"errorcode\" : 102 , \"errordesc\" : \"Ticket for other app\"}}}"},"newPlayer":false,"requestId":"636451419032343153_0"}

 

 how i getting ticket

public static string GetAuthSessionTicket() {
            byte[] ticketBlob = new byte[1024];
            uint ticketSize;
            // Retrieve ticket; hTicket should be a field in the class so you can use it to cancel the ticket later
            // When you pass an object, the object can be modified by the callee. This function modifies the byte array you've passed to it.
            hTicket = SteamUser.GetAuthSessionTicket(ticketBlob, ticketBlob.Length, out ticketSize);
            // Resize the buffer to actual length
            Array.Resize(ref ticketBlob, (int)ticketSize);

            // Convert bytes to string
            StringBuilder sb = new StringBuilder();
            foreach (byte b in ticketBlob) {
                sb.AppendFormat("{0:x2}", b);
            }
            string hexTicket = sb.ToString();
            Debug.Log("[STEAM] hexTicket == " + hexTicket);

            return hexTicket;
        }

What im doing wrong?


Best Answer

Hi Alexey,


So the problem here was the Steam app not being functional until now ? The SteamConnectRequests are working as expected now ?


Regards,

Liam


i call SteamUser.BeginAuthSession with this ticket - its works correctly. Why GameSparks have response error from steam?

Test Harness - 

Ticket for other app

After 5 hours after the project was created in steam - the error has ceased to appear
Resolve

Answer

Hi Alexey,


So the problem here was the Steam app not being functional until now ? The SteamConnectRequests are working as expected now ?


Regards,

Liam


1 person likes this

All right

I have the same problem. Ticket is reported fine (EBeginAuthSessionResult.k_EBeginAuthSessionResultOK), still, GameSparks returns with Ticket for other app.

I have the same problem. Ticket is reported fine (EBeginAuthSessionResult.k_EBeginAuthSessionResultOK), still, GameSparks returns with "Ticket for other app" (code 102).

Login to post a comment