I am building an alexa powered raspberry pi 3. I used the amazon github site for instructions and everything seemed to go smooth until the last few steps. I run the server with npm start command and it starts successfully. Then when I go to run the client app with mvn exec:exec, it opens and runs but I get an error. It says ERROR com.amazon.alexa.avs.auth.AuthSetup - Failed to start companion service client. Then goes on to say that the provided sessionId is not ready to use. The only time I see sessionId mentioned is on the github page in the config.json example. On my raspberry when I open up config.json there is no sessionId line in mine. Is it supposed to be there and am I even referring to the right thing or am I missing something else? Thanks so much!
When using the companion service example the sessionId will become invalid if the service is restarted. It's supposed to request a new sessionId and prompt you to go through the initial process again if the sessionId is ever invalid, however that doesn't seem to be working for you. Could you please test the following: 1. Remove sessionId from your config.json 2. Start the companion service (npm start) 3. Start the app (mvn exec:exec) 4. Go through the normal process to sign in and make voice requests 5. Stop the companion service 6. Stop the app 7. Restart the app (mvn exec:exec) If you get just the error and no prompt to redo the login process, then we have a problem. I'll investigate, but your feedback on this would be helpful.