-
Notifications
You must be signed in to change notification settings - Fork 868
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass "production" as vpn payment env value in prod env #17244
Conversation
e71526e
to
7e84a62
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ++
NOTE: when merging, we'll want to uplift to 1.49 |
Verified
|
Brave | 1.50.47 Chromium: 110.0.5481.104 (Official Build) nightly (64-bit) |
---|---|
Revision | 46de4a7f41979e829b430bc1ee30ef483aa227ac-refs/branch-heads/5481_77@{#19} |
OS | Windows 10 Version 22H2 (Build 19045.2604) |
Steps:
- installed
1.50.47
- launched Brave using
brave.exe --enable-logging=stderr --vmodule=*vpn*=2
- enabled
VPN
viabrave://flags
- restarted Brave
- purchased, configured, and connected to
Brave VPN
- switched server regions
- examined the logs
Confirmed:
[6484:8524:0218/185303.845:VERBOSE2:brave_vpn_os_connection_api_base.cc(401)] ParseAndCacheHostnames : request profile credential:production [6484:8524:0218/185304.401:VERBOSE2:brave_vpn_os_connection_api_base.cc(423)] OnGetProfileCredentials : received profile credential
Full logs below:
[6484:8524:0218/185250.495:VERBOSE2:brave_vpn_service.cc(554)] GetPurchasedState : PURCHASED
[6484:8524:0218/185250.520:VERBOSE2:brave_vpn_service.cc(579)] LoadPurchasedState: Set as a purchased user as we have valid subscriber credentials & region data
[6484:8524:0218/185250.566:VERBOSE2:brave_vpn_service.cc(187)] GetConnectionState : CONNECTED
[6484:8524:0218/185250.566:VERBOSE2:brave_vpn_service.cc(404)] GetSelectedRegion
[6484:8524:0218/185257.550:VERBOSE2:brave_vpn_os_connection_api_base.cc(136)] Disconnect : start disconnecting!
[6484:8524:0218/185257.550:VERBOSE2:brave_vpn_os_connection_api_base.cc(286)] UpdateAndNotifyConnectionStateChange : changing from CONNECTED to DISCONNECTING
[6484:8524:0218/185257.551:VERBOSE2:brave_vpn_service.cc(136)] OnConnectionStateChanged DISCONNECTING
[6484:8524:0218/185257.677:VERBOSE2:brave_vpn_os_connection_api_base.cc(286)] UpdateAndNotifyConnectionStateChange : changing from DISCONNECTING to DISCONNECTED
[6484:8524:0218/185257.678:VERBOSE2:brave_vpn_service.cc(136)] OnConnectionStateChanged DISCONNECTED
[6484:8524:0218/185300.122:VERBOSE2:brave_vpn_os_connection_api_base.cc(255)] OnNetworkChanged : 6
[6484:8524:0218/185300.122:VERBOSE2:brave_vpn_os_connection_api_base.cc(255)] OnNetworkChanged : 2
[6484:8524:0218/185303.249:VERBOSE2:brave_vpn_service.cc(433)] SetSelectedRegion : Japan
[6484:8524:0218/185303.249:VERBOSE2:brave_vpn_os_connection_api_base.cc(170)] ResetConnectionInfo
[6484:8524:0218/185303.250:VERBOSE2:brave_vpn_os_connection_api_base.cc(102)] Connect : start connecting!
[6484:8524:0218/185303.250:VERBOSE2:brave_vpn_os_connection_api_base.cc(286)] UpdateAndNotifyConnectionStateChange : changing from DISCONNECTED to CONNECTING
[6484:8524:0218/185303.250:VERBOSE2:brave_vpn_service.cc(136)] OnConnectionStateChanged CONNECTING
[6484:8524:0218/185303.250:VERBOSE2:brave_vpn_os_connection_api_base.cc(331)] FetchHostnamesForRegion
[6484:8524:0218/185303.845:VERBOSE2:brave_vpn_os_connection_api_base.cc(353)] OnFetchHostnames
[6484:8524:0218/185303.845:VERBOSE2:brave_vpn_os_connection_api_base.cc(391)] ParseAndCacheHostnames : Picked tokyo-1.sgw.guardianapp.com, Tokyo, Japan, 0, 0
[6484:8524:0218/185303.845:VERBOSE2:brave_vpn_os_connection_api_base.cc(401)] ParseAndCacheHostnames : request profile credential:production
[6484:8524:0218/185304.401:VERBOSE2:brave_vpn_os_connection_api_base.cc(423)] OnGetProfileCredentials : received profile credential
[6484:8524:0218/185304.422:VERBOSE2:brave_vpn_os_connection_api_base.cc(179)] OnCreated
[6484:8524:0218/185305.431:VERBOSE2:brave_vpn_os_connection_api_base.cc(202)] OnConnected
[6484:8524:0218/185305.432:VERBOSE2:brave_vpn_os_connection_api_base.cc(286)] UpdateAndNotifyConnectionStateChange : changing from CONNECTING to CONNECTED
[6484:8524:0218/185305.432:VERBOSE2:brave_vpn_service.cc(136)] OnConnectionStateChanged CONNECTED
Resolves brave/brave-browser#28554
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
wikinpm run lint
,npm run presubmit
wiki,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan:
BraveVPNUtilsUnitTest.VPNPaymentsEnv
--enable-logging=stderr --vmodule=*vpn*=2
production
) is printedbrave_vpn_os_connection_api_base.cc(401)] ParseAndCacheHostnames : request profile credential:production