Coder Social home page Coder Social logo

页面403 about webssh HOT 5 CLOSED

huashengdun avatar huashengdun commented on July 21, 2024
页面403

from webssh.

Comments (5)

huashengdun avatar huashengdun commented on July 21, 2024

把反代的Nginx配置贴出来看看。

from webssh.

cai823294620 avatar cai823294620 commented on July 21, 2024

sorry,我是adminset运维管理平台里封装的webssh,然后做的端口映射,用127.0.0.1:8888进行访问的,其实并没有使用Nginx。

当我使用本机启动wssh时。出现如下报错:

Traceback (most recent call last):
  File "/usr/local/bin/wssh", line 11, in <module>
    load_entry_point('webssh==1.0.3', 'console_scripts', 'wssh')()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2793, in load_entry_point
    return ep.load()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2411, in load
    return self.resolve()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2417, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python2.7/dist-packages/webssh/main.py", line 2, in <module>
    import tornado.web
  File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 205
    application: "Application",
               ^
SyntaxError: invalid syntax

from webssh.

huashengdun avatar huashengdun commented on July 21, 2024

从上面报的错误来看,是由“/usr/local/lib/python2.7/dist-packages/tornado/web.py”的205行,SyntaxError 造成的。
你安装的tornado是什么版本?

from webssh.

cai823294620 avatar cai823294620 commented on July 21, 2024

@huashengdun 现在更改为Centos7的版本后一切正常。谢谢

from webssh.

huashengdun avatar huashengdun commented on July 21, 2024

不客气。

from webssh.

Related Issues (20)

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.