zhangdong1015 opened a new issue, #33602:
URL: https://github.com/apache/superset/issues/33602
### Bug description
When testing email sending functionality for reports using version 5.0.0rc2,
the following error occurred:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/superset/commands/report/execute.py", line 357, in
_get_screenshots
if imge := screenshot.get_screenshot(user=user):
File "/app/superset/utils/screenshots.py", line 176, in get_screenshot
self.screenshot = driver.get_screenshot(self.url, self.element, user)
File "/app/superset/utils/webdriver.py", line 384, in get_screenshot
driver = self.auth(user)
File "/app/superset/utils/webdriver.py", line 309, in auth
return machine_auth_provider_factory.instance.authenticate_webdriver(
File "/app/superset/utils/machine_auth.py", line 71, in
authenticate_webdriver
driver.get(headless_url("/login/"))
File
"/app/.venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py",
line 393, in get
self.execute(Command.GET, {"url": url})
File
"/app/.venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py",
line 382, in execute
response = self.command_executor.execute(driver_command, params)
File
"/app/.venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py",
line 404, in execute
return self._request(command_info[0], url, body=data)
File
"/app/.venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py",
line 428, in _request
response = self._conn.request(method, url, body=body, headers=headers,
timeout=self._client_config.timeout)
File "/app/.venv/lib/python3.10/site-packages/urllib3/request.py", line
81, in request
return self.request_encode_body(
File "/app/.venv/lib/python3.10/site-packages/urllib3/request.py", line
173, in request_encode_body
return self.urlopen(method, url, **extra_kw)
File "/app/.venv/lib/python3.10/site-packages/urllib3/poolmanager.py",
line 376, in urlopen
response = conn.urlopen(method, u.request_uri, **kw)
File "/app/.venv/lib/python3.10/site-packages/urllib3/connectionpool.py",
line 799, in urlopen
retries = retries.increment(
File "/app/.venv/lib/python3.10/site-packages/urllib3/util/retry.py", line
550, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/app/.venv/lib/python3.10/site-packages/urllib3/packages/six.py",
line 770, in reraise
raise value
File "/app/.venv/lib/python3.10/site-packages/urllib3/connectionpool.py",
line 715, in urlopen
httplib_response = self._make_request(
File "/app/.venv/lib/python3.10/site-packages/urllib3/connectionpool.py",
line 469, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File "/app/.venv/lib/python3.10/site-packages/urllib3/connectionpool.py",
line 358, in _raise_timeout
raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='localhost',
port=40077): Read timed out. (read timeout=120)
### Screenshots/recordings
_No response_
### Superset version
master / latest-dev
### Python version
3.9
### Node version
16
### Browser
Chrome
### Additional context
_No response_
### Checklist
- [ ] I have searched Superset docs and Slack and didn't find a solution to
my problem.
- [ ] I have searched the GitHub issue tracker and didn't find a similar bug
report.
- [ ] I have checked Superset's logs for errors and if I found a relevant
Python stacktrace, I included it here as text in the "additional context"
section.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]