-
Describe the bugcan't connect to server from my pc... To ReproduceExpected behaviori don't know... sorry bancho.py Versionmaybe 3.2.2 Python Version3.9.X (Default) Relevant log outputroot@localhost:~/bancho.py# make run
pipenv run python main.py
Loading .env environment variables...
[02:12:38AM] It is not recommended to run bancho.py as root, especially in production..
[02:12:38AM] Running the server with root privileges is not recommended.
[02:12:38AM] Fetching channels from sql.
[02:12:38AM] Fetching clans from sql.
[02:12:38AM] Fetching mappools from sql.
[02:12:38AM] Initializing housekeeping tasks.
[02:12:38AM] Startup process complete. Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 23 comments 2 replies
-
i used 'devserver' to connect server. |
Beta Was this translation helpful? Give feedback.
-
the startup variable "devserver" only works with domain names as far as I have tested. It should look something like this: Please note that osu! requires https, so you will need to have a proper SSL configuration. |
Beta Was this translation helpful? Give feedback.
-
thanks for your advice! I tried that and it did not solve the problem. Do I need to set up SSL other than under image? (I rewrote it and set it up) |
Beta Was this translation helpful? Give feedback.
-
my ssl status |
Beta Was this translation helpful? Give feedback.
-
Ideally: Alternatively: You should be able to access https://c.mamesosu.net without running into any SSL errors. Your shortcut should look like this: Please note that ports are not supported in the "devserver" startup variable. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply :) errorcloudflarenginx#NOTE: if you wish to only connect using fallback, you can upstream bancho { #c[e4]?.ppy.sh is used for bancho server {
} server {
} server {
} nano.env#bancho.py supports both INET and UNIX sockets DB_USER=user_name REDIS_USER=redis OSU_API_KEY=api_key DOMAIN=cmyui.xyz COMMAND_PREFIX=! SEASONAL_BGS=https://akatsuki.pw/static/flower.png,https://i.cmyui.xyz/nrMT4V2RR3PR.jpeg MENU_ICON_URL=https://akatsuki.pw/static/logos/logo_ingame.png DATADOG_API_KEY= DEBUG=False #redirect beatmaps, beatmapsets, and forum PP_CACHED_ACCS=90,95,98,99,100 DISALLOWED_NAMES=mrekk,vaxei,btmc,cookiezi DISCORD_AUDIT_LOG_WEBHOOK= #automatically share information with the primary #advanced dev settings ##WARNING: only touch this once you've |
Beta Was this translation helpful? Give feedback.
-
from webpage |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
And you need to change all |
Beta Was this translation helpful? Give feedback.
-
thank you for your advice. i fixed these solution. but it wasn't solved.... |
Beta Was this translation helpful? Give feedback.
-
Could you share your nginx and .env (make sure to censor critical stuff like api keys and passwords) file again? |
Beta Was this translation helpful? Give feedback.
-
nginxGNU nano 6.2 /etc/nginx/sites-available/bancho.conf upstream bancho { #c[e4]?.ppy.sh is used for bancho server {
} server {
} server {
} nano.env#bancho.py supports both INET and UNIX sockets DB_USER=user REDIS_USER=redis OSU_API_KEY=apikey DOMAIN=mamesosu.net COMMAND_PREFIX=! SEASONAL_BGS=https://akatsuki.pw/static/flower.png,https://i.cmyui.xyz/nrMT4V2RR3PR.jpeg MENU_ICON_URL=https://akatsuki.pw/static/logos/logo_ingame.png DATADOG_API_KEY= DEBUG=False #edirect beatmaps, beatmapsets, and forum PP_CACHED_ACCS=90,95,98,99,100 DISALLOWED_NAMES=mrekk,vaxei,btmc,cookiezi DISCORD_AUDIT_LOG_WEBHOOK= #automatically share information with the primary #advanced dev settings ##WARNING: only touch this once you've these are env & nginx file |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I think it's a valid path... |
Beta Was this translation helpful? Give feedback.
-
/root/bancho.py/.data/assets |
Beta Was this translation helpful? Give feedback.
-
sorry, It was my mistake. i changed these path. but No change was found. nginxGNU nano 6.2 /etc/nginx/sites-available/bancho.conf upstream bancho { #c[e4]?.ppy.sh is used for bancho server {
} server {
} server {
} |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
thanks for your advice. i fixed these solution. but i can't connect to the server from my pc... /etc/nginx/nginx.confuser root; events { http {
} #mail {
} nginxupstream bancho { #c[e4]?.ppy.sh is used for bancho server {
} server {
} server {
} |
Beta Was this translation helpful? Give feedback.
-
Other contributors have told me that the certificate or cloudflare settings are bad. Are those possibilities? |
Beta Was this translation helpful? Give feedback.
-
I have successfully connected after setting up the fine details of cloudflare. Thank you all very much! |
Beta Was this translation helpful? Give feedback.
I have successfully connected after setting up the fine details of cloudflare. Thank you all very much!