Welcome to the Linux Foundation Forum!

Can't login to download shell scripts and YAML files on chapter 2.1 due to ERROR 404

ineslopes
ineslopes Posts: 5
edited May 5 in LFD259 Class Forum

I tried to download on "wget https://cm.lf.training/LFD259/LFD259V2026-03-24SOLUTIONS.tar.xz--user=xxxxxx --password=xxxxxx" but it gives an ERROR 404 not found.
I tried to do it via command line and on browser, same result, I even tried to remove the last "\" from the link before the username and nothing.

Does anyone have the solution? Without this I can't proceed with the course.

Answers

  • fcioanca
    fcioanca Posts: 2,576

    Hi @ineslopes

    Please pay attention to the note below the wget command in the lab, regarding the underscore behavior during copy/paste.

    Regards,
    Flavia

  • ineslopes
    ineslopes Posts: 5
    edited May 5

    Hello, indeed that was my fault however, it doesn't work with correction it's not working

  • fcioanca
    fcioanca Posts: 2,576

    Hi @ineslopes

    Please compare the pasted command with the lab pdf, as there are still missing underscores, based on your screenshot.

    Regards,
    Flavia

  • ineslopes
    ineslopes Posts: 5
    edited May 5

    Hello, again, sorry to bother with this command, but I typed it by hand the full comand and it can't work eitherway. I even tried changing the last slash

  • chrispokorni
    chrispokorni Posts: 2,601
    edited May 5

    Hello @ineslopes,

    Sharing sensitive information on a public forum, such as login user ID and password, or other credential types, is in violation of security best practices. Such credentials should not be shared in the forum under any format - text, screenshot, or otherwise.

    Your compromising screenshot attachments and references have been removed.

    EDIT: I attempted to reproduce the issue reported above, and fortunately the download URL and credentials are correct. I recommend pasting multi-line commands into a simple text editor, removing all multi-line backslash "\" delimiters, converting the command into a single-line string and attempt it that way. Also, comparing the PDF source against your typing also helps. Ensure that all underscores "_" are in place before executing the command.

    Regards,
    -Chris

  • ineslopes
    ineslopes Posts: 5
    edited May 5

    My apologies, you are correct and thank you for removing the screenshoots.

    However, I have typed the command by hand, have putted the two "_" and putted in a txt editor.
    I even tried to remove the last slash, remove the first two slahes, and nothing eitherway.

    It says, in all tests:

    HTTP request sent, awaiting response... 401 Unauthorized

    Username/Password Authentication Failed.

  • chrispokorni
    chrispokorni Posts: 2,601

    Hello @ineslopes,

    From earlier outputs, it seemed you were missing expected blank spaces between command arguments and flags. For reference, leave 1 blank space between "wget" and "https", as such wget https:.... Also leave 1 blank space between ".tar.xz" and "--user", as such ...tar.xz --user=.... And lastly, leave 1 blank space before --password=....

    Regards,
    -Chris

  • ineslopes
    ineslopes Posts: 5

    It worked. Thank you for your help

Categories

Upcoming Training