Skip to content

[Bug]: Regional agent installer script doesn't handle 302 #189

@dragon2611

Description

@dragon2611

Environment

debian 12

Bug Description

The regional agent one click install script was failing at the package availability check as github was returning a 302 redirect instead of a 200 response code.

Wget is able to follow the redirect and download the .deb so to get things working as a quick and dirty hack i changed the expected response code to 302, but i'd suggest handling both 200 and 302 responses in the package availability check.

Steps to Reproduce

run the script as provided by the agent setup instructions.

Expected Behavior

install the regional agent

Screenshots or Videos

No response

Logs

Checklist

  • I have searched existing issues to avoid creating duplicates.
  • I have provided sufficient information to reproduce the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions