-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
No reply from Marionette:Register #1838
Comments
Could you please attach a trace-level log from geckodriver? Read more about reporting actionable bugs in our contribution guidelines. Does that also happen with Firefox 84? |
Does that also happen with Firefox 84?: YES my options was: options = FirefoxOptions()
options = options.page_load_strategy = 'normal'
#headless files did not work properly
#i keepit as a ref
#options.headless = True
self.driver = webdriver.Firefox(executable_path=str(self.driver_path),service_log_path="drivers/driver_logs/geckodriver.logs", options=options) |
1612275246090 geckodriver INFO Listening on 127.0.0.1:61004 |
the last log i run it wit that code:
|
What does |
I will give you a code and a trace import time
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.expected_conditions import presence_of_element_located
with webdriver.Firefox() as driver:
wait = WebDriverWait(driver, 10)
driver.get("https://google.com/")
driver.options.log.level = "trace"
time.sleep(15) and the trace is:1612294458620 geckodriver INFO Listening on 127.0.0.1:52022 ###!!! [Child][MessageChannel] Error: (msgtype=0x6B0027,name=PNecko::Msg_RemoveRequestContext) Channel closing: too late to send/recv, messages will be lost ###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost ###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost ###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost |
Note, there is no |
THank you i will see what i can do |
I'm exeperiencing similar problem:
|
@remorhaz which version of Firefox are you using? Can you please try to run your tests with Firefox preference |
@whimboo All the versions are mentioned in the log (as a part of session creation), I'll put them here for convenience:
The problem occured under low resources on CI agent and has (probably temporarily) gone after purging old containers. I will try to reproduce it under stress. I will also try to enable actors and see what happens. |
Thanks. Make sure to also set |
I've got some problems while trying to enabling actors (will investigate that later), but for now - here's the piece of log with debug level:
I don't see anything wierd there, though. And was wrong when I thought that the error depends from resources - it seems to occur always. And that would be awesome if you'll add some mode to replace screenshot dumps in the log with just placeholders like |
By the way, how do I set {"moz:firefoxOptions": {"prefs": {"marionette.log.level": "debug"}}} But the following works: {"moz:firefoxOptions": {"log": {"level": "debug"}}} So, how exactly should I set |
I've also found |
You have to pass it via the prefs like you pasted above:
This would also apply to the actors preference. |
Aah, I see:
Marionette truncates it's dump, but |
Hm, the above preference or log setting should only affect Marionette but not geckodriver. Do you maybe pass |
Probably that's Selenium overriding the settings; I'll investigate that later. Anyway, I've succeeded to start my tests with |
With Firefox 88 Nightly and Firefox 87 beta the code around |
System
85.0 64bit
selenium==3.141.0
/after some initialization code I want to get/
driver.get('http://google.com/')
Trace-level log
1612266596021 geckodriver INFO Listening on 127.0.0.1:59832
1612266598992 mozrunner::runner INFO Running command: "C:\Program Files\Mozilla Firefox\firefox.exe" "--marionette" "-foreground" "-no-remote" "-profile" "C:\Users\HP\AppData\Local\Temp\rust_mozprofiletlW72N"
console.warn: SearchSettings: "get: No settings file exists, new profile?" (new Error("", "(unknown module)"))
1612266605070 Marionette INFO Listening on port 59841
1612266605617 Marionette WARN TLS certificate errors will be ignored for this session
1612266605637 Marionette ERROR [15] No reply from Marionette:Register
console.warn: SearchSettings: "get: No settings file exists, new profile?" (new Error("", "(unknown module)"))
1612266648442 Marionette INFO Stopped listening on port 59841
The text was updated successfully, but these errors were encountered: