Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON Config set-url-pfx does not work #55

Open
oreillyjw opened this issue Jul 19, 2019 · 0 comments
Open

JSON Config set-url-pfx does not work #55

oreillyjw opened this issue Jul 19, 2019 · 0 comments

Comments

@oreillyjw
Copy link

Describe the issue

Running on RaspberryPi 3B+ using the json config file to set option set-url-pfx does not work. See output below from the unum generated various log files
http.log

944 2019.07.19 14:28:59 http_req: 73ebc3c8 PUT url <�<��d��d��d��d��d��d��d��d/v3/unums/<redacted-mac-address>/activate> 2264 2019.07.19 1

unum log:

944 2019.07.19 14:28:59 activate: no response
944 2019.07.19 14:28:59 activate: error, retrying in 41 sec

/etc/opt/unum/config.json

{
  "lan-if": "br-lan",
  "wan-if": "eth0",
  "set-url-pfx" : "http://localhost"
}

Saying this I was able to update the unum systemd service file to get around this.

Expected behavior

Using the config would result in the same behavior as using a command line argument.

Actual behavior

Unable to get a successfully request when using the config file for the set-url-pfx option

Steps to reproduce

  1. Default installed via minim-config
  2. Update /etc/opt/unum/config.json to add set-url-pfx
  3. Start unum agent

Platform, version, etc

  • SDK version: 2019.0719
  • Runtime Platform: linux_generix build
  • Build Platform: RaspberryPi 3B+
dob71 pushed a commit that referenced this issue Feb 5, 2022
* telemetry: revert fix portability issues in ipv6 change (#57)

This reverts commit b8ed8c9.
MIN-2834

* telemetry: revert - add router ipv6 address reporting (enabled by feature flag) (#55)

This reverts commit 07aac64.
MIN-2834

Co-authored-by: Tom Keddie (Minim) <Tom Keddie (Minim)>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant