-
Notifications
You must be signed in to change notification settings - Fork 594
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
file upload fails when using webrtc #6309
Comments
I've noticed ur file manager says webrtc, Edit. Also ur config.json is missing |
yes thanks I didn't have time to sanitize it. I'll try right away |
thanks a lot, now it works by disabling webrtc |
great! so the must be a problem then with the webrtc! |
thank you again |
@paolor1965 can you share your config.json please so i can do some testing? |
hi I'm on holiday for the next 15 days, not if I can share it soon |
No worries, enjoy! |
hi, here is the config.json without sensitive parts that are replaced with xxx. I apologize if it is not an example of cleaning |
I have actually been able to replicate the issue The issue seems to be because we increased the bytes uploaded for normal file transfers, which speeded up normal file transfers. But for some reason, the webrtc seems to be killing the meshagent and restarting it during a file transfer now with webrtc and no idea why? So this isn't a simple fix, sadly but still looking into it |
thanks for what you are doing, unfortunately I am not a programmer otherwise I would have helped |
@paolor1965 no it's OK! |
I understand, in what other cases besides file transfer does disabling webrtc affect, |
Webrtc was used in the remote desktop and file transfer from what I've checked It actually starts out by relaying though ur meshcentral server anyways when u click connect, it's just within the first 5 seconds both ur device and remote device then attempt to do webrtc and if that's possible, it then switches over to using that :) |
thanks everything clear |
Signed-off-by: si458 <simonsmith5521@gmail.com>
Signed-off-by: si458 <simonsmith5521@gmail.com>
ok so this should be fixed in 1.1.29, BUT ive noticed for some reason, |
I tried in 1.1.35 but I still have the same issue. |
@si458 I think the problem is related to Websocket compression. I noticed that in both my configuration and @paolor1965 's, WebRTC is disabled, but agentWsCompression and WsCompression are enabled. I tried disabling WsCompression and leaving WebRTC enabled (actually, it doesn't matter if it's enabled or disabled) and the problem didn't occur. I also checked the web server request tracking, and when I enable WSCompression, the web request doesn't seem to reach the server; it only works when WSCompression is disabled. I don't know about paolor's environment, but my environment has some particular settings that might influence this issue. So if you can't reproduce the problem, let me know and I'll create another issue to provide the information. |
@Henrique-Batista I will try to have a look when I get a chance as i dont use any compression at all for anything and i have issues from time to time with webrtc which is why i tell people to NOT use it! Im currently ill as hell, full of flu/cold, snotting everywhere and making it worse, I've now got a serious tooth ake/pain, so that is another expensive emergency nhs dentist appointment to come 😞 |
Hello @si458 , I hope you are better. I did some tests in my environment and with WebRTC active I can't access the machines because it crashes milliseconds after starting and the Files directories don't change without disconnecting and connecting again. I believe this is due to the configuration I have here, but I've also had other problems because of WebRTC. |
Describe the bug
if I try to upload a file from the files menu on a Windows device regardless of the version, the copy fails and as long as upload is active a temporary file of 0 bytes is created on the remote device
the problem occurs with all versions after 1.1.24
file download works
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the 150MB file to be copied to chosen location
Screenshots
Server Software (please complete the following information):
Client Device (please complete the following information):
Remote Device (please complete the following information):
console
Tab then typeinfo
]Current Core: Dec 9 2022, 1807787178
Agent Time: 2024-08-06 14:59:56.390+02:00.
User Rights: 0xffffffff.
Platform: win32.
Capabilities: 15.
Server URL: wss://meshcentral2.xxx.xxx.xxx.xxx:443/agent.ashx.
OS: Microsoft Windows 11 Pro - 23H2/22631.
Additional context
Add any other context about the problem here.
Your config.json file
The text was updated successfully, but these errors were encountered: