This has nothing to do with web2py code. The code works well but only using
the above links I showed did I get the error.
Regards

On Thu, Jul 11, 2019 at 3:04 PM Jim S <ato.st...@gmail.com> wrote:

> Can you show some code?  The controller and view where this is happening?
>
> -Jim
>
> On Thursday, July 11, 2019 at 2:00:44 AM UTC-5, Maurice Waka wrote:
>>
>> I couldn't get an answer on this link
>> <https://www.mail-archive.com/web2py@googlegroups.com/msg170386.html>.
>>
>> My traceback is this
>>
>> ERROR:Rocket.Errors.Port8000:Traceback (most recent call last):
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 555, in listen
>>     sock = self.wrap_socket(sock)
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 507, in
>> wrap_socket
>>     ssl_version=ssl.PROTOCOL_SSLv23)
>>   File "/usr/lib/python3.6/ssl.py", line 1158, in wrap_socket
>>     ciphers=ciphers)
>>   File "/usr/lib/python3.6/ssl.py", line 817, in __init__
>>     self.do_handshake()
>>   File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
>>     self._sslobj.do_handshake()
>>   File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
>>     self._sslobj.do_handshake()
>> OSError: [Errno 0] Error
>>
>>
>> Exception in thread Thread-10:
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
>>     self.run()
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
>>     conn = Connection(*conn)
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in __init__
>>     self.socket.settimeout(SOCKET_TIMEOUT)
>> OSError: [Errno 9] Bad file descriptor
>>
>>
>> Exception in thread Thread-11:
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
>>     self.run()
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
>>     conn = Connection(*conn)
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in __init__
>>     self.socket.settimeout(SOCKET_TIMEOUT)
>> OSError: [Errno 9] Bad file descriptor
>>
>>
>> Exception in thread Thread-12:
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
>>     self.run()
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
>>     conn = Connection(*conn)
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in __init__
>>     self.socket.settimeout(SOCKET_TIMEOUT)
>> OSError: [Errno 9] Bad file descriptor
>>
>>
>> Exception in thread Thread-9:
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
>>     self.run()
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
>>     conn = Connection(*conn)
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in __init__
>>     self.socket.settimeout(SOCKET_TIMEOUT)
>> OSError: [Errno 9] Bad file descriptor
>>
>> Is there any solution to this?
>>
>> I'm trying out my app on digitalocean, on this link
>> <https://www.digitalocean.com/community/tutorials/how-to-deploy-web2py-python-applications-with-uwsgi-and-nginx-on-ubuntu-14-04>
>>
>> Regards
>>
>> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/pEYZ6BmYS8U/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/6ebbaead-0b80-4bcc-8f5c-7390e4747898%40googlegroups.com
> <https://groups.google.com/d/msgid/web2py/6ebbaead-0b80-4bcc-8f5c-7390e4747898%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CALkNK57PZ0YzCvCZJJSzKzwNUW7KyiyzGnAuWmzfvikWkMVGjw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to