thegareth opened a new issue, #34901:
URL: https://github.com/apache/superset/issues/34901

   ### Bug description
   
   We deploy main of superset, and this morning we’d had an outage, superset 
was running but wouldn’t query anything.
   
   The logs included reference to:
   
   ```
     File 
"/home/ec2-user/venv/lib64/python3.9/site-packages/urllib3/connectionpool.py", 
line 206, in __init__
       self.pool = self.QueueCls(maxsize)
     File "src/gevent/queue.py", line 513, in 
gevent._gevent_cqueue.Queue.__init__
     File "src/gevent/queue.py", line 193, in 
gevent._gevent_cqueue.SimpleQueue.__init__
     File 
"/home/ec2-user/venv/lib64/python3.9/site-packages/urllib3/util/queue.py", line 
13, in _init
       self.queue = collections.deque()
   AttributeError: attribute 'queue' of 'gevent._gevent_cqueue.SimpleQueue' 
objects is not writable
   ```
   
   This led me to finding: 
https://github.com/miguelgrinberg/python-engineio/issues/403
   
   And I fixed it by by adding to the system.d service file:
   
   `Environment=GEVENT_MONKEY_DISABLE_QUEUE_QUEUE=true`
   
   Dunno if it’s strictly a Superset issue, but wanted to share in case anyone 
else encounters it.
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   ```
     File 
"/home/ec2-user/venv/lib64/python3.9/site-packages/urllib3/connectionpool.py", 
line 206, in __init__
       self.pool = self.QueueCls(maxsize)
     File "src/gevent/queue.py", line 513, in 
gevent._gevent_cqueue.Queue.__init__
     File "src/gevent/queue.py", line 193, in 
gevent._gevent_cqueue.SimpleQueue.__init__
     File 
"/home/ec2-user/venv/lib64/python3.9/site-packages/urllib3/util/queue.py", line 
13, in _init
       self.queue = collections.deque()
   AttributeError: attribute 'queue' of 'gevent._gevent_cqueue.SimpleQueue' 
objects is not writable
   ```
   
   ### Checklist
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [x] 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: notifications-unsubscr...@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to