Navigation
« 

Anonymous




Register
Login
« 
« 

Amiga Future

« 

Community

« 

Knowledge

« 

Last Magazine

The Amiga Future 167 was released on the March 5th.

The Amiga Future 167 was released on the March 5th.
The Amiga Future 167 was released on the March 5th.

The Amiga Future 167 was released on the March 5th.
More informations

« 

Service

« 

Search




Advanced search

Unanswered topics
Active topics
« 

Social Media

Twitter Amigafuture Facebook Amigafuture RSS-Feed [german] Amigafuture RSS-Feed [english] Instagram YouTube Patreon
« 

Advertisement

Amazon

Patreon

« 

Partnerlinks

"Unsupported scheme" when using https:// resources with wget

Support Roadshow

Moderators: AndreasM, olsen

Post Reply
TenLeftFingers
Newbie
Newbie
Posts: 8
Joined: 13.06.2015 - 15:50

"Unsupported scheme" when using https:// resources with wget

Post by TenLeftFingers »

I regularly use wget to download files from aminet over http.

Today I tried to get a text file from https://freeshell.de/i/cinnmhara.txt and got the above error.

GNU wgt 1.10.1 bundled with roadshow 1.14.

AmiSSL v5

Is there a workaround for this?
olsen
CygnusEd Developer
Posts: 167
Joined: 06.06.2006 - 16:27

Re: "Unsupported scheme" when using https:// resources with wget

Post by olsen »

TenLeftFingers wrote: 20.07.2022 - 16:21 I regularly use wget to download files from aminet over http.

Today I tried to get a text file from https://freeshell.de/i/cinnmhara.txt and got the above error.

GNU wgt 1.10.1 bundled with roadshow 1.14.

AmiSSL v5

Is there a workaround for this?
No, the "wget" command is restricted to plain ftp and http access. Adding AmiSSL support is tricky (we now have the fifth iteration of AmiSSL, which is by design not even downwards-compatible to older secure protocols) and adds a burden to the entire package. The "wget" command is some 260 KBytes in size (which is large for an Amiga program) but with (as yet unimplemented) TLS/SSL support enabled would pull in an additional 5.5 MBytes just for the libraries involved. The combined size of this is larger than the old AWeb-II web browser.

I have yet to figure out to make TLS/SSL support work because of the memory requirements involved. How can this work well enough on a machine with less than 8 MBytes of RAM (that would be an A500+ or an A600)? If Roadshow should ship with TLS/SSL support in the "wget" command, then it should work out of the box or, if this is not feasible, provide an explanation of why the circumstances do not allow for it.

For now the "wget" command is restricted to plain ftp and http access because, at the very least, it allows you to download better versions of the "wget" and "ftp" commands which ship with Roadshow from Aminet.
TenLeftFingers
Newbie
Newbie
Posts: 8
Joined: 13.06.2015 - 15:50

Re: "Unsupported scheme" when using https:// resources with wget

Post by TenLeftFingers »

Cool. Thanks Olsen. That makes sense.

If you know of an existing binary, or other CLI method with SSL support I’m open to suggestions. I’ve tried every curl build I could find but they crash my machine.
olsen
CygnusEd Developer
Posts: 167
Joined: 06.06.2006 - 16:27

Re: "Unsupported scheme" when using https:// resources with wget

Post by olsen »

TenLeftFingers wrote: 26.07.2022 - 01:02 Cool. Thanks Olsen. That makes sense.

If you know of an existing binary, or other CLI method with SSL support I’m open to suggestions. I’ve tried every curl build I could find but they crash my machine.
Well, never say never: it is possible to rework the "wget" command which ships with Roadshow so that it may support AmiSSL. It is, however, based upon a very old version of the source code. Effort spent on reworking it to support TLS/SSL might be better spent on a more recent version.

That said, I have not had a closer look at the current state of the "curl" command yet. Could be that makes more sense to port it than the current "wget" command.
TenLeftFingers
Newbie
Newbie
Posts: 8
Joined: 13.06.2015 - 15:50

Re: "Unsupported scheme" when using https:// resources with wget

Post by TenLeftFingers »

olsen wrote: 26.07.2022 - 13:33 That said, I have not had a closer look at the current state of the "curl" command yet. Could be that makes more sense to port it than the current "wget" command.
That would be great. So many simple applications could be made to access APIs (eg weather and transport) and RSS feeds.
patrik
Grade reingestolpert
Grade reingestolpert
Posts: 4
Joined: 15.09.2019 - 13:21

Re: "Unsupported scheme" when using https:// resources with wget

Post by patrik »

You can use the aget command bundled with UHC Tools, it supports both AmiSSL 4 and 5 for https://. Can be downloaded separately from http://uhc.a1k.org/aget and there is a little help file at http://uhc.a1k.org/help/aget
TenLeftFingers
Newbie
Newbie
Posts: 8
Joined: 13.06.2015 - 15:50

Re: "Unsupported scheme" when using https:// resources with wget

Post by TenLeftFingers »

Thank you patrik! I can resurrect those old projects now.
Post Reply