Eugeny / tabby-web

Tabby Web - an SSH/Telnet/Serial client in your browser.
https://tabby.sh
MIT License
806 stars 120 forks source link

A few issues with deploying the app by myself #108

Open chenzhiguo opened 10 months ago

chenzhiguo commented 10 months ago

It is a pity that I cannot continue to use the web for data synchronization. I want to build this application by myself to continue to provide services. I have a few unclear questions to ask:

  1. If I only need to configure the synchronization service, do I only need to set up the tabby-web service and do not need that tabby-connection-gateway?
  2. I set the corresponding oauth configuration in github, but after github verification, there are still errors as follows:
    AuthFailed at /api/1/auth/social/complete/github/
    Authentication failed: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /login/oauth/access_token (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required')))
    Request Method: GET
    Request URL:    http://svc.abc.io:8022/api/1/auth/social/complete/github/?code=a8fa33ae61c4f56d9965&state=e0s5s6kqFGVOMuM539cS8yFQxb1K6CtO
    Django Version: 3.2.12
    Exception Type: AuthFailed
    Exception Value:    
    Authentication failed: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /login/oauth/access_token (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required')))
    Exception Location: /venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/social_core/backends/base.py, line 237, in request
    Python Executable:  /venv/tabby-web-9TtSrW0h-py3.7/bin/python
    Python Version: 3.7.17
    Python Path:    
    ['/app',
    '/venv/tabby-web-9TtSrW0h-py3.7/bin',
    '/usr/local/lib/python37.zip',
    '/usr/local/lib/python3.7',
    '/usr/local/lib/python3.7/lib-dynload',
    '/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages']
    Server time:    Sun, 29 Oct 2023 10:05:14 +0000