Mycroft: Session invalid after reboot


#1

Hi,
I just want to keep it short:

I’m using PiCroft v0.8b 2017-01-26 on my RPi3.

So my session is invalid after every reboot and I don’t know how to repair the device.

pi@picroft:~ $ say hi 2017-03-30 21:09:10,726 - mycroft.configuration - DEBUG - Configuration '/usr/local/lib/python2.7/site-packages/mycroft_core-0.8.1-py2.7.egg/mycroft/configuration/mycroft.conf' loaded 2017-03-30 21:09:10,726 - mycroft.configuration - DEBUG - Configuration '/etc/mycroft/mycroft.conf' loaded 2017-03-30 21:09:10,727 - mycroft.configuration - DEBUG - Configuration '/home/pi/.mycroft/mycroft.conf' not found 2017-03-30 21:09:11,928 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai 2017-03-30 21:09:12,389 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 "GET /v1/device//setting HTTP/1.1" 401 38 2017-03-30 21:09:12,402 - mycroft.configuration - WARNING - Failed to fetch remote configuration: HTTPError(u'The supplied authentication is invalid',) Creating client 2017-03-30 21:09:12,418 - mycroft.messagebus.client.ws - INFO - Connected Connected, speaking to Mycroft...'hi' sent!

How to solve this issue?

Thanks in advance.

Greetings


#2

Hey! Welcome!

Other than that, it seems to be working fine?

Right now there isn’t much of a remote configuration, so that’s just a warning. It should work most of the time and just serves to update the local configuration. So changes made on home.mycroft.ai that are currently implemented are pulled down.

When it boots, you should be running Mycroft Core Version: 0.8.6


#3

Well, the speech recognition isn’t working after a reboot.

ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM spdif ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline 2017-03-31 22:18:06,012 - mycroft.messagebus.client.ws - INFO - Connected 2017-03-31 22:18:06,986 - mycroft.client.speech.mic - DEBUG - Waiting for wake word... 2017-03-31 22:18:24,771 - mycroft.client.speech.mic - DEBUG - Recording... 2017-03-31 22:18:24,862 - SpeechClient - INFO - Begin Recording... 2017-03-31 22:18:28,110 - SpeechClient - INFO - End Recording... 2017-03-31 22:18:28,111 - mycroft.client.speech.mic - DEBUG - Thinking... 2017-03-31 22:18:28,112 - mycroft.client.speech.mic - DEBUG - Waiting for wake word... 2017-03-31 22:18:28,113 - mycroft.session - INFO - New Session Start: **SESSION** 2017-03-31 22:18:28,114 - SpeechClient - INFO - Wakeword Detected: hey mycroft 2017-03-31 22:18:28,991 - mycroft.client.speech.listener - ERROR - Could not request Speech Recognition recognition request failed: Not Authorized 2017-03-31 22:18:44,993 - mycroft.client.speech.mic - DEBUG - Recording... 2017-03-31 22:18:44,994 - SpeechClient - INFO - Begin Recording... 2017-03-31 22:18:45,761 - SpeechClient - INFO - End Recording... 2017-03-31 22:18:45,762 - mycroft.client.speech.mic - DEBUG - Thinking... 2017-03-31 22:18:45,763 - mycroft.client.speech.mic - DEBUG - Waiting for wake word... 2017-03-31 22:18:45,764 - SpeechClient - INFO - Wakeword Detected: hey mycroft 2017-03-31 22:18:46,541 - mycroft.client.speech.listener - ERROR - Could not request Speech Recognition recognition request failed: Not Authorized 2017-03-31 22:18:53,952 - mycroft.client.speech.mic - DEBUG - Recording... 2017-03-31 22:18:53,953 - SpeechClient - INFO - Begin Recording... 2017-03-31 22:18:56,781 - SpeechClient - INFO - End Recording... 2017-03-31 22:18:56,782 - mycroft.client.speech.mic - DEBUG - Thinking... 2017-03-31 22:18:56,783 - mycroft.client.speech.mic - DEBUG - Waiting for wake word... 2017-03-31 22:18:56,784 - SpeechClient - INFO - Wakeword Detected: hey mycroft 2017-03-31 22:18:57,593 - mycroft.client.speech.listener - ERROR - Could not request Speech Recognition recognition request failed: Not Authorized 2017-03-31 22:19:03,697 - mycroft.client.speech.mic - DEBUG - Recording... 2017-03-31 22:19:03,698 - SpeechClient - INFO - Begin Recording... 2017-03-31 22:19:05,489 - SpeechClient - INFO - End Recording... 2017-03-31 22:19:05,491 - mycroft.client.speech.mic - DEBUG - Thinking... 2017-03-31 22:19:05,498 - SpeechClient - INFO - Wakeword Detected: hey mycroft 2017-03-31 22:19:05,502 - mycroft.client.speech.mic - DEBUG - Waiting for wake word... 2017-03-31 22:19:06,376 - mycroft.client.speech.listener - ERROR - Could not request Speech Recognition recognition request failed: Not Authorized


#4

I have not seen that issue.

Has Mycroft updated? What version does it say it’s running when you boot?

You could also try deleting your identity file and re-registering via home.mycroft.ai

NOTE:
Check out this page for the location of your identity file: