Read the statement by Michael Teeuw here.
MMM-GoogleAssistant error when trying to get reponse?
-
Hi everyone, I’m having a problem with the MMM-GoogleAssistant module. Whenever I say something, it gets stuck on loading for about 30 seconds and then gives the following error at the end of the log:
0|mm | [2024-11-05 15:51:26.173] [LOG] [DETECTOR] [RULES] Detected: jarvis from: Porcupine 0|mm | [2024-11-05 15:51:26.187] [LOG] [GA] [ACTIVATE_ASSISTANT] QUERY: { 0|mm | type: 'MIC', 0|mm | key: null, 0|mm | lang: 'en-US', 0|mm | status: 'standby', 0|mm | chime: true 0|mm | } 0|mm | [2024-11-05 15:51:26.190] [LOG] [GA] [ASSISTANT] Used project_id: plenary-justice-369222 0|mm | [2024-11-05 15:51:26.192] [LOG] [GA] [ASSISTANT] deviceModelId is: plenary-justice-369222-bugsounet_GA 0|mm | [2024-11-05 15:51:26.194] [LOG] [GA] [ASSISTANT] deviceId is MMM-GoogleAssistant 0|mm | [2024-11-05 15:51:26.338] [LOG] [GA] [MP3] ~ MP3 FILE CREATING: /home/pi/MagicMirror/modules/MMM-GoogleAssistant/tmp/lastResponse.mp3 0|mm | [2024-11-05 15:51:26.381] [LOG] [GA] [ASSISTANT] MIC:RECORDING START. 0|mm | [2024-11-05 15:51:26.431] [LOG] [GA] [LPCM16] Start listening: 1 channels - use: arecord - device: default - sample rate: 16000 0|mm | [2024-11-05 15:51:28.863] [LOG] [GA] [ASSISTANT] CONVERSATION:TRANSCRIPTION { transcription: 'pil', done: false } 0|mm | [2024-11-05 15:51:28.873] [LOG] [GA] [ASSISTANT] CONVERSATION:TRANSCRIPTION { transcription: 'pilot', done: false } 0|mm | [2024-11-05 15:51:29.217] [LOG] [GA] [ASSISTANT] CONVERSATION:TRANSCRIPTION { transcription: 'pill', done: false } 0|mm | [2024-11-05 15:51:29.221] [LOG] [GA] [ASSISTANT] CONVERSATION:TRANSCRIPTION { transcription: 'pilot', done: false } 0|mm | [2024-11-05 15:51:29.225] [LOG] [GA] [ASSISTANT] CONVERSATION:END_OF_UTTERANCE 0|mm | [2024-11-05 15:51:29.225] [LOG] [GA] [ASSISTANT] MIC:RECORDING_END 0|mm | [2024-11-05 15:51:29.230] [LOG] [GA] [ASSISTANT] CONVERSATION:TRANSCRIPTION { transcription: 'pilot', done: true } 0|mm | [2024-11-05 15:51:29.257] [LOG] [GA] [LPCM16] Stop listening 0|mm | [2024-11-05 15:51:29.895] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600 0|mm | [2024-11-05 15:51:29.900] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600 0|mm | [2024-11-05 15:51:29.908] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600 0|mm | [2024-11-05 15:51:29.912] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600 0|mm | [2024-11-05 15:51:29.915] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600 0|mm | [2024-11-05 15:51:29.918] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600 0|mm | [2024-11-05 15:51:29.922] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600 0|mm | [2024-11-05 15:51:29.926] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600 0|mm | [2024-11-05 15:51:29.930] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600 0|mm | [2024-11-05 15:51:29.936] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 960 0|mm | [2024-11-05 15:51:29.952] [LOG] [GA] [ASSISTANT] CONVERSATION:RESPONSE 0|mm | [2024-11-05 15:51:40.011] [LOG] MMM-VoiceCompanion: Still listening for wake word... 0|mm | [2024-11-05 15:51:40.013] [LOG] MMM-VoiceCompanion: Still listening for wake word... 0|mm | [2024-11-05 15:52:10.018] [LOG] MMM-VoiceCompanion: Still listening for wake word... 0|mm | [2024-11-05 15:52:28.864] [LOG] [GA] [MP3] MP3 FILE CREATED 15360 bytes 0|mm | [2024-11-05 15:52:28.865] [LOG] [GA] [ASSISTANT] CONVERSATION_ERROR: Error: 13 INTERNAL: Received RST_STREAM with code 2 (Internal server error) 0|mm | [2024-11-05 15:52:28.868] [LOG] [GA] [ASSISTANT] CONVERSATION_ALL_RESPONSES_RECEIVED 0|mm | [2024-11-05 15:52:28.869] [LOG] [GA] [ASSISTANT] CONVERSATION_END:COMPLETED 0|mm | [2024-11-05 15:52:28.870] [LOG] [GA] [ASSISTANT] CONVERSATION_PP:RESPONSE_AUDIO_PROCESSED 0|mm | [2024-11-05 15:52:28.871] [LOG] [GA] [MP3] Try to close but MP3 not created ! 0|mm | [2024-11-05 15:52:28.874] [LOG] [GA] [ACTIVATE_ASSISTANT] RESULT { 0|mm | error: { 0|mm | error: 'CONVERSATION_ERROR', 0|mm | message: 'Error: 13 INTERNAL: Received RST_STREAM with code 2 (Internal server error)', 0|mm | audio: false 0|mm | }, 0|mm | action: null, 0|mm | text: null, 0|mm | screen: null, 0|mm | audio: { 0|mm | path: '/home/pi/MagicMirror/modules/MMM-GoogleAssistant/tmp/lastResponse.mp3', 0|mm | uri: 'tmp/lastResponse.mp3' 0|mm | }, 0|mm | transcription: { transcription: 'pilot', done: true }, 0|mm | continue: false, 0|mm | volume: null, 0|mm | lastQuery: { 0|mm | type: 'MIC', 0|mm | key: null, 0|mm | lang: 'en-US', 0|mm | status: 'standby', 0|mm | chime: true 0|mm | } 0|mm | } 0|mm | [2024-11-05 15:52:28.934] [LOG] [DETECTOR] [RULES] Start listening. 1 Models
This issue is strange since I hadn’t encountered it before, but recently, it’s been happening every single time. I tried updating and reinstalling MMM-GoogleAssistant and followed the latest steps in the wiki. If anyone has insights into why this RST_STREAM Error might be occurring, I’d really appreciate your help!
-
i found how too login too bugsonet forum it was all just very unfamiliar but now i found it so i will be moving my question there. but if anyone has any tips on this please dont hesitate too reply.
-
Hi, i think it’s related to grpc library.
I planed to release MMM-GoogleAssistant v8.x in few days. It should fix. (I will update this library)
-
@bugsounet ahh okay. Thank you for your hard work and keep it up.