Lost-MSth / Arcaea-server

一个微型的 Arcaea 本地服务器 A small local server for Arcaea
MIT License
358 stars 53 forks source link

Link room error 500 #119

Closed MrTerr1riym closed 1 year ago

MrTerr1riym commented 1 year ago

Hello, I have encountered a problem that I don't know how to solve Just in case I say that ports are open, ip is correct (in both config.py) I try to run link play, but I get an error in the console and the game says "Cloud not connected to online server." How can this be solved?

Arcaea 4.4.2c Server v2.11.2 -231163_temp

Lost-MSth commented 1 year ago

I remind two reasons:

  1. The subprocess is not running. However you said the port is open. Please check the port via lsof or netstat.
  2. The firewall is not open for the port. If you use the cloud server, maybe you need to open specific port in the admin leadboard of the server.
MrTerr1riym commented 1 year ago

I still can't figure it out.... Yes I'm using a vps Ports opened via "ufw allow .../upd and .../tcp" If I start only the server and try to run link play separately I get an error Traceback (most recent call): File "/root/v2.11.2/linkplay_server/main.py", line 6, in from .aes import decrypt, encrypt ImportError: attempted relative import with no known parent package

Lost-MSth commented 1 year ago

If you didn't change the config file, the port which need to be open is UDP 10900 and TCP 80. Well, from the first pic I think the problem is that the main server cannot connect to the linkplay server via port TCP 10901. You can run telnet 127.0.0.1 10901 in the server to check whether the linkplay server is running or the port is banned or not.

Use run_linkplay_server.py to run the linkplay server singly.

MrTerr1riym commented 1 year ago

Thanks, without your help I could hardly get link play to work The best option is to run the server and link play separately and through the run_linkplay_server.py file (Before that I opened the linkplay folder and ran main.py... silly)