Mycroft Community Forum

Error: Trouble Connecting to MyCroft server

Hello,

I’m running on a Linux machine, actually within a Linux VM on Windows, and I have it in two scenarios.

  1. Not logged into my work network (i.e. - No Proxy)

  2. Logged into my work network (i.e. - Authenticated Proxy)

If I’m running in scenario 1, everything seems to be fine; however this is not the end goal and not what I’m looking to be doing. If I run in scenario 2, I am able to register the device; however whenever I try a command I get a response such as:

“I don’t understand but I’m learning new things every day” or that it is having problems connecting to the MyCroft server. I have set my proxy in linux, both in the environment UI and in the terminal using:

export http_proxy and export https_proxy

with my username/password, proxy, and port. I seem to be able to hit web pages no problem from the browser, as well as https://api.mycroft.ai (which is what I believe it’s trying to hit) based on the logs.

Here’s what I’m seeing in the logs:

skills.log:
requests.exceptions.ProxyError: HTTPSConnectionPool(host=‘api.mycroft.ai’, port=443): Max retries exceeded with url: /v1/device/8cc45305-96f4-453b-b318-565a6a076ed5/skillJson (Caused by ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb588328978>: Failed to establish a new connection: [Errno -2] Name or service not known’,)))
2020-01-12 13:13:25.393 | ERROR | 33381 | mycroft.skills.skill_manager:run:218 | Something really unexpected has occured and the skill manager loop safety harness was hit.
Traceback (most recent call last):

voice.log
2020-01-12 13:09:20.174 | INFO | 33387 | mycroft.session:get:74 | New Session Start: 02b9c5ac-b17d-498a-b0f8-9c66fe9285e2
2020-01-12 13:09:20.176 | INFO | 33387 | main:handle_wakeword:59 | Wakeword Detected: hey mycroft
2020-01-12 13:09:20.582 | INFO | 33387 | main:handle_record_begin:37 | Begin Recording…
2020-01-12 13:09:22.186 | INFO | 33387 | main:handle_record_end:43 | End Recording…
2020-01-12 13:09:23.254 | INFO | 33387 | main:handle_utterance:64 | Utterance: [‘what time is it’]
2020-01-12 13:09:23.286 | WARNING | 33387 | mycroft.api:check_remote_pairing:531 | Could not get device info: ProxyError(MaxRetryError(“HTTPSConnectionPool(host=‘api.mycroft.ai’, port=443): Max retries exceeded with url: /v1/device/8cc45305-96f4-453b-b318-565a6a076ed5 (Caused by ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’<urllib3.connection.VerifiedHTTPSConnection object at 0x7f23ac75e048>: Failed to establish a new connection: [Errno -2] Name or service not known’,)))”,),)
2020-01-12 13:11:54.895 | INFO | 33387 | main:handle_wakeword:59 | Wakeword Detected: hey mycroft
2020-01-12 13:11:55.334 | INFO | 33387 | main:handle_record_begin:37 | Begin Recording…
2020-01-12 13:11:57.000 | INFO | 33387 | main:handle_record_end:43 | End Recording…
2020-01-12 13:11:58.191 | INFO | 33387 | main:handle_utterance:64 | Utterance: [‘what time is it’]
2020-01-12 13:16:55.821 | INFO | 33387 | mycroft.session:get:74 | New Session Start: 42b5ba04-a220-4e63-9b5b-85206b62bec5
2020-01-12 13:16:55.824 | INFO | 33387 | main:handle_wakeword:59 | Wakeword Detected: hey mycroft
2020-01-12 13:16:56.253 | INFO | 33387 | main:handle_record_begin:37 | Begin Recording…
2020-01-12 13:17:01.176 | INFO | 33387 | main:handle_record_end:43 | End Recording…
2020-01-12 13:17:03.147 | ERROR | 33387 | mycroft.client.speech.listener:transcribe:232 | Connection Error: HTTPSConnectionPool(host=‘api.mycroft.ai’, port=443): Max retries exceeded with url: /v1/stt?lang=en-US&limit=1 (Caused by ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’<urllib3.connection.VerifiedHTTPSConnection object at 0x7f23ac77dc88>: Failed to establish a new connection: [Errno -2] Name or service not known’,)))

Anyone have any thoughts on what I may have missed to make it not work?

Thanks,
Jay