niharikay opened a new issue #7675: Email Dashboard does not work with HTTPS URL: https://github.com/apache/incubator-superset/issues/7675 I am trying to enable email reporting with HTTPS in Superset and facing error in celery logs. It works perfectly fine with HTTP. ### Expected results I get the email Dashboard with HTTP but not with HTTPS. ### Actual results This is the error log I am trying to resolve with emails: [2019-06-07 23:15:01,061: ERROR/ForkPoolWorker-27] Exception during reset or similar Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool/base.py", line 671, in _finalize_fairy fairy._reset(pool) File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool/base.py", line 858, in _reset pool._dialect.do_rollback(self) File "/usr/local/lib/python3.6/site-packages/sqlalchemy/dialects/mysql/base.py", line 2227, in do_rollback dbapi_connection.rollback() _mysql_exceptions.OperationalError: (2006, 'MySQL server has gone away') [2019-06-07 23:15:03,900: ERROR/ForkPoolWorker-27] Task email_reports.send[f4376e4c-128e-4fe4-a0da-1bacd084cafd] raised unexpected: WebDriverException('Failed to decode response from marionette', None, None) Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 382, in trace_task R = retval = fun(*args, **kwargs) File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 641, in __protected_call__ return self.run(*args, **kwargs) File "/home/superset/superset/tasks/schedules.py", line 392, in schedule_email_report deliver_dashboard(schedule) File "/home/superset/superset/tasks/schedules.py", line 219, in deliver_dashboard driver = create_webdriver() File "/home/superset/superset/tasks/schedules.py", line 176, in create_webdriver elements = driver.find_elements_by_id('loginbox') File "/usr/local/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 376, in find_elements_by_id return self.find_elements(by=By.ID, value=id_) File "/usr/local/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 1007, in find_elements 'value': value})['value'] or [] File "/usr/local/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/usr/local/lib/python3.6/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: Failed to decode response from marionette Geckodriver logs: UnknownError 1559949301106 mozrunner::runner INFO Running command: "/usr/bin/firefox" "-marionette" "--headless" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile.a7Jhrl13tAzM" *** You are running in headless mode. 1559949302706 mozrunner::runner INFO Running command: "/usr/bin/firefox" "-marionette" "--headless" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile.DNkPhAurTTAr" 1559949302710 Marionette INFO Listening on port 38308 1559949302727 Marionette WARN TLS certificate errors will be ignored for this session *** You are running in headless mode. JavaScript warning: https://0.0.0.0:8088/static/appbuilder/js/jquery-latest.js, line 1: Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead [Parent 99398, Gecko_IOThread] WARNING: pipe error (51): Connection reset by peer: file /build/firefox-esr-iB1UZ9/firefox-esr-60.6.2esr/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 342 ###!!! [Parent][MessageChannel] Error: (msgtype=0x160080,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv [Parent 99398, Gecko_IOThread] WARNING: pipe error (56): Connection reset by peer: file /build/firefox-esr-iB1UZ9/firefox-esr-60.6.2esr/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 342 A content process crashed and MOZ_CRASHREPORTER_SHUTDOWN is set, shutting down console.log: Accessibility service init or shutdown observer does not exist. *** UTM:SVC TimerManager:registerTimer called after profile-before-change notification. Ignoring timer registration for id: telemetry_modules_ping 1559949304388 Marionette INFO Listening on port 40322 1559949304416 Marionette WARN TLS certificate errors will be ignored for this session JavaScript warning: https://0.0.0.0:8088/static/appbuilder/js/jquery-latest.js, line 1: Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead ###!!! [Parent][MessageChannel] Error: (msgtype=0x160080,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv [Parent 99527, Gecko_IOThread] WARNING: pipe error (56): Connection reset by peer: file /build/firefox-esr-iB1UZ9/firefox-esr-60.6.2esr/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 342 A content process crashed and MOZ_CRASHREPORTER_SHUTDOWN is set, shutting down console.log: Accessibility service init or shutdown observer does not exist. *** UTM:SVC TimerManager:registerTimer called after profile-before-change notification. Ignoring timer registration for id: telemetry_modules_ping console.error: PushService: Failed to drop expired registrations on idle UnknownError console.error: PushService: Failed to drop expired registrations on idle UnknownError console.error: PushService: Failed to drop expired registrations on idle UnknownError console.error: PushService: Failed to drop expired registrations on idle UnknownError ### Checklist Make sure these boxes are checked before submitting your issue - thank you! - [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any. - [ ] I have reproduced the issue with at least the latest released version of superset. - [ ] I have checked the issue tracker for the same issue and I haven't found one similar.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
