You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2023/01/19 12:07:43 UTC
[GitHub] [superset] infl18 commented on issue #18885: Getting Cannot assign requested address in scheduling reports
infl18 commented on issue #18885:
URL: https://github.com/apache/superset/issues/18885#issuecomment-1396875808
Hello, faced with the same error, web driver tried both firefox and chrome.
## SETTINGS
```
WEBDRIVER_BASEURL = "http://superset:8088/"
WEBDRIVER_TYPE = "chrome"
WEBDRIVER_OPTION_ARGS = [
"--force-device-scale-factor=2.0",
"--high-dpi-support=2.0",
"--headless",
"--disable-gpu",
"--disable-dev-shm-usage",
"--no-sandbox",
"--disable-setuid-sandbox",
"--disable-extensions",
]
```
## DOCKERFILE
```
FROM apache/superset:2.0.0-dev
USER root
RUN apt-get update && \
wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
apt-get install -y --no-install-recommends ./google-chrome-stable_current_amd64.deb && \
rm -f google-chrome-stable_current_amd64.deb
RUN export CHROMEDRIVER_VERSION=$(curl --silent https://chromedriver.storage.googleapis.com/LATEST_RELEASE) && \
wget -q https://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip && \
unzip chromedriver_linux64.zip -d /usr/bin && \
chmod 755 /usr/bin/chromedriver && \
rm -f chromedriver_linux64.zip
RUN pip install --no-cache gevent psycopg2 redis
USER superset
```
## LOGS
```
Init selenium driver
[2023-01-19 11:44:01,306: INFO/ForkPoolWorker-1] Init selenium driver
Taking a PNG screenshot of url http://superset:8088/superset/dashboard/62/?standalone=3&force=true
[2023-01-19 11:44:18,409: INFO/ForkPoolWorker-1] Taking a PNG screenshot of url http://superset:8088/superset/dashboard/62/?standalone=3&force=true
A downstream exception occurred while generating a report: 47e5d40a-552d-4728-8512-89daec8285b4
Traceback (most recent call last):
File "/app/superset/tasks/scheduler.py", line 79, in execute
AsyncExecuteReportScheduleCommand(
File "/app/superset/reports/commands/execute.py", line 659, in run
raise ex
File "/app/superset/reports/commands/execute.py", line 655, in run
ReportScheduleStateMachine(
File "/app/superset/reports/commands/execute.py", line 624, in run
state_cls(
File "/app/superset/reports/commands/execute.py", line 525, in next
raise first_ex
File "/app/superset/reports/commands/execute.py", line 503, in next
self.send()
File "/app/superset/reports/commands/execute.py", line 409, in send
self._send(notification_content, self._report_schedule.recipients)
File "/app/superset/reports/commands/execute.py", line 400, in _send
raise ReportScheduleNotificationError(";".join(notification_errors))
superset.reports.commands.exceptions.ReportScheduleNotificationError: [Errno 99] Cannot assign requested address
[2023-01-19 11:44:18,863: ERROR/ForkPoolWorker-1] A downstream exception occurred while generating a report: 47e5d40a-552d-4728-8512-89daec8285b4
Traceback (most recent call last):
File "/app/superset/tasks/scheduler.py", line 79, in execute
AsyncExecuteReportScheduleCommand(
File "/app/superset/reports/commands/execute.py", line 659, in run
raise ex
File "/app/superset/reports/commands/execute.py", line 655, in run
ReportScheduleStateMachine(
File "/app/superset/reports/commands/execute.py", line 624, in run
state_cls(
File "/app/superset/reports/commands/execute.py", line 525, in next
raise first_ex
File "/app/superset/reports/commands/execute.py", line 503, in next
self.send()
File "/app/superset/reports/commands/execute.py", line 409, in send
self._send(notification_content, self._report_schedule.recipients)
File "/app/superset/reports/commands/execute.py", line 400, in _send
raise ReportScheduleNotificationError(";".join(notification_errors))
superset.reports.commands.exceptions.ReportScheduleNotificationError: [Errno 99] Cannot assign requested address
```
Has anyone encountered the same problem?
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org