matrix-org / dendrite

Dendrite is a second-generation Matrix homeserver written in Go!
https://matrix-org.github.io/dendrite/
Apache License 2.0
5.67k stars 664 forks source link

Dendrite never listens on -https-bind-address :443 -http-bind-address :80, never fails either #3434

Open paigeadelethompson opened 1 day ago

paigeadelethompson commented 1 day ago

When these options are specified, there should be an expectation that this condition is reached:

time="2024-09-28T13:00:36.332861661Z" level=info msg="Starting external listener on :80"
time="2024-09-28T13:00:36.333589366Z" level=info msg="Starting external listener on :443"

if not then it should be fatal, and it shouldn't be doing anything else.

paigeadelethompson commented 1 day ago

on working server:

time="2024-09-28T13:17:41.519923126Z" level=info msg="Server is ready" component=jetstream
time="2024-09-28T13:17:45.523372424Z" level=info msg="Enabled perspective key fetcher" num_public_keys=2 server_name=matrix.org
time="2024-09-28T13:17:46.368612095Z" level=info msg=PerformDeviceCreation context=missing device_id=0x40055d4f40 display_name=0x40055d4f40 localpart=MATRIX
time="2024-09-28T13:17:46.379112327Z" level=info msg="Enabling shared secret registration at /_synapse/admin/v1/register"
time="2024-09-28T13:17:46.379628956Z" level=info msg="Enabling server notices at /_synapse/admin/v1/send_server_notice"
time="2024-09-28T13:17:46.402494349Z" level=info msg="Setting m.server as server.com:443 at /.well-known/matrix/server"
time="2024-09-28T13:17:56.892388387Z" level=info msg="Starting external listener on :443"
time="2024-09-28T13:17:56.892931175Z" level=info msg="Starting external listener on :80"

other server isnt working it only does this part, donno why

monolith-1  | time="2024-09-28T13:24:09.097399304Z" level=info msg="Server is ready" component=jetstream

Never binds the hosts never sets up the shared secret reg, never enables serv notices never enables perspective key fetcher, should be the reason that it stops running buit instead it starts trying to send stuff to other homeservers even though its unreachable

Not enough debug logging info, there really should be more because I will literally never figure out why that's broken the way it is now

paigeadelethompson commented 1 day ago

something is hung up in waiting or blown out before https://github.com/matrix-org/dendrite/blob/6cd1285ca0276bebd407110c37031bc4622f0b79/setup/base/base.go#L206 but it's not apparent what; more logging might help