Welcome to the Linux Foundation Forum!

Cutting and pasting wget links doesn't work

In various portions of the lab, cutting and pasting the wget links into the devcontainer terminal won't work. You will get a confusing message about https not being resolvable.

For example, in "Java Instrumentation Annotations (2)", there is the following text:

wget https:‌//github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v2.8.0/opentelemetry-javaagent.jar

When we use wget to retrieve it (using cut and paste), we see:

  1. root@e1ba13773a5c:/workspaces/LFS148-code/exercises/automatic-instrumentation/initial/todobackend-springboot# wget https:‌//github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v2.8.0/opentelemetry-javaagent.jar
  2. --2025-03-10 17:56:11-- ftp://https/%E2%80%8C//github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v2.8.0/opentelemetry-javaagent.jar
  3. => opentelemetry-javaagent.jar.3
  4. Resolving https (https)... failed: Name or service not known.
  5. wget: unable to resolve host address https

Specifically, take notice of the %E2%80%8C in the URL.

--2025-03-10 17:49:00-- ftp://https/%E2%80%8C//github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v2.8.0/opentelemetry-javaagent.jar

Apparently this is a zero width non-joiner character that has snuck its way into the lab text.

https://www.fileformat.info/info/unicode/char/200c/index.htm

It would be great if the lab was reviewed for accidental inclusion of these.

The workaround? Just type out the links manually.

Comments

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training