Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Something went wrong. Please sign in again. -- can't login Hub with all my win and macbooks

Discussion in 'Unity Hub' started by songhongli, Jan 10, 2022.

  1. songhongli

    songhongli

    Joined:
    Oct 23, 2021
    Posts:
    1
    here are the log errors:
    {"level":"info","message":"[ 'client process has connected to Unity-hubIPCService!' ]","moduleName":"UnityIPCServer","timestamp":"2022-01-10T21:21:09.856Z"}
    {"level":"info","message":"[\n 'Handling url unityhub://login/?code=REDACTED_FOR_SECURITY&locale=en&session_state=REDACTED_FOR_SECURITY'\n]","moduleName":"IPCServer:HubProtocol","timestamp":"2022-01-10T21:21:09.898Z"}
    {"level":"info","message":"[\n 'Sending handle url request to main thread for unityhub://login/?code=REDACTED_FOR_SECURITY&locale=en&session_state=REDACTED_FOR_SECURITY'\n]","moduleName":"fileAssociationBootstrap","timestamp":"2022-01-10T21:21:09.884Z"}
    {"level":"info","message":"[ 'Fetching user info from the identity provider using access token' ]","moduleName":"Authentification Service","timestamp":"2022-01-10T21:21:10.149Z"}
    {"level":"error","message":"[\n 'Error fetching user info from Access Token: Error: Request failed with status code 504'\n]","moduleName":"Authentification Service","timestamp":"2022-01-10T21:21:30.232Z"}
    {"level":"warn","message":"[\n 'Could not authenticate user',\n Error: Request failed with status code 504\n at createError (C:\\Program Files\\Unity Hub\\resources\\app.asar\\node_modules\\axios\\lib\\core\\createError.js:16:15)\n at settle (C:\\Program Files\\Unity Hub\\resources\\app.asar\\node_modules\\axios\\lib\\core\\settle.js:17:12)\n at IncomingMessage.handleStreamEnd (C:\\Program Files\\Unity Hub\\resources\\app.asar\\node_modules\\axios\\lib\\adapters\\http.js:260:11)\n at IncomingMessage.emit (events.js:327:22)\n at IncomingMessage.EventEmitter.emit (domain.js:467:12)\n at endReadableNT (internal/streams/readable.js:1327:12)\n at processTicksAndRejections (internal/process/task_queues.js:80:21) {\n config: {\n url: 'https://core.hub-proxy.unity3d.com/api/users/me',\n method: 'get',\n headers: [Object],\n proxy: false,\n transformRequest: [Array],\n transformResponse: [Array],\n timeout: 0,\n adapter: [Function: httpAdapter],\n responseType: 'json',\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n maxContentLength: -1,\n maxBodyLength: -1,\n validateStatus: [Function: validateStatus],\n data: undefined\n },\n request: ClientRequest {\n _events: [Object: null prototype],\n _eventsCount: 7,\n _maxListeners: undefined,\n outputData: [],\n outputSize: 0,\n writable: true,\n destroyed: false,\n _last: true,\n chunkedEncoding: false,\n shouldKeepAlive: false,\n _defaultKeepAlive: true,\n useChunkedEncodingByDefault: false,\n sendDate: false,\n _removedConnection: false,\n _removedContLen: false,\n _removedTE: false,\n _contentLength: 0,\n _hasBody: true,\n _trailer: '',\n finished: true,\n _headerSent: true,\n socket: [TLSSocket],\n _header: 'GET /api/users/me HTTP/1.1\\r\\n' +\n 'Accept: application/json, text/plain, */*\\r\\n' +\n 'User-Agent: hub 3.0.0\\r\\n' +\n 'date: Mon, 10 Jan 2022 21:21:10 GMT\\r\\n' +\n 'Content-Type: application/json\\r\\n' +\n 'AUTHORIZATION: Bearer xxxxxxxxxxxxxxxx-88mzy3GV__0fyQk003f\\r\\n' +\n 'Host: core.hub-proxy.unity3d.com\\r\\n' +\n 'Connection: close\\r\\n' +\n '\\r\\n',\n _keepAliveTimeout: 0,\n _onPendingData: [Function: noopPendingOutput],\n agent: [BoundHttpsProxyAgent],\n socketPath: undefined,\n method: 'GET',\n maxHeaderSize: undefined,\n insecureHTTPParser: undefined,\n path: '/api/users/me',\n _ended: true,\n res: [IncomingMessage],\n aborted: false,\n timeoutCb: null,\n upgradeOrConnect: false,\n parser: null,\n maxHeadersCount: null,\n reusedSocket: false,\n host: 'core.hub-proxy.unity3d.com',\n protocol: 'https:',\n _redirectable: [Writable],\n [Symbol(kCapture)]: false,\n [Symbol(kNeedDrain)]: false,\n [Symbol(corked)]: 0,\n [Symbol(kOutHeaders)]: [Object: null prototype]\n },\n response: {\n status: 504,\n statusText: 'Gateway Timeout',\n headers: [Object],\n config: [Object],\n request: [ClientRequest],\n data: ''\n },\n isAxiosError: true,\n toJSON: [Function: toJSON]\n }\n]","moduleName":"UnityHubProtocolHandler","timestamp":"2022-01-10T21:21:30.233Z"}
    {"level":"info","message":"[\n 'unityhub://login/?code=REDACTED_FOR_SECURITY&locale=en&session_state=REDACTED_FOR_SECURITY was handled, closing the file association process'\n]","moduleName":"fileAssociationBootstrap","timestamp":"2022-01-10T21:21:30.228Z"}
    {"level":"info","message":"[ 'socket has disconnected: [object Object] , false!' ]","moduleName":"HubIPCService","timestamp":"2022-01-10T21:21:30.235Z"}
     
    taksuhwan_unity likes this.
  2. ASADIE

    ASADIE

    Joined:
    Aug 17, 2022
    Posts:
    5
    I had same issue for a long time, since I am using company MacBook, I found out I have to turn off security app which my company is using (it is not a company of gaming industry -- using UNITy or me personal love) .. so after turning off this security app I got rid of the damn issue with "Something went wrong, please sign again". Hope that will help some of you, guys. I read somewhere the issue can be connected with some PROXY or something like that, I am not tech guy, so, perhaps this hint could help somebody here as well. Peace, guys!
     
  3. cyborg07

    cyborg07

    Joined:
    Jul 9, 2023
    Posts:
    4
    How did Company allowed you to do this? :) ...turning off security is not a good solution i think. Are you still following the same situation?
    Regards,
    S