You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "gonzo-soc (via GitHub)" <gi...@apache.org> on 2023/02/07 00:37:06 UTC

[GitHub] [superset] gonzo-soc opened a new issue, #23010: Failed generating csv HTTP Error 407: Authorization Required

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 = "admin@admin.com"
   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: notifications-unsubscribe@superset.apache.org.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


[GitHub] [superset] gonzo-soc commented on issue #23010: Failed generating csv HTTP Error 407: Authorization Required

Posted by "gonzo-soc (via GitHub)" <gi...@apache.org>.
gonzo-soc commented on issue #23010:
URL: https://github.com/apache/superset/issues/23010#issuecomment-1423488306

   Unfortunately, didn't help.
   
   Trying the newest version **helm-chart-0.8.5** now I get the error **Failed generating csv HTTP Error 502: Gateway error** (see update)


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


[GitHub] [superset] gonzo-soc commented on issue #23010: Failed generating csv HTTP Error 407: Authorization Required

Posted by "gonzo-soc (via GitHub)" <gi...@apache.org>.
gonzo-soc commented on issue #23010:
URL: https://github.com/apache/superset/issues/23010#issuecomment-1423488929

   > SCREENSHOT_LOCATE_WAIT = 100 SCREENSHOT_LOAD_WAIT = 1200 Try to increment 2000 1600
   
   Unfortunately, didn't help.
   
   Trying the newest version helm-chart-0.8.5 now I get the error **Failed generating csv HTTP Error 502: Gateway error** (see update)


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


[GitHub] [superset] gonzo-soc commented on issue #23010: Failed generating csv HTTP Error 407: Authorization Required

Posted by "gonzo-soc (via GitHub)" <gi...@apache.org>.
gonzo-soc commented on issue #23010:
URL: https://github.com/apache/superset/issues/23010#issuecomment-1427148144

   Close the ticket.
   **Cause of the error**: http/https proxy (via HTTP/HTTPS env variables) was setup by mistake in the superset web-server (gunicorn).


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


[GitHub] [superset] gonzo-soc closed issue #23010: Failed generating csv HTTP Error 407: Authorization Required

Posted by "gonzo-soc (via GitHub)" <gi...@apache.org>.
gonzo-soc closed issue #23010: Failed generating csv HTTP Error 407: Authorization Required
URL: https://github.com/apache/superset/issues/23010


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


Re: [I] Failed generating csv HTTP Error 407: Authorization Required [superset]

Posted by "abhinav3204 (via GitHub)" <gi...@apache.org>.
abhinav3204 commented on issue #23010:
URL: https://github.com/apache/superset/issues/23010#issuecomment-1891310509

   could you elaborate on this fix?
   I am facing the same issue.


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


[GitHub] [superset] Rohit-pawar902 commented on issue #23010: Failed generating csv HTTP Error 407: Authorization Required

Posted by "Rohit-pawar902 (via GitHub)" <gi...@apache.org>.
Rohit-pawar902 commented on issue #23010:
URL: https://github.com/apache/superset/issues/23010#issuecomment-1422508324

   SCREENSHOT_LOCATE_WAIT = 100
   SCREENSHOT_LOAD_WAIT = 1200 
   Try to increment 
   2000
   1600
   


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