Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

too many colons in address error in IPv6 requests #607

Open
jae1911 opened this issue Aug 9, 2024 · 0 comments
Open

too many colons in address error in IPv6 requests #607

jae1911 opened this issue Aug 9, 2024 · 0 comments

Comments

@jae1911
Copy link

jae1911 commented Aug 9, 2024

I have a media-repo behind Traefik, and it throws an exception too many colons in address when accessing certain media.
This causes some media to fail loading.
For instance:

media-repo-1  | time="2024-08-09 20:59:16.768 Z" level=error msg="address 2001:14ba:a0b2:be00:e87c:1df1:40db:e8d5: too many colons in address"
media-repo-1  | time="2024-08-09 20:59:16.769 Z" level=info msg="Replying with result: _responses.ErrorResponse {Code:M_NOT_FOUND Message:authentication is required to download this media InternalCode:M_UNAUTHORIZED}" contentLength=0 contentType="" host=matrix.777.tf method=GET queryString="allow_redirect=true" remoteAddr="172.18.0.9:49652" requestId=REQ-176 resource=/_matrix/media/v3/download/matrix.org/sodALOObMxAKjqfcWuLXOPmC userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.73 Chrome/126.0.6478.127 Electron/31.2.0 Safari/537.36"

When trying to load media from a public room using Element.

For instance, during a 5 minutes log snapshot, you can see it pretty often: https://gist.github.com/jae1911/90f51482c7ed6539b0c95874ec865fbb (the IP shown belongs to a residential ISP from Finland and is my own)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant