Channel chat and file function don't work in TS5 server

When connect to my TS5 server, the chat area say “Currently not possible”, the file browse page also show similar error but voice chat is ok. And everything is ok when in TS3 server.

I check logs in appserver container and I find some logs said I’m not registered:

INFO 2023-10-20 14:31:24 Using config.Matrix.URL = http://internal-router:8099/_matrix
INFO 2023-10-20 14:31:24 Starting EventsScheduler
INFO 2023-10-20 14:31:24 Listening → address={0.0.0.0:5000}
INFO 2023-10-20 14:31:24 reading serverDB (homebases)
INFO 2023-10-20 14:31:24 reading channel to room cache
2023/10/20 14:31:24 !JofmIjWNnSKJHhNVEp:ts.???.moe: [#ts_admin_root:ts.???.moe]
2023/10/20 14:31:24 !DTBwRHOnReKmueFNNu:ts.???.moe: [#ts_local_e4c89720-d778-5945-8e96-b4d05074e6e6_82fded35-38c4-42f7-aa21-7bcfb84fd520:ts.???.moe]
2023/10/20 14:31:24 !bySCiQXFQPJsZddPiU:ts.???.moe: [#ts_local_e4c89720-d778-5945-8e96-b4d05074e6e6_e1da896f-ed25-41a2-8bf6-6c1687950c03:ts.???.moe]
2023/10/20 14:31:24 !HPTBqyOcfSHGDwTUsV:ts.???.moe: [#ts_admin_db_server_e4c89720-d778-5945-8e96-b4d05074e6e6:ts.???.moe]
INFO 2023-10-20 14:31:24 rooms cached → count={2}
INFO 2023-10-20 14:31:24 serving http requests
INFO 2023-10-20 14:31:37 TransactionChannel Received transaction: 6603efae-bde5-4dec-ae58-05594b8786dc
INFO 2023-10-20 14:31:37 SchedulerChannel: Wakeup with 6 free workers and 0 events to process.
INFO 2023-10-20 14:31:37 ts-appserver/internal/app/ts-matrix-appserver.handleEventClientDisconnected start
INFO 2023-10-20 14:31:37 ts-appserver/internal/app/ts-matrix-appserver.handleEventClientDisconnected finish, took: 27.456µs
ERROR 2023-10-20 14:31:37 [teamspeakeventapi.go:340] illegal base64 data at input byte 8 → Event={{{[] 0xc0000b9400 0xc0001e0990 0xc0000cf480 } teamspeak.client_disconnected {{1 G+nygukBEh99KB4KMnbTfMMi/ik= e4c89720-d778-5945-8e96-b4d05074e6e6} } 2023-10-20 14:31:03.757005 +0000 UTC}}
INFO 2023-10-20 14:31:37 SchedulerChannel: Wakeup with 5 free workers and 2 events to process.
INFO 2023-10-20 14:31:37 ts-appserver/internal/app/ts-matrix-appserver.handleEventClientDisconnected start
INFO 2023-10-20 14:31:37 TransactionChannel Received transaction: 2903591c-f872-417a-8146-e132c4a47775
INFO 2023-10-20 14:31:37 SchedulerChannel: Wakeup with 5 free workers and 1 events to process.
INFO 2023-10-20 14:31:37 ts-appserver/internal/app/ts-matrix-appserver.handleEventClientDisconnected finish, took: 10.106719ms
> ERROR 2023-10-20 14:31:37 [teamspeakeventapi.go:340] Matrix error ‘M_FORBIDDEN’: Application service has not registered this user (@ts_af867bf80a656f3e5d03d3d58f040d9b2720e8c6_e4c89720-d778-5945-8e96-b4d05074e6e6:ts.???.moe) → Event={{{[] 0xc0000b9440 0xc0001e0a20 0xc0000cf4a0 } teamspeak.client_disconnected {{1 G+nygukBEh99KB4KMnbTfMMi/ik= e4c89720-d778-5945-8e96-b4d05074e6e6} } 2023-10-20 14:31:03.757155 +0000 UTC}}
INFO 2023-10-20 14:31:37 SchedulerChannel: Wakeup with 5 free workers and 4 events to process.
INFO 2023-10-20 14:31:37 ts-appserver/internal/app/ts-matrix-appserver.handleEventServerStopped start
> ERROR 2023-10-20 14:31:37 [api.go:256] clearRoom failed to leave user → error={Matrix error ‘M_FORBIDDEN’: Application service has not registered this user (@ts_af867bf80a656f3e5d03d3d58f040d9b2720e8c6_e4c89720-d778-5945-8e96-b4d05074e6e6:ts.???.moe)}

I follow all the steps in the ts-service repo except i chmod 777 to teamspeak_server folder because teamspeak server has no permission to write files in there.
So it’s a bug or I just forget some steps when I’m setting up the server? I really wanna solve it out.

1 Like

It seems about the acme certificates. And when in http mode, the 80 port should be open to receive/send chat messages.