Update App debug statements to show final request URL before sending

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Sync
    • None

      This debug sequence is confusing, since it appears the request is being sent to the default base URL, but the request URL is actually being updated with the server URL from the location response prior to sending the request to the server.

      Debug: App: do_authenticated_request: POST https://realm.mongodb.com/api/client/v2.0/app/securehealth-gtcux/functions/call
      Debug: App: request location: https://realm.mongodb.com/api/client/v2.0/app/securehealth-gtcux/location
      HiveLinkManager queryAppLifecycle against public user: 65eb8e46d8d9b2f3926a7882
      Debug: App: call_function: find service_name: mongodb-atlas args_bson: [{"database":"PublicHealthDB","collection":"Versions","query":{"build":{"$numberLong":"1"},"appVersion":"3.0"}}]
      Debug: App: do_authenticated_request: POST https://realm.mongodb.com/api/client/v2.0/app/publichealth-tecxu/functions/call
      Debug: App: request location: https://realm.mongodb.com/api/client/v2.0/app/publichealth-tecxu/location
      HealthHelper validateHealthAccess
      Debug: App: Location info returned for deployment model: LOCAL(US-VA)
      Debug: App: update_hostname: https://us-east-1.aws.realm.mongodb.com | wss://ws.us-east-1.aws.realm.mongodb.com | base URL: https://realm.mongodb.com
      Debug: App: Location info returned for deployment model: LOCAL(US-VA)
      Debug: App: update_hostname: https://us-east-1.aws.realm.mongodb.com | wss://ws.us-east-1.aws.realm.mongodb.com | base URL: https://realm.mongodb.com
      Debug: App: refresh_access_token: email: <null>
      Debug: App: refresh_access_token: email: <null>
      

              Assignee:
              Michael Wilkerson-Barker (Inactive)
              Reporter:
              Michael Wilkerson-Barker (Inactive)
              Archiver:
              Marc Greenfield

                Created:
                Updated:
                Archived: