MOS License: failed to parse frame

If you are asking a question, please follow this template:

  1. My goal is: License Device
  2. My actions are: mos license
  3. The result I see is:

$ mos license
Connecting to the device…
Querying device UID…
PID: mos UID: 03b8dd9f2a324859
Requesting license from https://license.mongoose-os.com
License: YdwrMPVtRkpafar0S1rAcsdphVN6iueWS15e2VWV5t4ZWsepIL2GtZFP/OKpo9aotBcIJDWtt450l85A4+zRt7EZb6MZPITnM4Kd9cu6vMzSzOvaUBrHcGvw8fVGyEtptyctlmnzstJ9aafuab6QTIh02Bxt+YM0oRnR/wHXm3SE8ZJFvCqZ0JjTM2V7Krny (5 left)
E1105 16:40:59.162946 14052 stream.go:243] [streamConnectionCodec to COM8]: failed to parse frame: “{“id”:1768602205383,“src”:“esp8266_CBFBB3”,“dst”:“mos”,“result”:}b54624c6” invalid character ‘}’ looking for beginning of value
E1105 16:41:19.165981 14052 stream.go:243] [streamConnectionCodec to COM8]: failed to parse frame: “{“id”:1886388148890,“src”:“esp8266_CBFBB3”,“dst”:“mos”,“result”:}c6c1adc7” invalid character ‘}’ looking for beginning of value
E1105 16:41:39.163878 14052 stream.go:243] [streamConnectionCodec to COM8]: failed to parse frame: “{“id”:1483443635634,“src”:“esp8266_CBFBB3”,“dst”:“mos”,“result”:}99108ed1” invalid character ‘}’ looking for beginning of value
Error: context deadline exceeded
/go/src/github.com/mongoose-os/mos/common/mgrpc/mgrpc.go:460:
/go/src/github.com/mongoose-os/mos/mos/dev/dev_conn_impl.go:167:
/go/src/github.com/mongoose-os/mos/mos/dev/dev_conn_impl.go:190:
/go/src/github.com/mongoose-os/mos/mos/dev/dev_conn.go:117:
/go/src/github.com/mongoose-os/mos/mos/license_cmd/license.go:116: failed to get config
/go/src/github.com/mongoose-os/mos/mos/main.go:196: license failed
exit status 1
Command completed.

  1. My expectation & question is: be able to license the device after flashing the device