Docker + Apache + HTTPS + Port Forwarding = Error

51 views
Skip to first unread message

sw2band

unread,
Jun 25, 2015, 10:47:34 PM6/25/15
to web...@googlegroups.com
Good day:

I'm trying to connect to the admin interface hosted on a container. I expose the ports whit this docker option:

-p 8080:80  -p 8443:443


But I get the following error when I use the 8443 port:

'Traceback (most recent call last):\n  File "/home/www-data/web2py/gluon/main.py", line 436, in wsgibase\n    session.connect(request, response)\n  File "/home/www-data/web2py/gluon/globals.py", lin
e 960, in connect\n    session_pickled = pickle.dumps(self, pickle.HIGHEST_PROTOCOL)\n  File "/home/www-data/web2py/gluon/storage.py", line 56, in <lambda>\n    __getnewargs__ = lambda self: getattr(
dict,self).__getnewargs__(self)\nTypeError: getattr(): attribute name must be string\n'


My configuration is based on the script locate on 'scripts/setup-web2py-ubuntu.sh'.

Is this a common error?

All help appreciated.

--
Guillermo C.
Reply all
Reply to author
Forward
0 new messages