Git Product home page Git Product logo

django-gateone's People

Contributors

jimmy201602 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

django-gateone's Issues

NameError: global name 'gen_self_signed_ssl' is not defined

^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

502 Bad Gateway

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>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.