jimmy201602 / django-gateone Goto Github PK
View Code? Open in Web Editor NEWgateone implemented by django web terminal ssh
License: GNU General Public License v3.0
gateone implemented by django web terminal ssh
License: GNU General Public License v3.0
^C[root@python django-gateone-master]# python manage.py runserver
Unhandled exception in thread started by <function wrapper at 0x385a320>
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/django/utils/autoreload.py", line 227, in wrapper
fn(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/channels/management/commands/runserver.py", line 41, in inner_run
self.channel_layer = channel_layers[DEFAULT_CHANNEL_LAYER]
File "/usr/lib/python2.7/site-packages/channels/asgi.py", line 53, in getitem
self.backends[key] = self.make_backend(key)
File "/usr/lib/python2.7/site-packages/channels/asgi.py", line 48, in make_backend
routing=routing,
File "/usr/lib/python2.7/site-packages/channels/asgi.py", line 80, in init
self.router = Router(self.routing)
File "/usr/lib/python2.7/site-packages/channels/routing.py", line 25, in init
self.root = Include(routing)
File "/usr/lib/python2.7/site-packages/channels/routing.py", line 201, in init
self.routing = Router.resolve_routing(routing)
File "/usr/lib/python2.7/site-packages/channels/routing.py", line 73, in resolve_routing
routing = getattr(importlib.import_module(module_name), variable_name)
File "/usr/lib64/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/root/django-gateone-master/django_gateone/routing.py", line 2, in
from applications.server import ApplicationWebSocket
File "/root/django-gateone-master/applications/server.py", line 398, in
from applications.auth.authentication import NullAuthHandler, KerberosAuthHandler
File "/root/django-gateone-master/applications/auth/authentication.py", line 86, in
from applications.locale import get_translation
File "/root/django-gateone-master/applications/locale.py", line 18, in
from applications.configuration import get_settings
File "/root/django-gateone-master/applications/configuration.py", line 31, in
logger = go_logger(None)
File "/root/django-gateone-master/applications/log.py", line 370, in go_logger
if not define_options()['log_file_prefix'] or define_options()['logging'].upper() == 'NONE':
File "/root/django-gateone-master/applications/log.py", line 204, in define_options
gen_self_signed_ssl(path=ssl_base)
NameError: global name 'gen_self_signed_ssl' is not defined
I run the docker of django-gateone as you said,but the browes is return the 502 error.
I login to the container and curl the url and return the 502.
root@3edd20219c98:/opt/django-gateone# curl http://localhost
<html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.10.3 (Ubuntu)</center>
</body>
</html>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.