Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Room not found #63

Open
Hcreak opened this issue Mar 26, 2017 · 4 comments
Open

Room not found #63

Hcreak opened this issue Mar 26, 2017 · 4 comments

Comments

@Hcreak
Copy link

Hcreak commented Mar 26, 2017

Room not found

@bigeagle
Copy link
Member

Problem unknown.

@Hcreak
Copy link
Author

Hcreak commented Mar 26, 2017

I do python3 -m fishroom.fishroom and python3 -m fishroom.web then I watch 127.0.0.1:8000 display room not found my english is bad i am sorry

@ghost
Copy link

ghost commented Aug 3, 2019

Same problem config.py:

config = {
    "debug": True,
    "timezone": "Asia/Shanghai",
    "baseurl": "http://54.251.128.92:8000",  # do not end with "/"
    "name": "teleboto",
    "cookie_secret": "123456", # you should use a strong random secret
    "cmd_me": "tg_bot",  # username of the telegram bot

    "redis": {
        # "unix_socket_path": "/var/run/redis/redis.sock"
        "host": "127.0.0.1",  # hostname for redis server
        "port": 6379,
        "prefix": "fishroom",
    },

    "irc": {
        "server": "irc.freenode.net",
        "port": 6697,
        "nick": "XiaoT",       # IRC nick name
        "password": None,      # IRC account password, if nickname registered
        "ssl": True,
        "blacklist": [
            "[Olaf]",
        ],
    },

    # Uncomment these if you want GitHub OAuth
    # Note that you need to configure your redirect uri the same as the baseurl in GitHub
    # "github": {
    #     "client_id": "", # get these two from github.com
    #     "client_secret": "",
    # },

    # Uncomment these if you want telegram access
    # "telegram": {
    #     "token": "",  # get this from @BotFather
    #     "me": None,
    #     "admin": [],  # admin id (integer)
    # },

    # Uncomment these if you want XMPP-MUC access
    # "xmpp": {
    #     "server": "xmpp.jp",
    #     "port": 5222,
    #     "jid": "[email protected]/resource",
    #     "password": "",
    #     "nick": "XiaoT",
    # },

    # Uncomment these if you want gitter access
    # "gitter": {
    #     "token": "",
    #     "me": "",  # bot username
    # },

    # Uncomment these if you want Matrix access
    # "matrix": {
    #     "server": "https://matrixim.cc:8448",
    #     "user": "fishroom",
    #     "password": "",
    #     "nick": "bot_fishroom",
    #     "bot_msg_pattern": "^mubot|^!wikipedia",
    # },

    # Uncomment these if you want WeChat access
    # "wechat": {},

    # Optional, only if you use qiniu for file_store
    # Comment this out if you don"t use qiniu
    "qiniu": {
        "access_key": "",
        "secret_key": "",
        "bucket": "",
        "base_url": "",
    },

    "photo_store": {
        # set one in ("imgur", "vim-cn", "qiniu")
        "provider": "vim-cn",
        "options": {
            "client_id": "",
        }
    },

    # this is the web interface
    "chatlog": {
        "host": "0.0.0.0",  # hostname for web server
        "port": 8000,
        "default_channel": "teleboto-dev",
    },

    # Comment this out if you don"t use qiniu
    "file_store": {
        "provider": "qiniu",
    },

    "text_store": {
        "provider": "vinergy",
        "options": {
        },
    },

    "plugins": [
        "pia", "imglink", "vote", "hualao"
    ],

    "bindings": {
        "archlinux-cn": {
            "irc": "#archlinux-cn",
            "telegram": "-1001031857103",  # group id can be obtained using bot api
            "xmpp": "[email protected]",
            "matrix": "#archlinux:matrixim.cc"
        },
        "test": {
            # Use room nick name to identify a room
            # TODO: use Uins (https://itchat.readthedocs.io/zh/latest/intro/contact/#uins)
            # to identify a room, but currently I can"t get room Uins on login.
            "wechat": "xxx chat room"
        }
    }
}

# vim: ft=python

@hosiet
Copy link
Member

hosiet commented Aug 6, 2019

@Windows10010 The default config should never be used without any modification; one must properly set the altered room/nickname before starting the program. If you are still experiencing the problem after that, please post the full config here (with sensitive information redacted).

BTW @Blalalaaaa I have deleted your post since it looks like an advertisement. If you need to get into contact with Tsinghua TUNA association, please use the info in the "Contact" part on TUNA's homepage ( https://mirror.tuna.tsinghua.edu.cn ).

@tuna tuna deleted a comment from Blalalaaaa Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants