Getting "Registration response error messages" with Chromedriver 138.0.7204.92 in selenium

83 views
Skip to first unread message

And Gra

unread,
Jul 4, 2025, 2:49:17 AMJul 4
to ChromeDriver Users
I suddenly get a lot of error messages in Chromedriver 138, which wasn't the case up to and including the version 137, when using it with selenium. Even a very simple code will produce these error messages.

Example code:

print("Starting...")
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.chrome.options import Options
import time

chrome_options = Options()
chrome_options.add_argument("--disable-search-engine-choice-screen")
driver = webdriver.Chrome(options=chrome_options)
driver.maximize_window()
driver.get('https://stackoverflow.com')

time.sleep(5)
driver.close()
driver.quit()

Output:

Starting...

DevTools listening on ws://127.0.0.1:62723/devtools/browser/74d3cebf-70b4-408e-bc73-eb8794d5d0b1
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1751611600.268543    5768 voice_transcription.cc:58] Registering VoiceTranscriptionCapability
[9156:2652:0704/084640.461:ERROR:google_apis\gcm\engine\registration_request.cc:291] Registration response error message: PHONE_REGISTRATION_ERROR
[9156:2652:0704/084640.496:ERROR:google_apis\gcm\engine\mcs_client.cc:700]   Error code: 401  Error message: Authentication Failed: wrong_secret
[9156:2652:0704/084640.496:ERROR:google_apis\gcm\engine\mcs_client.cc:702] Failed to log in to GCM, resetting connection.
[9156:2652:0704/084640.508:ERROR:google_apis\gcm\engine\registration_request.cc:291] Registration response error message: PHONE_REGISTRATION_ERROR

I'm not even using selenium on a phone but on a desktop PC and the script doesn't have anyhting to do with GCM or mobile communication so I wonder why these messages appear.

Martin Matlok

unread,
Jul 9, 2025, 4:44:49 PMJul 9
to ChromeDriver Users

I'm seeing the same issue, but only observing it when the -headless flag is added. 
I0000 00:00:1752093337.101305   21576 voice_transcription.cc:58] Registering VoiceTranscriptionCapability
[14632:18120:0709/163538.678:ERROR:google_apis\gcm\engine\registration_request.cc:291] Registration response error message: PHONE_REGISTRATION_ERROR
[14632:18120:0709/163538.706:ERROR:google_apis\gcm\engine\mcs_client.cc:700]   Error code: 401  Error message: Authentication Failed: wrong_secret
[14632:18120:0709/163538.706:ERROR:google_apis\gcm\engine\mcs_client.cc:702] Failed to log in to GCM, resetting connection.
Reply all
Reply to author
Forward
0 new messages