{"id":20763785,"url":"https://github.com/revenuecat/rc-connectivity-check","last_synced_at":"2026-04-19T22:32:42.511Z","repository":{"id":244070243,"uuid":"814179461","full_name":"RevenueCat/rc-connectivity-check","owner":"RevenueCat","description":"Tool to check client-side connectivity against RevenueCat services.","archived":false,"fork":false,"pushed_at":"2025-11-21T09:22:50.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-12-26T10:47:54.904Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RevenueCat.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.latest.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-12T13:45:36.000Z","updated_at":"2025-11-21T09:22:54.000Z","dependencies_parsed_at":"2024-12-13T12:28:13.391Z","dependency_job_id":"9b343f2f-43fc-4130-9b19-62d6951f464c","html_url":"https://github.com/RevenueCat/rc-connectivity-check","commit_stats":null,"previous_names":["revenuecat/rc-connectivity-check"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RevenueCat/rc-connectivity-check","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RevenueCat%2Frc-connectivity-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RevenueCat%2Frc-connectivity-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RevenueCat%2Frc-connectivity-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RevenueCat%2Frc-connectivity-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RevenueCat","download_url":"https://codeload.github.com/RevenueCat/rc-connectivity-check/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RevenueCat%2Frc-connectivity-check/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32025706,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T10:47:31.960Z","updated_at":"2026-04-19T22:32:42.493Z","avatar_url":"https://github.com/RevenueCat.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RC Connectivity Check tools\n\nThis PIP package measures the latencies to various hosts and provides statistics such as failure rates and latencies.\n\n## Installation\n\n```bash\npip install rc-connectivity-check\n```\n\nOr, if you have [uv](https://docs.astral.sh/uv/getting-started/installation/) installed, you can just run:\n\n```bash\nuvx rc-connectivity-check\n```\n\n## Usage\nJust run `rc-connectivity-check`\n\nAlso accepts an optional `--timeout` flag to increase request timeouts:\n```\nusage: checker.py [-h] [--timeout TIMEOUT]\n\nRevenueCat Connectivity Check tool\n\noptions:\n  -h, --help         show this help message and exit\n  --timeout TIMEOUT  Request timeout, in seconds (default: 5)\n```\n\nExample output (simulating an error):\n```\n$ rc-connectivity-check\nFinding client Public IP...\nClient Public IP: 1.2.3.4\n\nResolving hostnames...\n* www.revenuecat.com: Resolved ok\n  - 18.154.22.73\n  - 18.154.22.30\n  - 18.154.22.107\n  - 18.154.22.26\n* app.revenuecat.com: Resolved ok\n  - 108.157.109.77\n  - 108.157.109.6\n  - 108.157.109.82\n  - 108.157.109.103\n* api.revenuecat.com: Resolved ok\n  - 34.196.186.56\n  - 52.22.245.243\n  - 3.208.129.96\n  - 54.163.59.173\n  - 3.214.67.56\n  - 3.223.26.133\n  - \u003cbroken_id\u003e\n\nConnectivity check...\nERROR: Failed to connect to api.revenuecat.com at \u003cbroken_ip\u003e: (\u003curllib3.connection.HTTPSConnection object at 0x105e60b90\u003e, 'Connection to \u003cbroken_ip\u003e timed out. (connect timeout=5)')\nERROR: Failed to connect to api.revenuecat.com at \u003cbroken_ip\u003e: (\u003curllib3.connection.HTTPConnection object at 0x105e611c0\u003e, 'Connection to \u003cbroken_ip\u003e timed out. (connect timeout=5)')\n[...]\nERROR: Failed to connect to api.revenuecat.com at \u003cbroken_ip\u003e: (\u003curllib3.connection.HTTPSConnection object at 0x105e60440\u003e, 'Connection to \u003cbroken_ip\u003e timed out. (connect timeout=5)')\nERROR: Failed to connect to api.revenuecat.com at \u003cbroken_ip\u003e: (\u003curllib3.connection.HTTPSConnection object at 0x105e78ef0\u003e, 'Connection to \u003cbroken_ip\u003e timed out. (connect timeout=5)')\n\nResults for http://www.revenuecat.com:\n  - 18.154.22.30: OK\n    Latencies (min/max/avg): 16.6ms / 20.0ms / 16.6ms\n  - 18.154.22.73: OK\n    Latencies (min/max/avg): 17.5ms / 20.8ms / 17.5ms\n  - 18.154.22.26: OK\n    Latencies (min/max/avg): 17.4ms / 20.1ms / 17.4ms\n  - 18.154.22.107: OK\n    Latencies (min/max/avg): 17.7ms / 24.1ms / 17.7ms\n\nResults for http://app.revenuecat.com:\n  - 108.157.109.77: OK\n    Latencies (min/max/avg): 17.1ms / 21.8ms / 17.1ms\n  - 108.157.109.6: OK\n    Latencies (min/max/avg): 18.3ms / 22.6ms / 18.3ms\n  - 108.157.109.82: OK\n    Latencies (min/max/avg): 19.0ms / 23.6ms / 19.0ms\n  - 108.157.109.103: OK\n    Latencies (min/max/avg): 18.9ms / 25.7ms / 18.9ms\n\nResults for https://app.revenuecat.com:\n  - 108.157.109.6: OK\n    Latencies (min/max/avg): 36.7ms / 42.8ms / 36.7ms\n  - 108.157.109.82: OK\n    Latencies (min/max/avg): 34.4ms / 44.4ms / 34.4ms\n  - 108.157.109.103: OK\n    Latencies (min/max/avg): 35.8ms / 43.1ms / 35.8ms\n  - 108.157.109.77: OK\n    Latencies (min/max/avg): 60.9ms / 277.5ms / 60.9ms\n\nResults for https://www.revenuecat.com:\n  - 18.154.22.26: OK\n    Latencies (min/max/avg): 46.9ms / 154.1ms / 46.9ms\n  - 18.154.22.30: OK\n    Latencies (min/max/avg): 47.6ms / 154.1ms / 47.6ms\n  - 18.154.22.107: OK\n    Latencies (min/max/avg): 48.0ms / 148.6ms / 48.0ms\n  - 18.154.22.73: OK\n    Latencies (min/max/avg): 50.7ms / 154.0ms / 50.7ms\n\nResults for http://api.revenuecat.com:\n  - 34.196.186.56: OK\n    Latencies (min/max/avg): 182.3ms / 190.7ms / 182.3ms\n  - 52.22.245.243: OK\n    Latencies (min/max/avg): 175.9ms / 178.9ms / 175.9ms\n  - 54.163.59.173: OK\n    Latencies (min/max/avg): 176.3ms / 195.9ms / 176.3ms\n  - 3.208.129.96: OK\n    Latencies (min/max/avg): 181.0ms / 191.7ms / 181.0ms\n  - 3.214.67.56: OK\n    Latencies (min/max/avg): 178.3ms / 186.5ms / 178.3ms\n  - 3.223.26.133: OK\n    Latencies (min/max/avg): 170.9ms / 177.1ms / 170.9ms\n  - \u003cbroken_ip\u003e: FAILURES [10/10]\n    Latencies (min/max/avg): 5004.7ms / 5007.9ms / 5004.7ms\n\nResults for https://api.revenuecat.com:\n  - 34.196.186.56: OK\n    Latencies (min/max/avg): 361.0ms / 378.4ms / 361.0ms\n  - 52.22.245.243: OK\n    Latencies (min/max/avg): 363.8ms / 388.3ms / 363.8ms\n  - 54.163.59.173: OK\n    Latencies (min/max/avg): 365.8ms / 376.5ms / 365.8ms\n  - 3.208.129.96: OK\n    Latencies (min/max/avg): 371.7ms / 404.5ms / 371.7ms\n  - 3.214.67.56: OK\n    Latencies (min/max/avg): 369.5ms / 392.8ms / 369.5ms\n  - 3.223.26.133: OK\n    Latencies (min/max/avg): 369.6ms / 388.6ms / 369.6ms\n  - \u003cbroken_ip\u003e: FAILURES [10/10]\n    Latencies (min/max/avg): 5006.7ms / 5012.6ms / 5006.7ms\n\nThere were some connectivity failures!\nPlease help us investigate by following the next steps:\n\n1: Check network routes:\n  - Install mtr:\n    - macOS: brew install mtr\n    - Ubuntu: sudo apt-get install mtr\n  - Run mtr using the following command:\n    sudo mtr --report -n --tcp --port=443 --gracetime=5 --timeout=5 \u003cbroken_ip\u003e\n\n2: Capture network traffic while running this script:\n  - In one terminal run:\n    - On macOS, over WIFI:\n      tcpdump -i en0 -w rc_connectivity_check.pcap -s 0 tcp and port 80\n    - On macOS, over ethernet:\n      tcpdump -i en1 -w rc_connectivity_check.pcap -s 0 tcp and port 80\n    - On linux, find the interface name with ifconfig and use:\n      tcpdump -i \u003cINTERFACE\u003e -w rc_connectivity_check.pcap -s 0 tcp and port 80\n  - In another terminal, run this script again:\n    rc-connectivity-check\n  - Once completed, stop the tcpdump process with `Ctrl+C`\n  - Send the resulting rc_connectivity_check.pcap file to RevenueCat support\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frevenuecat%2Frc-connectivity-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frevenuecat%2Frc-connectivity-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frevenuecat%2Frc-connectivity-check/lists"}