You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run this from a docker container (network host)
When I run it from the VM which hosts the container everything works.
When I run it inside the container I get two errors
It can't find jq
It says the cookies has expired and it can't renew
jq is there. I put an echo statemant at top of script:
bash-5.0$ ./alexa_remote_control.sh -d "Don's 2nd Echo" -e speak:'Hey Babe'
ls-ltr /data/jq ==> -rwxr-xr-x 1 node-red node-red 30712 Nov 17 19:08 /data/jq
cookie expired, logging in again ...
./alexa_remote_control.sh: line 580: /data/jq: not found
./alexa_remote_control.sh: line 579: /data/jq: not found
ERROR: cookie retrieval with refresh_token didn't work
You can see from the echo statement that /data/jq is present with execute permissions
I have also verified that the ip of host vm and the container are the same if that matters and that is the ip is used from the proxy when generating the token.
The text was updated successfully, but these errors were encountered:
The can't find jq is a red herring. I think when the curl response is piped to jq with unexpected results that is the erroneous error message. However today generating new tokens doesn't help. Always the same error
I am trying to run this from a docker container (network host)
When I run it from the VM which hosts the container everything works.
When I run it inside the container I get two errors
jq is there. I put an echo statemant at top of script:
bash-5.0$ ./alexa_remote_control.sh -d "Don's 2nd Echo" -e speak:'Hey Babe'
ls-ltr /data/jq ==> -rwxr-xr-x 1 node-red node-red 30712 Nov 17 19:08 /data/jq
cookie expired, logging in again ...
./alexa_remote_control.sh: line 580: /data/jq: not found
./alexa_remote_control.sh: line 579: /data/jq: not found
ERROR: cookie retrieval with refresh_token didn't work
You can see from the echo statement that /data/jq is present with execute permissions
I have also verified that the ip of host vm and the container are the same if that matters and that is the ip is used from the proxy when generating the token.
The text was updated successfully, but these errors were encountered: