I have experienced a kind of special issue: the hostname I gave as input was valid, with a real server behind. However, the port was closed on ipv6 for matrix, but open on ipv4, by my firewall (my mistake). The API returned as Bad gateway error instead of falling back to ipv4, or even returning any helpful error message.
I have experienced a kind of special issue: the hostname I gave as input was valid, with a real server behind. However, the port was closed on ipv6 for matrix, but open on ipv4, by my firewall (my mistake). The API returned as Bad gateway error instead of falling back to ipv4, or even returning any helpful error message.