Uploaded image for project: 'Realm Core'
  1. Realm Core
  2. RCORE-2062

Update App debug statements to show final request URL before sending

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 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.wilkersonbarker@mongodb.com Michael Wilkerson-Barker (Inactive)
            Reporter:
            michael.wilkersonbarker@mongodb.com Michael Wilkerson-Barker (Inactive)
            AD Sync Client
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: