Download from remote URL error on LEMP Virtualmin

SYSTEM INFORMATION
OS type and version Ubuntu Linux 24.04.2
Webmin version 2.303
Virtualmin version 7.30.8
Webserver version Nginx version 1.24.0
Related packages SUGGESTED

Hello

i never had issue with Lamp stack version of virtualmin so it seems to be related to the lemp stack.

on the file manager, downloading from URL does not work and throws an error, I’m wondering if there is a fix since is a great feature.

File tried:
https://wordpress.org/latest.zip
https://wordpress.org/wordpress-6.8.1.zip

Other files such as MP4 sample i tried do download correctly.

First things first. By file manager, do you mean the one incorporated into Webmin/Virtualmin? If so the web server isn’t involved at all.

But the file manager worked for that url for me. One shown but both urls worked for me.

I would guess so from the images supplied but there is not information supplied, in recent times it would appear that some are trying to use webmin out of scope. This i will be slated for but just saying

Hi there.

Yes, perhaps the uploaded picture shows the webmin/virtualmin file manager, no other file manager is being used.

What other information would you like? the use is completely in scope of the features build in within the file manager.

Maybe the stack has nothing to do, just pointing out it didn’t happen with default stack.

There is the error in case the first image doesn’t show clearly.

I looked up the 434 error initially but it seemed odd. Can you curl the file from the command line?

curl --output latest.zip https://wordpress.org/latest.zip

That can’t have anything to do with whether the web server is Apache or nginx (unless the URL you’re trying to download is on the server itself and you’ve misconfigured nginx for this purpose).

Webmin/Virtualmin do not run under Apache or nginx.

root@cp:/home# curl --output latest.zip https://wordpress.org/latest.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 27.2M 100 27.2M 0 0 67.2M 0 --:–:-- --:–:-- --:–:-- 67.0M
root@cp:/home# ls

Yes, it works

Best I can tell 434 is a client side code. Could be TLS or an authentication problem. (Even Wikipedia doesn’t include this one in the list. :frowning: )


I’m guessing YOU aren’t KNOWINGLY supplying log in info?

GoogleCrap sez it is a custom error. Check ‘both sides’ of the connection. Well, that’s helpful.

No, I’m not supplying a log in, matter fact, this file downloads correctly:

https://www.learningcontainer.com/wp-content/uploads/2020/05/sample-large-zip-file.zip

I’m not going to die over it lol, but super curious about the error as it didn’t happen on the default lamp stack (Yes i know it has nothing to do…)

Thanks anyways.