gonzo-soc opened a new issue, #23010:
URL: https://github.com/apache/superset/issues/23010

   A clear and concise description of what the bug is.
   **Failed generating csv HTTP Error 407: Authorization Required** - using 
firefox webdriver and Superset 2.0.0 release.
   
   #### How to reproduce the bug
   
   1. Go to 'Alerts and Reports'
   2. Create new scheduled reports on dashboard or chart (_Send as CSV_)
   3. See error log 
   
   ### Expected results
   dashboard screenshot received by email w/o errors
   
   ### Actual results
   
   Received a log message: **Failed generating csv HTTP Error 407: 
Authorization Required**.
   
   #### Screenshots
   
![image](https://user-images.githubusercontent.com/30850323/217115980-5ab33f8a-e608-45d6-bceb-2060ca066ec4.png)
   ### Environment
   
   (please complete the following information):
   
   - browser type and version: `Chrome Version 109.0.5414.120 (Official Build) 
(64-bit)`
   - superset version: `superset version 2.0.0`
   - python version: `Python 3.8.12`
   - node.js version: `N/A`
   - podman version: `4.0.2`
   - podman-compose version: `1.0.4`
   - host OS: `Rocky Linux release 8.6 (Green Obsidian)`
   - firefox webdriver: `GECKODRIVER_VERSION=v0.29.0`
   
   ### Checklist
   
   Make sure to follow these steps 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.
   
   ### Additional context
   1) **PNG-report** is being generated successfully (see the comment here: 
https://github.com/apache/superset/issues/22326 - on Dec 5, 2022)  
   
   2) Configuration (superset_config_docker.py):
   ```
   ENABLE_SCHEDULED_EMAIL_REPORTS = True
   ALERT_REPORTS_NOTIFICATION_DRY_RUN = False
   
   SMTP_HOST = "smtp.somedomain.com" 
   SMTP_PORT = 25 # your port, e.g. 587
   SMTP_STARTTLS = False
   SMTP_SSL_SERVER_AUTH = False 
   SMTP_SSL = False
   SMTP_USER = "" 
   SMTP_PASSWORD = "" 
   SMTP_MAIL_FROM = "[email protected]"
   EMAIL_REPORTS_SUBJECT_PREFIX = "[SELLC Superset-dev] report" 
   WEBDRIVER_BASEURL = "http://superset:8088";
   WEBDRIVER_BASEURL_USER_FRIENDLY = "http://localhost:8088";
   
   SCREENSHOT_LOCATE_WAIT = 100
   SCREENSHOT_LOAD_WAIT = 1200
   
   THUMBNAIL_SELENIUM_USER = "admin" 
   
   SQLALCHEMY_ECHO = True
   
   SCREENSHOT_LOCATE_WAIT = 100
   SCREENSHOT_LOAD_WAIT = 1200
   ```
   


-- 
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]

Reply via email to