No file sharing from web #152
Unanswered
qmarty-ccc
asked this question in
Q&A
Replies: 2 comments 7 replies
-
Hello @qmarty-ccc may be related to this issue. Which prosody version? |
Beta Was this translation helpful? Give feedback.
6 replies
-
All right, I've wasted few hours and this is a CORS nightmare (https://jub0bs.com/posts/2023-02-08-fearless-cors/) , no way to pass that crap simply tuning server and client. There must be some magic with reverse proxy and additional middleware/bloadware . Thank you anyway for the quick replies and support ! 🏅 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I've set up prosody and I am able to join MUC and exchange text and files (plain and encrypted) from clients such Pidgin, Dino-im and Gajim. The xmpp-web offers a very cool interface platform-independent and am running it on the same server of prosody ( not docker because of the i386 arch ) : as for now I managed to use everything listed above except the file sharing :
I get :
11:42:22.023 XHRPUT
https://myserver:5281/file_share/ebc26c56-204e-4923-9cc8-83fd7b71b434/gjat.jpg
[HTTP/1.1 401 Unauthorized 208ms]
then a OPTION call to the uploaded file (code 200)
and finally :
11:30:05.263 httpUpload
Object { message: "Request failed with status code 401", name: "AxiosError", code: "ERR_BAD_REQUEST", config: {…}, request: XMLHttpRequest, response: {…}, status: 401, stack: "", … }
index-126f0889.js:89:38276
postFile https://myserver/assets/index-126f0889.js:89
sendMessage https://myserver/assets/index-126f0889.js:89
Mk/C[6]< https://myserver/assets/index-126f0889.js:89
n https://myserver/assets/index-126f0889.js:17
Ni https://myserver/assets/index-126f0889.js:13
ke https://myserver/assets/index-126f0889.js:13
e https://myserver/assets/index-126f0889.js:17
(Async: EventListener.handleEvent)
Xe https://myserver/assets/index-126f0889.js:17
p2 https://myserver/assets/index-126f0889.js:17
y2 https://myserver/assets/index-126f0889.js:17
hA https://myserver/assets/index-126f0889.js:13
Y https://myserver/assets/index-126f0889.js:13
v https://myserver/assets/index-126f0889.js:13
cA https://myserver/assets/index-126f0889.js:13
hA https://myserver/assets/index-126f0889.js:13
Y https://myserver/assets/index-126f0889.js:13
v https://myserver/assets/index-126f0889.js:13
dA https://myserver/assets/index-126f0889.js:13
run https://myserver/assets/index-126f0889.js:9
M https://myserver/assets/index-126f0889.js:13
V https://myserver/assets/index-126f0889.js:13
W https://myserver/assets/index-126f0889.js:13
v https://myserver/assets/index-126f0889.js:13
cA https://myserver/assets/index-126f0889.js:13
hA https://myserver/assets/index-126f0889.js:13
Y https://myserver/assets/index-126f0889.js:13
v https://myserver/assets/index-126f0889.js:13
dA https://myserver/assets/index-126f0889.js:13
run https://myserver/assets/index-126f0889.js:9
M https://myserver/assets/index-126f0889.js:13
V https://myserver/assets/index-126f0889.js:13
W https://myserver/assets/index-126f0889.js:13
v https://myserver/assets/index-126f0889.js:13
dA https://myserver/assets/index-126f0889.js:13
run https://myserver/assets/index-126f0889.js:9
M https://myserver/assets/index-126f0889.js:13
V https://myserver/assets/index-126f0889.js:13
I've tried switching options in local.js and asking myself if it isn't maybe missing similarly to defaultDoman and defaultMuc, "defaultFile_sharing" or something? the sso :{ ... } stuff also is not clear what's used for and if it can be of any use in this case.
Anybody experienced this ?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions