What is the name of the domain?
zero-trust-client.cloudflareclient.com
What is the issue you’re encountering
Unable to connect WARP connector in Ubuntu 22.04
What steps have you taken to resolve the issue?
I have followed the setup instructions in the document “Set up WARP Connector”. I have verified the Client ID and token in the mdm.xml file, however the token shows “never seen” and the tunnel remains inactive. I have verified PING to the zero-trust-client.cloudflareclient.com
hostname. What is the log trying to tell me?
What are the steps to reproduce the issue?
2024-08-05T01:04:07.076Z INFO warp::warp_service: Version: 2024.4.133
2024-08-05T01:04:07.076Z ERROR warp::warp_service::ipc_cleanup: Could not read the WARP diag partials directory err=Os { code: 2, kind: NotFound, message: "No such file or directory" }
2024-08-05T01:04:07.077Z DEBUG warp_settings::raw_settings: Loading settings from file "/var/lib/cloudflare-warp/settings.json"
2024-08-05T01:04:07.078Z INFO warp_settings::raw_settings::xml: Found single configuration in MDM file.
2024-08-05T01:04:07.078Z INFO warp_settings::raw_settings::mdm: Found a single configuration in the original MDM file format
2024-08-05T01:04:07.078Z INFO warp_settings::raw_settings::xml: Found single configuration in MDM file.
2024-08-05T01:04:07.078Z INFO warp_settings::raw_settings::mdm: Found a single configuration in the original MDM file format
2024-08-05T01:04:07.079Z DEBUG warp_settings::manager: Starting local policy file watch parent_path="/var/lib/cloudflare-warp"
2024-08-05T01:04:07.083Z DEBUG watchdog: warp::watchdog: Kicking off watchdog
2024-08-05T01:04:07.084Z INFO main_loop: warp_net::ipc: Bound ipc socket name="warp_service" path="/run/cloudflare-warp/warp_service"
2024-08-05T01:04:07.084Z INFO main_loop: warp::warp_service: Warp IPC listening on "warp_service"
2024-08-05T01:04:07.084Z INFO firewall: Firewall engine running
2024-08-05T01:04:07.084Z WARN main_loop: warp::warp_service: Failed to load Registration error=OsError(Os { code: 2, kind: NotFound, message: "No such file or directory" })
2024-08-05T01:04:07.095Z DEBUG warp_api::addresses: Caching initial API IPs consumer=[104.16.80.230, 104.17.143.163, 2606:4700::6810:50e6, 2606:4700::6811:8fa3] teams=[162.159.137.105, 162.159.138.105, 2606:4700:7::a29f:8969, 2606:4700:7::a29f:8a69]
2024-08-05T01:04:07.095Z DEBUG warp::warp_api: Sending API request GET api.cloudflareclient.com./v0/client_config
2024-08-05T01:04:07.097Z DEBUG warp::warp_api: Sending API request GET zero-trust-client.cloudflareclient.com./v0/client_config
2024-08-05T01:04:07.106Z ERROR warp::warp_api: API request error ReqwestError(reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("zero-trust-client.cloudflareclient.com.")), port: None, path: "/v0/client_config", query: None, fragment: None }, source: hyper::Error(Connect, Custom { kind: Other, error: Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" } }) }), retrying in 2.057055573s
2024-08-05T01:04:07.161Z DEBUG run: warp_settings::manager: LayerManager update: NetworkDefaults(NetworkDefaults { split_config: Some(Exclude { ips: [(10.0.0.0/8, None), (100.64.0.0/10, None), (169.254.0.0/16, None), (172.16.0.0/12, None), (192.0.0.0/24, None), (192.168.0.0/16, None), (224.0.0.0/24, None), (240.0.0.0/4, None), (239.255.255.250/32, None), (255.255.255.255/32, None), (fe80::/10, None), (fd00::/8, None), (ff01::/16, None), (ff02::/16, None), (ff03::/16, None), (ff04::/16, None), (ff05::/16, None), (fc00::/7, None)], hosts: [] }) })
2024-08-05T01:04:07.161Z DEBUG main_loop: warp::warp_service: Checking for registration vs settings account mismatch reg_is_teams=false settings_is_teams=true reg_org=None settings_org=Some(Organization { name: "REDACTED" })
2024-08-05T01:04:07.162Z DEBUG main_loop: warp::warp_service: Registration is detected as out of date. Attempting to re-register with new settings
2024-08-05T01:04:07.162Z DEBUG main_loop: warp::warp_service::ipc_handlers: Sending IPC update: RegistrationInProgress
2024-08-05T01:04:07.162Z DEBUG main_loop: warp::warp_service::ipc_handlers: Ipc Broadcast ResponseUpdate: RegistrationInProgress
2024-08-05T01:04:07.162Z INFO main_loop: warp::warp_service: Running noauth flow...
2024-08-05T01:04:07.163Z INFO firewall: Firewall stopped
2024-08-05T01:04:07.163Z INFO main_loop: warp::warp_service: New User Settings
2024-08-05T01:04:07.163Z DEBUG main_loop: warp::warp_service::ipc_handlers: Sending IPC update: SettingsUpdated
2024-08-05T01:04:07.163Z DEBUG main_loop: warp::warp_service::ipc_handlers: Ipc Broadcast ResponseUpdate: SettingsUpdated
2024-08-05T01:04:07.163Z DEBUG main_loop: warp::warp_service: update_settings: no restart required
2024-08-05T01:04:07.163Z INFO firewall: Firewall stopped
2024-08-05T01:04:07.164Z INFO firewall: Firewall stopped
2024-08-05T01:04:07.164Z WARN main_loop: warp::warp_service: Connect on settings update failed error=MissingRegistration
2024-08-05T01:04:07.164Z INFO warp::warp_service: Spawning registration changed IPC loop
2024-08-05T01:04:07.165Z DEBUG main_loop: warp::warp_service: Entering main loop arm arm="status_change"
2024-08-05T01:04:07.165Z INFO main_loop: warp::warp_service: WARP status: Unable(RegistrationMissing)
2024-08-05T01:04:07.165Z DEBUG main_loop: warp::warp_service::ipc_handlers: Sending IPC status update: Unable(RegistrationMissing)
2024-08-05T01:04:07.165Z DEBUG main_loop: warp::warp_service::ipc_handlers: Ipc Broadcast ResponseStatus: Unable(RegistrationMissing)
2024-08-05T01:04:07.165Z DEBUG main_loop: warp::warp_service: Entering main loop arm arm="settings_changed"
2024-08-05T01:04:07.165Z DEBUG network_info::linux::power_notifier: Initializing dbus connection
2024-08-05T01:04:07.165Z INFO firewall: Firewall stopped
2024-08-05T01:04:07.165Z INFO main_loop: warp::warp_service: User Settings Changed: {}
2024-08-05T01:04:07.165Z DEBUG main_loop: warp::warp_service::ipc_handlers: Sending IPC update: SettingsUpdated
2024-08-05T01:04:07.166Z DEBUG main_loop: warp::warp_service::ipc_handlers: Ipc Broadcast ResponseUpdate: SettingsUpdated
2024-08-05T01:04:07.166Z DEBUG main_loop: warp::warp_service: update_settings: no restart required
2024-08-05T01:04:07.166Z INFO firewall: Firewall stopped
2024-08-05T01:04:07.166Z INFO firewall: Firewall stopped
2024-08-05T01:04:07.167Z WARN main_loop: warp::warp_service: Connect on settings update failed error=MissingRegistration
2024-08-05T01:04:07.179Z INFO warp::teams_auth: Access URL resolved to [104.19.195.29, 104.19.194.29, 2606:4700:300a::6813:c31d, 2606:4700:300a::6813:c21d].
2024-08-05T01:04:07.180Z INFO warp::teams_auth: Using Access resolved ip: 104.19.195.29.
2024-08-05T01:04:08.418Z INFO warp::teams_auth: extracted JWT from access callback_url.
2024-08-05T01:04:08.419Z DEBUG main_loop: warp::warp_service: Entering main loop arm arm="api_responses"
2024-08-05T01:04:08.419Z INFO main_loop: warp::warp_service::api_handlers: Got Access JWT, starting new registration.
2024-08-05T01:04:08.421Z DEBUG warp::warp_api: Sending API request POST zero-trust-client.cloudflareclient.com./v0/reg
2024-08-05T01:04:08.431Z ERROR warp::warp_api: API request error ReqwestError(reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("zero-trust-client.cloudflareclient.com.")), port: None, path: "/v0/reg", query: Some("device_mode=warp_connector"), fragment: None }, source: hyper::Error(Connect, Custom { kind: Other, error: Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" } }) }), retrying in 2.064472155s