am trying to include an alloy config file using remotecfg i am getting error Error: could not perform the initial load successfully
When tried with curl i am able to get the result
curl -u lijin-jayan:$(cat /etc/github_pass) https://raw.githubusercontent.com/company/tse-alloy-backup/blob/main/server01/app.alloy
Able to get the output successfully. However when i am trying to place in remotecfg its failing.
remotecfg {
url = "https://github.com/company/tse-alloy-backup/blob/main/server01/app.alloy"
basic_auth {
username = "lijin-jayan"
password_file = "/etc/github_pass"
}
poll_frequency = "5m"
}
Note: The alloy config file is valid since i have tried to run it by placing in server its working fine .