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

mxc to http, http is can not use #4650

Closed
Cherub1Zhuang opened this issue Jan 23, 2025 · 1 comment
Closed

mxc to http, http is can not use #4650

Cherub1Zhuang opened this issue Jan 23, 2025 · 1 comment
Labels

Comments

@Cherub1Zhuang
Copy link

"http://localhost:8008/_matrix/media/v3/download/localhost/IHmGcEAZfHLBSmIyByFPaJYA?allow_redirect=true"
this is used getHttpUriForMxc(import.meta.env.VITE_MATRIX_HOST, mxcUrl) to convert.
but chrome show
{
"errcode": "M_NOT_FOUND",
"error": "Not found"
}

. however, element is ok, is show image correctly.
i think it maybe header problem. but i dont know how to do.

@dosubot dosubot bot added the T-Defect label Jan 23, 2025
@t3chguy
Copy link
Member

t3chguy commented Jan 23, 2025

Sounds like your Homeserver has authenticated media enabled. You will need to pass true to the useAuthentication parameter.

This issue tracker is not a support forum. I suggest #matrix-dev:matrix.org for support.

@t3chguy t3chguy closed this as not planned Won't fix, can't repro, duplicate, stale Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants