Skip to content
Snippets Groups Projects
Commit 91df0876 authored by Dorothee Hueser's avatar Dorothee Hueser
Browse files

cleared from pycache, including a .gitignore

parent 227623ac
No related branches found
No related tags found
No related merge requests found
File deleted
File deleted
File deleted
File deleted
https://0.0.0.0:8080/
Traceback (most recent call last):
File "hallo3.py", line 19, in <module>
app.run()
File "/home/hueser01/.local/lib/python3.6/site-packages/web/application.py", line 360, in run
return wsgi.runwsgi(self.wsgifunc(*middleware))
File "/home/hueser01/.local/lib/python3.6/site-packages/web/wsgi.py", line 66, in runwsgi
return httpserver.runsimple(func, server_addr)
File "/home/hueser01/.local/lib/python3.6/site-packages/web/httpserver.py", line 176, in runsimple
server.start()
File "/home/hueser01/.local/lib/python3.6/site-packages/cheroot/server.py", line 1813, in start
self.prepare()
File "/home/hueser01/.local/lib/python3.6/site-packages/cheroot/server.py", line 1772, in prepare
raise socket.error(msg)
OSError: No socket could be created -- (('0.0.0.0', 8080): [Errno 98] Address already in use)
Error in HTTPServer.tick
Traceback (most recent call last):
File "/home/hueser01/.local/lib/python3.6/site-packages/cheroot/server.py", line 1788, in serve
self.tick()
File "/home/hueser01/.local/lib/python3.6/site-packages/cheroot/server.py", line 2023, in tick
conn = self.connections.get_conn(self.socket)
File "/home/hueser01/.local/lib/python3.6/site-packages/cheroot/connections.py", line 188, in get_conn
return self._from_server_socket(server_socket)
File "/home/hueser01/.local/lib/python3.6/site-packages/cheroot/connections.py", line 207, in _from_server_socket
s, ssl_env = self.server.ssl_adapter.wrap(s)
File "/home/hueser01/.local/lib/python3.6/site-packages/cheroot/ssl/builtin.py", line 278, in wrap
sock, do_handshake_on_connect=True, server_side=True,
File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
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()
ssl.SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:852)
Traceback (most recent call last):
File "./hallo2.py", line 8, in <module>
private_key='./server.key')
File "/home/hueser01/.local/lib/python3.6/site-packages/cheroot/ssl/builtin.py", line 226, in __init__
self.context.load_cert_chain(certificate, private_key)
OSError: [Errno 22] Invalid argument
Traceback (most recent call last):
File "./hallo2.py", line 8, in <module>
private_key='./server.key')
File "/home/hueser01/.local/lib/python3.6/site-packages/cheroot/ssl/builtin.py", line 226, in __init__
self.context.load_cert_chain(certificate, private_key)
OSError: [Errno 22] Invalid argument
https://0.0.0.0:2121/
Traceback (most recent call last):
File "./hallo2.py", line 20, in <module>
app.run()
File "/home/hueser01/.local/lib/python3.6/site-packages/web/application.py", line 360, in run
return wsgi.runwsgi(self.wsgifunc(*middleware))
File "/home/hueser01/.local/lib/python3.6/site-packages/web/wsgi.py", line 66, in runwsgi
return httpserver.runsimple(func, server_addr)
File "/home/hueser01/.local/lib/python3.6/site-packages/web/httpserver.py", line 176, in runsimple
server.start()
File "/home/hueser01/.local/lib/python3.6/site-packages/cheroot/server.py", line 1813, in start
self.prepare()
File "/home/hueser01/.local/lib/python3.6/site-packages/cheroot/server.py", line 1772, in prepare
raise socket.error(msg)
OSError: No socket could be created -- (('0.0.0.0', 2121): [Errno 98] Address already in use)
dorothee
dorothee
dorothee
dorothee
\ No newline at end of file
#!/bin/bash
./hallo2.py
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment