Does it work on your local Ubuntu install? -Jim
On Thu, Jul 11, 2019 at 9:08 AM Lovedie JC <lbjc1...@gmail.com> wrote: > I'm using Ubuntu 18.04 web2py, python 3.6. > I was trying to deploy to digital Ocean > > On Thu, 11 Jul 2019, 16:28 Jim Steil <ato.st...@gmail.com> wrote: > >> On Windows? Linux? Digital Ocean? >> >> On Thu, Jul 11, 2019 at 8:26 AM Maurice Waka <mauricew...@gmail.com> >> wrote: >> >>> The problem is with the welcome app. I haven't tried any other app. >>> >>> >>> On Thu, 11 Jul 2019, 16:23 Jim Steil <ato.st...@gmail.com> wrote: >>> >>>> Sorry then, I'm having trouble following what your problem is. The >>>> first link you gave references a question on a windows machine having SSL >>>> errors. The traceback here is on a linux machine and the link at the >>>> bottom references installing on Digital Ocean. >>>> >>>> Could you state the problem you're having now? Are you seeing the >>>> problem with one of your apps or with the welcome app? Or, maybe someone >>>> else could just in that understands what is going on. >>>> >>>> -Jim >>>> >>>> >>>> On Thu, Jul 11, 2019 at 7:40 AM Maurice Waka <mauricew...@gmail.com> >>>> wrote: >>>> >>>>> 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 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/CALkNK57PZ0YzCvCZJJSzKzwNUW7KyiyzGnAuWmzfvikWkMVGjw%40mail.gmail.com >>>>> <https://groups.google.com/d/msgid/web2py/CALkNK57PZ0YzCvCZJJSzKzwNUW7KyiyzGnAuWmzfvikWkMVGjw%40mail.gmail.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 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/CAERBpoCrDadLcA%3DTA4Nqodf9pS%3DYZ%3DndQDW-9EKBfiMO58MXVQ%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/web2py/CAERBpoCrDadLcA%3DTA4Nqodf9pS%3DYZ%3DndQDW-9EKBfiMO58MXVQ%40mail.gmail.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 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/CALkNK56T%3DPdqByvAAm4-EFNRzPbA1v%2B%3DLa8QSvjy0c2%3DixbO_g%40mail.gmail.com >>> <https://groups.google.com/d/msgid/web2py/CALkNK56T%3DPdqByvAAm4-EFNRzPbA1v%2B%3DLa8QSvjy0c2%3DixbO_g%40mail.gmail.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/CAERBpoCnAF1156qoC1Pt2Ha9-A_ko_wS4AGKGixy%3Dxe98TpRjA%40mail.gmail.com >> <https://groups.google.com/d/msgid/web2py/CAERBpoCnAF1156qoC1Pt2Ha9-A_ko_wS4AGKGixy%3Dxe98TpRjA%40mail.gmail.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 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/CAAcHJF9siPHS4D0c9EJo6wsBdMqMdcU0ttedtjTZxNstROT8OQ%40mail.gmail.com > <https://groups.google.com/d/msgid/web2py/CAAcHJF9siPHS4D0c9EJo6wsBdMqMdcU0ttedtjTZxNstROT8OQ%40mail.gmail.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/CAERBpoAJRRvyNp2zjmcwOfMZUQEBLdJDv2A%2BWjAQdC0bA0GAqA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.