This repository was archived by the owner on Feb 18, 2025. It is now read-only.
Description The way orchestrator-client is handling auth in curl is dropping the --basic --user flags, which appears to be a simple omission.
++ get_curl_auth_params
++ local requires_auth=
++ [[ chrisswingler:<redacted> != \: ]]
++ requires_auth='--basic --user chrisswingler:Lech3rY8nymphO'
++ curl --help
++ fgrep -q disallow-username-in-url
++ curl chrisswingler:<redacted> -s --head https://orchestrator.int.sproutsocial.com/api
++ fgrep -q '401 Unauthorized'
++ echo '401 Unauthorized'
++ return
+ local 'curl_auth_params=401 Unauthorized'
+ '[' '401 Unauthorized' == '401 Unauthorized' ']'
+ fail 'Cannot access orchestrator at https://orchestrator.int.sproutsocial.com/api. Check ORCHESTRATOR_API is configured correctly and orchestrator is running'
+ message='orchestrator-client[22728]: Cannot access orchestrator at https://orchestrator.int.sproutsocial.com/api. Check ORCHESTRATOR_API is configured correctly and orchestrator is running'
+ echo 'orchestrator-client[22728]: Cannot access orchestrator at https://orchestrator.int.sproutsocial.com/api. Check ORCHESTRATOR_API is configured correctly and orchestrator is running'
orchestrator-client[22728]: Cannot access orchestrator at https://orchestrator.int.sproutsocial.com/api. Check ORCHESTRATOR_API is configured correctly and orchestrator is running
+ exit 1
Reactions are currently unavailable