Missing config info

Missing info about newly required config parametres: AuthUrl, BaseUrl and API_Version
related file: /src/alexa/http/http.py
avs_auth_url = shared.config['alexa']['AuthUrl']
avs_base_url = shared.config['alexa']['BaseUrl']
API_VERSION = shared.config['alexa']['API_Version']

AAND i found it by trying out random urls
AuthUrl: "https://api.amazon.com"
BaseUrl: "https://avs-alexa-na.amazon.com"

and found some more missing configs, like EventPath

Did you sign up here first? https://developer.amazon.com/login.html

Here is my config (developer key redacted)
# Rename this file to config.yaml and fill in the fields

sound:
  # Name of your microphone/soundcard in arecord -L
  # you can also try setting it to 'default'
  device: "plughw:0"

# Amazon Alexa settings
alexa:
        AuthUrl: "https://api.amazon.com"
        BaseUrl: "https://avs-alexa-na.amazon.com"
        EventPath: "/events"
        API_Version: "v20160207"
        Client_ID: ""
        Client_Secret: ""
        ProductID: "my_device"
        Security_Profile_Description: ""
        Security_Profile_ID: ""
        refresh_token: ""

sphinx:
  trigger_phrase: alexa

raspberrypi:
  # GPIO Pin with button connected
  button: 18
  # GPIO Pin for the playback/activity light
  plb_light: &plb_light 24
  # GPIO Pin for the recording light
  rec_light: &rec_light 25
  # GPIO Pins with LED's connected
  lights: [*plb_light, *rec_light]

alexa:
Client_ID: "xx"
Client_Secret: "x"
ProductID: "AlexaPi"
Security_Profile_Description: "AlexaPi description"
Security_Profile_ID: "amzn1.application.x"
refresh_token: "x"
AuthUrl: "https://api.amazon.com"
BaseUrl: "https://avs-alexa-na.amazon.com"
EventPath: "/events"
API_Version: "v20160207"
@davidmroth

Did you run the python ./auth_web.py command to authorize your hardware?

yes

Please enable logging:
# Amazon Alexa settings debug:         alexa: 'debug'         #hpack: 'debug'         #hyper: 'debug'         #requests: 'debug'

2016-11-24 20:42:33,619 - alexa.http.http - INFO - Checking Internet Connection...
2016-11-24 20:42:33,622 - alexa.http.http - INFO - Connection OK
2016-11-24 20:42:34,778 - alexa.http.http - ERROR - <function <lambda> at 0x75691d30>(): Could not open AVS downchannel stream - https://avs-alexa-na.amazon.com/v20160207/directives

Can you comment out line 99 of src/alexa/http/http.py?
#self.__open_downchannel_stream()
Technically, this isn't working anyway, so it shouldn't be a problem. Pretty sure you're going to run into another issue.  Still thinking something could be wrong with your config or developer settings.

2016-11-24 20:55:05,407 - alexa.http.http - ERROR - error: [Errno 32] Broken pipe
Traceback (most recent call last):
  File "/opt/AlexaPi/src/alexa/http/http.py", line 191, in post
    request = self.__session.post(full_url, headers=headers, files=payload, stream=True, timeout=None)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 522, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 596, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hyper/contrib.py", line 78, in send
    request.headers
  File "/usr/local/lib/python2.7/dist-packages/hyper/common/connection.py", line 103, in request
    method=method, url=url, body=body, headers=headers
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py", line 183, in request
    self._send_headers(method, url, headers)
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py", line 228, in _send_headers
    self._sock.send(b' '.join([method, url, b'HTTP/1.1\r\n']))
  File "/usr/lib/python2.7/ssl.py", line 667, in send
    v = self._sslobj.write(data)

after i say Alexa and alexa says yes, it says instantly after that: error processing request

I'm almost positive Amazon is rejecting your security settings (broken pipe).  Can you checkout the master branch and see if you have the same problem? Or maybe you have done that already. Let me know.
BTW, did you install the hyper package? My guess is you did. Just checking though...

hmm, maybe i try with new security profile

I would first checkout another branch and verify if the problem persists. That will isolate the issue to your profile or my branch. Again, I checked out the branch and it working for me, so something is different.
Let me know what you find...

i had a working installation on the master branch

Traceback (most recent call last):
  File "./auth_web.py", line 12, in <module>
    import alexapi.config
ImportError: No module named alexapi.config

Probably doesn't mean much, but I noticed your line 191 isn't the same as my line 191.  Just to make sure, can you post line 191?

i made a clean reinstall
just now

Traceback (most recent call last):   File "./auth_web.py", line 12, in <module>     import alexapi.config ImportError: No module named alexapi.config
change 'import alexapi.config' to from alexa.helper.config import config and then remove line:
`
with open(alexapi.config.filename, 'r') as stream:
config = yaml.load(stream)
`

!! Traceback (most recent call last):
!!   File "main.py", line 221, in
start()
!!   File "main.py", line 192, in start
if shared.debug == False:
!! AttributeError: 'module' object has no attribute 'debug'

hmm i did the changes to auth_web, but after i click yes on the page it gives me error 500

Add:
else:
    Debug = False

to src/alexa/helper/shared.py
Should look like this when you're done:
 #Get config
if config and 'debug' in config and 'alexa' in config['debug']:
         if config['debug']['alexa']: debug = True
else:
        debug = False

hmm, still getting problems with the auth_web

What problem now?

Error 500 after clicking Yes on the auth page

btw, are you in the alexapi Gitter?

What do you have configured in your developer settings?

https://gyazo.com/2b12ae2c260dfd7cbb17c43beba3fc20

Make it look like mine, but use the IP address of your device.

Send me a screen shot. BTW, you can paste images directly into the comment box.

Error: A URL must be between 1 and 2000 characters.

What? Doesn't make sense. Post an image of what you're trying to save. ...before you press save.

You probably need to remove the blank lines.

i cant

Right, just checked. Just duplicate the settings in the blank boxes

Wait... I'm getting the same error. Sorry...  Let me see what the issue is... BRB

when did you last push?

So, here's the deal. Its been a few months since I've had to use this process. Hence the reason why my code base was not in sync with ./auth_web.py.
Looking into this now... Should have a fix shortly...

you need that :p

Yeah, I deserve that... :-(

hmm,
 alexa.http.http - ERROR - <function <lambda> at 0x755fbd30>(): Could not open AVS downchannel stream - https://avs-alexa-na.amazon.com/v20160207/directives
Traceback (most recent call last):
  File "/opt/AlexaPi/src/alexa/http/http.py", line 146, in __open_downchannel_stream
    response = self.__session.get(full_url, headers=headers, stream=True, timeout=None)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 488, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 596, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hyper/contrib.py", line 80, in send
    resp = conn.get_response()
  File "/usr/local/lib/python2.7/dist-packages/hyper/common/connection.py", line 129, in get_response
    return self._conn.get_response(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py", line 204, in get_response
    response = self.parser.parse_response(self._sock.buffer)
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/parser.py", line 52, in parse_response
    version, status, reason = temp_buffer[0:index].split(None, 2)
ValueError: need more than 2 values to unpack
2016-11-24 22:30:04,620 - alexa.http.http - ERROR - error: need more than 2 values to unpack
Traceback (most recent call last):
  File "/opt/AlexaPi/src/alexa/http/http.py", line 146, in __open_downchannel_stream
    response = self.__session.get(full_url, headers=headers, stream=True, timeout=None)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 488, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 596, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hyper/contrib.py", line 80, in send
    resp = conn.get_response()
  File "/usr/local/lib/python2.7/dist-packages/hyper/common/connection.py", line 129, in get_response
    return self._conn.get_response(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py", line 204, in get_response
    response = self.parser.parse_response(self._sock.buffer)
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/parser.py", line 52, in parse_response
    version, status, reason = temp_buffer[0:index].split(None, 2)
ValueError: need more than 2 values to unpack
2016-11-24 22:30:04,782 - alexa.http.http - ERROR - <function <lambda> at 0x755fbd30>(): Could not synchronize state - %s
Traceback (most recent call last):
  File "/opt/AlexaPi/src/alexa/http/http.py", line 164, in __synchronize_state
    request = self.__session.post(full_url, headers=headers, files=payload, stream=True, timeout=None)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 522, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 596, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hyper/contrib.py", line 80, in send
    resp = conn.get_response()
  File "/usr/local/lib/python2.7/dist-packages/hyper/common/connection.py", line 129, in get_response
    return self._conn.get_response(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py", line 204, in get_response
    response = self.parser.parse_response(self._sock.buffer)
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/parser.py", line 52, in parse_response
    version, status, reason = temp_buffer[0:index].split(None, 2)
ValueError: need more than 2 values to unpack
2016-11-24 22:30:04,785 - alexa.http.http - ERROR - error: need more than 2 values to unpack
Traceback (most recent call last):
  File "/opt/AlexaPi/src/alexa/http/http.py", line 164, in __synchronize_state
    request = self.__session.post(full_url, headers=headers, files=payload, stream=True, timeout=None)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 522, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 596, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hyper/contrib.py", line 80, in send
    resp = conn.get_response()
  File "/usr/local/lib/python2.7/dist-packages/hyper/common/connection.py", line 129, in get_response
    return self._conn.get_response(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py", line 204, in get_response
    response = self.parser.parse_response(self._sock.buffer)
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/parser.py", line 52, in parse_response
    version, status, reason = temp_buffer[0:index].split(None, 2)
ValueError: need more than 2 values to unpack
2016-11-24 22:30:14,512 - alexa.http.http - ERROR - <function <lambda> at 0x755fbd30>(): Could not post to: https://avs-alexa-na.amazon.com/v20160207/events/
Traceback (most recent call last):
  File "/opt/AlexaPi/src/alexa/http/http.py", line 191, in post
    request = self.__session.post(full_url, headers=headers, files=payload, stream=True, timeout=None)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 522, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 596, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hyper/contrib.py", line 78, in send
    request.headers
  File "/usr/local/lib/python2.7/dist-packages/hyper/common/connection.py", line 103, in request
    method=method, url=url, body=body, headers=headers
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py", line 183, in request
    self._send_headers(method, url, headers)
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py", line 228, in _send_headers
    self._sock.send(b' '.join([method, url, b'HTTP/1.1\r\n']))
  File "/usr/lib/python2.7/ssl.py", line 667, in send
    v = self._sslobj.write(data)
error: [Errno 32] Broken pipe
2016-11-24 22:30:14,516 - alexa.http.http - ERROR - error: [Errno 32] Broken pipe
Traceback (most recent call last):
  File "/opt/AlexaPi/src/alexa/http/http.py", line 191, in post
    request = self.__session.post(full_url, headers=headers, files=payload, stream=True, timeout=None)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 522, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 596, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hyper/contrib.py", line 78, in send
    request.headers
  File "/usr/local/lib/python2.7/dist-packages/hyper/common/connection.py", line 103, in request
    method=method, url=url, body=body, headers=headers
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py", line 183, in request
    self._send_headers(method, url, headers)
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py", line 228, in _send_headers
    self._sock.send(b' '.join([method, url, b'HTTP/1.1\r\n']))
  File "/usr/lib/python2.7/ssl.py", line 667, in send
    v = self._sslobj.write(data)
error: [Errno 32] Broken pipe
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/opt/AlexaPi/src/alexa/avs/directive_dispatcher.py", line 76, in processor
    log.debug("{}(process_response Error){} Status Code: {} - {}".format(shared.bcolors.WARNING, shared.bcolors.ENDC, r.status_code, r.text))
AttributeError: 'bool' object has no attribute 'status_code'

hmm
i changed the port in the auth_web to 5050 as my 5000 is in use btw, it works after your update but still after i give alexa command, it says error processing

Are you one a Windows or Linux?

im on rasbian distro of debian
on raspi

If port 5000 is in use, it could mean you have another python instance running. Can you run the command: ps aux | grep python?

i know what is using it tho

Oh. Got it. Sorry

How did you install hyper? Can you run the cmd: hyper --version

BTW, it appears I'm running 0.7.0

i used pip install hyper
and that command give me
Traceback (most recent call last):
  File "/usr/local/bin/hyper", line 7, in <module>
    from hyper.cli import main
ImportError: No module named 'hyper'

Not sure where you Linux distro keeps the Python packages, but mine are in the /usr/local/lib dir. Can you run the cmd: find /usr/local/lib/ | grep "hyper-"

what distro you on

im on raspbian

Ubuntu/Customized

we do have same path for packages

What did that command come back with?

/usr/local/lib/python2.7/dist-packages/hyper-0.7.0.dist-info
/usr/local/lib/python2.7/dist-packages/hyper-0.7.0.dist-info/entry_points.txt
/usr/local/lib/python2.7/dist-packages/hyper-0.7.0.dist-info/WHEEL
/usr/local/lib/python2.7/dist-packages/hyper-0.7.0.dist-info/top_level.txt
/usr/local/lib/python2.7/dist-packages/hyper-0.7.0.dist-info/DESCRIPTION.rst
/usr/local/lib/python2.7/dist-packages/hyper-0.7.0.dist-info/metadata.json
/usr/local/lib/python2.7/dist-packages/hyper-0.7.0.dist-info/METADATA
/usr/local/lib/python2.7/dist-packages/hyper-0.7.0.dist-info/RECORD
find: `/usr/local/lib/python3.4/dist-packages': Permission denied

What is your python version? 2.7? cmd: python --version

2.7.9

I'm sure it doesn't make a difference, but I'm on: Python 2.7.12

what im wondering is   File "/usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py", line 228, in _send_headers
self._sock.send(b' '.join([method, url, b'HTTP/1.1\r\n']))
doesnt api 2 ned http 2

hmm, could you push all your files to the branch?

"All your files?" I just did a push. What files specifically are you referring to?

Can you add a print statement above line 228 of /usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py? print method, url, headers

Here is what I get back:
POST /auth/o2/token HTTPHeaderMap([('Connection', 'keep-alive'), ('Accept-Encoding', 'gzip, deflate'), ('Accept', '*/*'), ('User-Agent', 'python-requests/2.11.1'), ('Content-Type', 'application/x-www-form-urlencoded'), ('Content-Length', '759'), ('host', 'api.amazon.com')])

My full log...
2016-11-24 17:08:32,558 - alexa.http.http - INFO - Checking Internet Connection...
2016-11-24 17:08:32,559 - alexa.http.http - INFO - Connection OK
POST /auth/o2/token HTTPHeaderMap([('Connection', 'keep-alive'), ('Accept-Encoding', 'gzip, deflate'), ('Accept', '*/*'), ('User-Agent', 'python-requests/2.11.1'), ('Content-Type', 'application/x-www-form-urlencoded'), ('Content-Length', '759'), ('host', 'api.amazon.com')])
2016-11-24 17:08:34,486 - alexa.avs.interface_manager - INFO -
2016-11-24 17:08:34,487 - alexa.avs.interface_manager - INFO - ----------------------
2016-11-24 17:08:34,487 - alexa.avs.interface_manager - INFO - Importing alexa.avs.interface.AudioPlayer...
2016-11-24 17:08:34,489 - alexa.avs.interface_manager - INFO - Importing alexa.avs.interface.SpeechRecognizer...
2016-11-24 17:08:34,490 - alexa.avs.interface_manager - INFO - Importing alexa.avs.interface.SpeechSynthesizer...
2016-11-24 17:08:34,490 - alexa.avs.interface_manager - INFO - ----------------------
2016-11-24 17:08:34,491 - alexa.avs.interface_manager - INFO -
2016-11-24 17:08:34,530 - alexa.player.player - INFO - Play local media: /home/alexa/git/AlexaPi_Older-Commit/src/resources/hello.mp3
2016-11-24 17:08:34,531 - alexa.player.player - DEBUG - Media Player State: State.Opening/play_local
2016-11-24 17:08:34,611 - alexa.player.player - DEBUG - Media Player State: State.Playing/play_local
2016-11-24 17:08:37,075 - alexa.player.player - DEBUG - Media Player State: State.Ended/play_local

POST /v20160207/events/ HTTPHeaderMap([('Connection', 'keep-alive'), ('Accept-Encoding', 'gzip, deflate'), ('Accept', '/'), ('User-Agent', 'python-requests/2.11.1'), ('Authorization', 'Bearer Atza|xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'), ('Content-Length', '132085'), ('Content-Type', 'multipart/form-data; boundary=131cd7b9ea5d4999b21370834b8ba559'), ('host', 'avs-alexa-na.amazon.com')])

Pls post the full log, so we can compare. Similar to what I posted.

Actually, only post up to this point for now... Here is what you posted previously. Want to see what it looks like now that you added debugging to the /usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py
2016-11-24 20:42:33,619 - alexa.http.http - INFO - Checking Internet Connection...
2016-11-24 20:42:33,622 - alexa.http.http - INFO - Connection OK
2016-11-24 20:42:34,778 - alexa.http.http - ERROR - <function <lambda> at 0x75691d30>(): Could not open AVS downchannel stream - https://avs-alexa-na.amazon.com/v20160207/directives

2016-11-24 23:20:44,139 - alexa.http.http - ERROR - <function <lambda> at 0x756dfb70>(): Could not open AVS downchannel stream - https://avs-alexa-na.amazon.com/v20160207/directives
Traceback (most recent call last):
  File "/opt/AlexaPi/src/alexa/http/http.py", line 146, in __open_downchannel_stream
    response = self.__session.get(full_url, headers=headers, stream=True, timeout=None)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 488, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 596, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hyper/contrib.py", line 80, in send
    resp = conn.get_response()
  File "/usr/local/lib/python2.7/dist-packages/hyper/common/connection.py", line 129, in get_response
    return self._conn.get_response(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py", line 204, in get_response
    response = self.parser.parse_response(self._sock.buffer)
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/parser.py", line 52, in parse_response
    version, status, reason = temp_buffer[0:index].split(None, 2)
ValueError: need more than 2 values to unpack
2016-11-24 23:20:44,145 - alexa.http.http - ERROR - error: need more than 2 values to unpack
Traceback (most recent call last):
  File "/opt/AlexaPi/src/alexa/http/http.py", line 146, in __open_downchannel_stream
    response = self.__session.get(full_url, headers=headers, stream=True, timeout=None)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 488, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 596, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hyper/contrib.py", line 80, in send
    resp = conn.get_response()
  File "/usr/local/lib/python2.7/dist-packages/hyper/common/connection.py", line 129, in get_response
    return self._conn.get_response(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py", line 204, in get_response
    response = self.parser.parse_response(self._sock.buffer)
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/parser.py", line 52, in parse_response
    version, status, reason = temp_buffer[0:index].split(None, 2)
ValueError: need more than 2 values to unpack
2016-11-24 23:20:44,294 - alexa.http.http - ERROR - <function <lambda> at 0x756dfb70>(): Could not synchronize state - %s
Traceback (most recent call last):
  File "/opt/AlexaPi/src/alexa/http/http.py", line 164, in __synchronize_state
    request = self.__session.post(full_url, headers=headers, files=payload, stream=True, timeout=None)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 522, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 596, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hyper/contrib.py", line 80, in send
    resp = conn.get_response()
  File "/usr/local/lib/python2.7/dist-packages/hyper/common/connection.py", line 129, in get_response
    return self._conn.get_response(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py", line 204, in get_response
    response = self.parser.parse_response(self._sock.buffer)
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/parser.py", line 52, in parse_response
    version, status, reason = temp_buffer[0:index].split(None, 2)
ValueError: need more than 2 values to unpack
2016-11-24 23:20:44,296 - alexa.http.http - ERROR - error: need more than 2 values to unpack
Traceback (most recent call last):
  File "/opt/AlexaPi/src/alexa/http/http.py", line 164, in __synchronize_state
    request = self.__session.post(full_url, headers=headers, files=payload, stream=True, timeout=None)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 522, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 596, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hyper/contrib.py", line 80, in send
    resp = conn.get_response()
  File "/usr/local/lib/python2.7/dist-packages/hyper/common/connection.py", line 129, in get_response
    return self._conn.get_response(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py", line 204, in get_response
    response = self.parser.parse_response(self._sock.buffer)
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/parser.py", line 52, in parse_response
    version, status, reason = temp_buffer[0:index].split(None, 2)
ValueError: need more than 2 values to unpack
2016-11-24 23:20:57,610 - alexa.http.http - ERROR - <function <lambda> at 0x756dfb70>(): Could not post to: https://avs-alexa-na.amazon.com/v20160207/events/
Traceback (most recent call last):
  File "/opt/AlexaPi/src/alexa/http/http.py", line 191, in post
    request = self.__session.post(full_url, headers=headers, files=payload, stream=True, timeout=None)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 522, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 596, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hyper/contrib.py", line 78, in send
    request.headers
  File "/usr/local/lib/python2.7/dist-packages/hyper/common/connection.py", line 103, in request
    method=method, url=url, body=body, headers=headers
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py", line 183, in request
    self._send_headers(method, url, headers)
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py", line 229, in _send_headers
    self._sock.send(b' '.join([method, url, b'HTTP/1.1\r\n']))
  File "/usr/lib/python2.7/ssl.py", line 667, in send
    v = self._sslobj.write(data)
error: [Errno 32] Broken pipe
2016-11-24 23:20:57,613 - alexa.http.http - ERROR - error: [Errno 32] Broken pipe
Traceback (most recent call last):
  File "/opt/AlexaPi/src/alexa/http/http.py", line 191, in post
    request = self.__session.post(full_url, headers=headers, files=payload, stream=True, timeout=None)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 522, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 596, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hyper/contrib.py", line 78, in send
    request.headers
  File "/usr/local/lib/python2.7/dist-packages/hyper/common/connection.py", line 103, in request
    method=method, url=url, body=body, headers=headers
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py", line 183, in request
    self._send_headers(method, url, headers)
  File "/usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py", line 229, in _send_headers
    self._sock.send(b' '.join([method, url, b'HTTP/1.1\r\n']))
  File "/usr/lib/python2.7/ssl.py", line 667, in send
    v = self._sslobj.write(data)
error: [Errno 32] Broken pipe

POST /auth/o2/token HTTPHeaderMap([('Connection', 'keep-alive'), ('Accept-Encoding', 'gzip, deflate'), ('Accept', '*/*'), ('User-Agent', 'python-requests/2.11.1'), ('Content-Type', 'application/x-www-form-urlencoded'), ('Content-Length', '737'), ('host', 'api.amazon.com')])
GET /v20160207/directives HTTPHeaderMap([('Connection', 'keep-alive'), ('Accept-Encoding', 'gzip, deflate'), ('Accept', '*/*'), ('User-Agent', 'python-requests/2.11.1'), ('Authorization', 'Bearer Atza|IwEBIAP_JDzb3QJydxxxxxxxxxxxxxxxxxxxxOQfIrziGXtZMWlzqZu6x7N9xioU815w2T6qGifbUc8ar8Py2dhA07iLFhNFtxHC8YgjiKoXYFKI_n1S6CfCu3rvoHpXmkIBIwpJAdYakx5J-maDA-on42WhSmeK2PUbCrS0XSBlKC_W7s2lAZ7HBWGXcvm5ZaM5lJ_L_NhezNhsgIddgwwCDqtpc9_gXHqGdAb2cJkremhSeuBLQ'), ('host', 'avs-alexa-na.amazon.com')])
POST /v20160207/events HTTPHeaderMap([('Connection', 'keep-alive'), ('Accept-Encoding', 'gzip, deflate'), ('Accept', '*/*'), ('User-Agent', 'python-requests/2.11.1'), ('Authorization', 'Bearer Atza|IwxxxxxxxxxxxxxxxxxxxxxxxxxwpJAdYakx5J-maDA-on42WhSmeK2PUbCrS0XSBlKC_W7s2lAZ7HBWGXcvm5ZaM5lJ_L_NhezNhsgIddgwwCDqtpc9_gXHqGdAb2cJkremhSeuBLQ'), ('Content-Length', '270'), ('Content-Type', 'multipart/form-data; boundary=10c538fa895c4a75ad3e9422ddf0cb21'), ('host', 'avs-alexa-na.amazon.com')])
POST /v20160207/events/ HTTPHeaderMap([('Connection', 'keep-alive'), ('Accept-Encoding', 'gzip, deflate'), ('Accept', '*/*'), ('User-Agent', 'python-requests/2.11.1'), ('Authorization', 'Bearer Atza|IwEBIAP_xxxxxxxxxxxxxxxxxxxxxxxkIBIwpJAdYakx5J-maDA-on42WhSmeK2PUbCrS0XSxxxxxxxxxxxxxxxxxxxxxxxxgIddgwwCDqtpc9_gXHqGdAb2cJkremhSeuBLQ'), ('Content-Length', '102325'), ('Content-Type', 'multipart/form-data; boundary=2d188e145bd34567bc48d131068398f2'), ('host', 'avs-alexa-na.amazon.com')])
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/opt/AlexaPi/src/alexa/avs/directive_dispatcher.py", line 76, in processor
    log.debug("{}(process_response Error){} Status Code: {} - {}".format(shared.bcolors.WARNING, shared.bcolors.ENDC, r.status_code, r.text))
AttributeError: 'bool' object has no attribute 'status_code'

Did you enable logging in your config.yaml?

Also, did you add additional logging in /usr/local/lib/python2.7/dist-packages/hyper/http11/connection.py? Just trying to figure out why your output is so much different than mine?

I gotta run, but I will leave you with this... Its long, but if you enable full logging, you should be able to compare your log with mine to see what's different:
Enable full logging in config.yaml
# Amazon Alexa settings
debug:
        alexa: 'debug'
        hpack: 'debug'
        hyper: 'debug'
        requests: 'debug'

Full debug log:
2016-11-24 17:42:07,001 - alexa.http.http - INFO - Checking Internet Connection...
2016-11-24 17:42:07,003 - alexa.http.http - INFO - Connection OK
2016-11-24 17:42:07,489 - hyper.http11.connection - DEBUG - Selected protocol: h2
2016-11-24 17:42:07,494 - hyper.http20.connection - DEBUG - recv for stream 0 with set([]) already present
2016-11-24 17:42:07,497 - hyper.http20.connection - INFO - Received unhandled event <RemoteSettingsChanged changed_settings:{3: ChangedSetting(setting=3, original_value=None, new_value=10), 6: ChangedSetting(setting=6, original_value=None, new_value=40960)}>
2016-11-24 17:42:07,502 - hpack.hpack - DEBUG - HPACK encoding <generator object secure_headers at 0x74d256e8>
2016-11-24 17:42:07,504 - hpack.hpack - DEBUG - Adding (':method', 'GET') to the header table
2016-11-24 17:42:07,506 - hpack.hpack - DEBUG - Encoding 2 with 7 bits
2016-11-24 17:42:07,507 - hpack.hpack - DEBUG - Adding (':scheme', 'https') to the header table
2016-11-24 17:42:07,509 - hpack.hpack - DEBUG - Encoding 7 with 7 bits
2016-11-24 17:42:07,510 - hpack.hpack - DEBUG - Adding (':authority', 'avs-alexa-na.amazon.com') to the header table
2016-11-24 17:42:07,511 - hpack.hpack - DEBUG - Encoding 1 with 6 bits
2016-11-24 17:42:07,514 - hpack.hpack - DEBUG - Encoding 17 with 7 bits
2016-11-24 17:42:07,515 - hpack.hpack - DEBUG - Adding (':path', '/v20160207/directives') to the header table
2016-11-24 17:42:07,516 - hpack.hpack - DEBUG - Encoding 4 with 6 bits
2016-11-24 17:42:07,518 - hpack.hpack - DEBUG - Encoding 15 with 7 bits
2016-11-24 17:42:07,519 - hpack.hpack - DEBUG - Adding ('accept-encoding', 'gzip') to the header table
2016-11-24 17:42:07,520 - hpack.hpack - DEBUG - Encoding 16 with 6 bits
2016-11-24 17:42:07,521 - hpack.hpack - DEBUG - Encoding 3 with 7 bits
2016-11-24 17:42:07,522 - hpack.hpack - DEBUG - Adding ('accept-encoding', 'deflate') to the header table
2016-11-24 17:42:07,523 - hpack.hpack - DEBUG - Encoding 16 with 6 bits
2016-11-24 17:42:07,524 - hpack.hpack - DEBUG - Encoding 5 with 7 bits
2016-11-24 17:42:07,525 - hpack.hpack - DEBUG - Adding ('accept', '*/*') to the header table
2016-11-24 17:42:07,526 - hpack.hpack - DEBUG - Encoding 19 with 6 bits
2016-11-24 17:42:07,527 - hpack.hpack - DEBUG - Encoding 3 with 7 bits
2016-11-24 17:42:07,528 - hpack.hpack - DEBUG - Adding ('user-agent', 'python-requests/2.11.1') to the header table
2016-11-24 17:42:07,529 - hpack.hpack - DEBUG - Encoding 58 with 6 bits
2016-11-24 17:42:07,530 - hpack.hpack - DEBUG - Encoding 16 with 7 bits
2016-11-24 17:42:07,531 - hpack.hpack - DEBUG - Adding ('authorization', 'Bearer Atza|IwEBID66CSZBLwelom7Yzx0YT1LsmtyCuiZHJiTkBtRA0LRSwSd_W7Fos7QQYlh8OH5NWUeZUXn7CfNCSIo_yTA7sROnVwW2HpUf97PGewgr0_o9VxUXC9S4-1Oc88nyRsk6vca9uPd-B540qfPa_7dJSc[**redacted**]OjoJFb0y6dGyW30kZ5TBNIz4F-KEqCP2DhQK0RO9Vz7iWDyXy5TLvhjzh_i2bR5oEeEVRFUR9U8DUNQITAw5gsd1fjbMuCdatfzf6rm8nbT8v1C9JpNSVBu4rbVhTBZ1rWJNQDxRwGVKjzhyjcS9H0KZ1Q-Ds13FF2-q0WGouzv6fcjX13CPfLT-Hs8kh-49DA7JpD1Jf06Q66m8lhtEx84soB0S6WmIYCIFGsYkRamC0') to the header table
2016-11-24 17:42:07,532 - hpack.hpack - DEBUG - Encoding 23 with 4 bits
2016-11-24 17:42:07,541 - hpack.hpack - DEBUG - Encoding 476 with 7 bits
2016-11-24 17:42:07,542 - hpack.hpack - DEBUG - Encoded header block to ��A�t,:
                                                                                �kT5�H����zD�c�� :Ć��I��P��٫P����4�S��c�z���g=KX^֕	C\!\?���Q�[�>��2x�w%���������ߐs���>�Zo�yM���������H�;��wf�tN��m�����?*v��on�x�o��m�W������E�5����������X:���zڎ�w ߷\�]m�v�X�vL��/5^��8��S���r�n��q�������3��k��1n�f���lU����e��_9����|ug���2���)z����7��^��n�Ց��}����.�������n���Л�����������<\�S�������-<�q�kD����B8n��^����w����p�NI��&A����t����`�{X�ϳ06���M����M���~���kg�\v����_��fM��ndHzG���
                                         ߡص��8D�`r�{}�rRt�
                                                          7�˟z���Y�i�𻖻��(�㔽D�����{���*rs��$s��t�
2016-11-24 17:42:07,544 - hyper.http20.connection - DEBUG - recv for stream 1 with set([]) already present
2016-11-24 17:42:07,547 - hyper.http20.connection - INFO - Received unhandled event <SettingsAcknowledged changed_settings:{2: ChangedSetting(setting=2, original_value=1, new_value=0)}>
2016-11-24 17:42:07,550 - hyper.http20.connection - INFO - Received unhandled event <SettingsAcknowledged changed_settings:{}>
2016-11-24 17:42:07,551 - hyper.http20.connection - DEBUG - recv for stream 1 with set([]) already present
%��H�mR�P,��,��$��Q>�,�� hpack.hpack - DEBUG - Decoding �T*@�����R���BM'�Z2K,�zA�ۋN�Ki����2��#��U�0�ԁi`�_���j�bX��
                         A�ǩ��=_
2016-11-24 17:42:07,773 - hpack.hpack - DEBUG - Decoded 8, consumed 1 bytes
2016-11-24 17:42:07,774 - hpack.hpack - DEBUG - Decoded (':status', '200'), consumed 1
2016-11-24 17:42:07,774 - hpack.hpack - DEBUG - Decoded 20, consumed 1 bytes
2016-11-24 17:42:07,775 - hpack.hpack - DEBUG - Decoded 1, consumed 1 bytes
2016-11-24 17:42:07,775 - hpack.hpack - DEBUG - Decoded ('access-control-allow-origin', <memory at 0x75a0cda0>), total consumed 3 bytes, indexed True
2016-11-24 17:42:07,775 - hpack.hpack - DEBUG - Decoded 12, consumed 1 bytes
2016-11-24 17:42:07,776 - hpack.hpack - DEBUG - Decoded 44, consumed 1 bytes
2016-11-24 17:42:07,776 - hpack.hpack - DEBUG - Decoded ('x-amzn-requestid', '0e403dfffe8daf56-000047e2-00044408-d00638091a6c99be-0a154d14-1'), total consumed 59 bytes, indexed True
2016-11-24 17:42:07,777 - hpack.hpack - DEBUG - Decoded 31, consumed 1 bytes
2016-11-24 17:42:07,777 - hpack.hpack - DEBUG - Decoded 47, consumed 1 bytes
2016-11-24 17:42:07,778 - hpack.hpack - DEBUG - Decoded ('content-type', 'multipart/related; boundary=------abcde123; type=application/json'), total consumed 49 bytes, indexed True
2016-11-24 17:42:07,779 - hyper.http20.connection - INFO - Received unhandled event <PriorityUpdated stream_id:1, weight:16, depends_on:0, exclusive:False>
2016-11-24 17:42:07,788 - hpack.hpack - DEBUG - HPACK encoding <generator object secure_headers at 0x74d41210>
2016-11-24 17:42:07,788 - hpack.hpack - DEBUG - Adding (':method', 'POST') to the header table
2016-11-24 17:42:07,789 - hpack.hpack - DEBUG - Encoding 3 with 7 bits
2016-11-24 17:42:07,790 - hpack.hpack - DEBUG - Adding (':scheme', 'https') to the header table
2016-11-24 17:42:07,790 - hpack.hpack - DEBUG - Encoding 7 with 7 bits
2016-11-24 17:42:07,790 - hpack.hpack - DEBUG - Adding (':authority', 'avs-alexa-na.amazon.com') to the header table
2016-11-24 17:42:07,791 - hpack.hpack - DEBUG - Encoding 67 with 7 bits
2016-11-24 17:42:07,791 - hpack.hpack - DEBUG - Adding (':path', '/v20160207/events') to the header table
2016-11-24 17:42:07,792 - hpack.hpack - DEBUG - Encoding 4 with 6 bits
2016-11-24 17:42:07,793 - hpack.hpack - DEBUG - Encoding 12 with 7 bits
2016-11-24 17:42:07,793 - hpack.hpack - DEBUG - Adding ('accept-encoding', 'gzip') to the header table
2016-11-24 17:42:07,793 - hpack.hpack - DEBUG - Encoding 66 with 7 bits
2016-11-24 17:42:07,794 - hpack.hpack - DEBUG - Adding ('accept-encoding', 'deflate') to the header table
2016-11-24 17:42:07,794 - hpack.hpack - DEBUG - Encoding 65 with 7 bits
2016-11-24 17:42:07,795 - hpack.hpack - DEBUG - Adding ('accept', '*/*') to the header table
2016-11-24 17:42:07,795 - hpack.hpack - DEBUG - Encoding 64 with 7 bits
2016-11-24 17:42:07,796 - hpack.hpack - DEBUG - Adding ('user-agent', 'python-requests/2.11.1') to the header table
2016-11-24 17:42:07,797 - hpack.hpack - DEBUG - Encoding 63 with 7 bits
2016-11-24 17:42:07,797 - hpack.hpack - DEBUG - Adding ('authorization', 'Bearer Atza|IwEBID66CSZBLwelom7Yzx0YT1LsmtyCuiZHJiTkBtRA0LRSwSd_W7Fos7QQYlh8OH5NWUeZUXn7CfNCSIo_yTA7sROnVwW2HpUf97PGewgr0_o9VxUXC9S4-1Oc88nyRsk6vca9uPd-B540qfPa_7dJSc[**redacted**]OjoJFb0y6dGyW30kZ5TBNIz4F-KEqCP2DhQK0RO9Vz7iWDyXy5TLvhjzh_i2bR5oEeEVRFUR9U8DUNQITAw5gsd1fjbMuCdatfzf6rm8nbT8v1C9JpNSVBu4rbVhTBZ1rWJNQDxRwGVKjzhyjcS9H0KZ1Q-Ds13FF2-q0WGouzv6fcjX13CPfLT-Hs8kh-49DA7JpD1Jf06Q66m8lhtEx84soB0S6WmIYCIFGsYkRamC0') to the header table
2016-11-24 17:42:07,797 - hpack.hpack - DEBUG - Encoding 23 with 4 bits
2016-11-24 17:42:07,802 - hpack.hpack - DEBUG - Encoding 476 with 7 bits
2016-11-24 17:42:07,802 - hpack.hpack - DEBUG - Adding ('content-length', '270') to the header table
2016-11-24 17:42:07,803 - hpack.hpack - DEBUG - Encoding 28 with 6 bits
2016-11-24 17:42:07,803 - hpack.hpack - DEBUG - Encoding 2 with 7 bits
2016-11-24 17:42:07,804 - hpack.hpack - DEBUG - Adding ('content-type', 'multipart/form-data; boundary=443e4ffcf7074e938779955e45c6f466') to the header table
2016-11-24 17:42:07,804 - hpack.hpack - DEBUG - Encoding 31 with 6 bits
2016-11-24 17:42:07,805 - hpack.hpack - DEBUG - Encoding 45 with 7 bits
2016-11-24 17:42:07,805 - hpack.hpack - DEBUG - Encoded header block to ���D�c�� :�{����������Q�[�>��2x�w%���������ߐs���>�Zo�yM���������H�;��wf�tN��m�����?*v��on�x�o��m�W������E�5����������X:���zڎ�w ߷\�]m�v�X�vL��/5^��8��S���r�n��q�������3��k��1n�f���lU����e��_9����|ug���W_�Ͼ�Wgߓ���AS���cd��-;�]�s�#mZz������������2���)z����7��^��n�Ց��}����.�������n���Л����&A����t����`�{X�ϳ06���M����M���~���kg�\v����_��fM��ndHzG���
                                         ߡص��8D�`r�{}�rRt�
                                                          7�˟z���Y�i�𻖻��(�㔽D�����{���*rs��$s��t�\��_���j�bX��R��H�Ԍ�� ��M2V����Z+��믾�ei�9+N9
2016-11-24 17:42:07,807 - hyper.http20.connection - DEBUG - recv for stream 3 with set([1]) already present
2016-11-24 17:42:08,096 - hpack.hpack - DEBUG - Decoding ���Z2K,�zA�ۋN�Ki����2��#��U�0�ԁif
2016-11-24 17:42:08,097 - hpack.hpack - DEBUG - Decoded 9, consumed 1 bytes
2016-11-24 17:42:08,097 - hpack.hpack - DEBUG - Decoded (':status', '204'), consumed 1
2016-11-24 17:42:08,098 - hpack.hpack - DEBUG - Decoded 64, consumed 1 bytes
2016-11-24 17:42:08,098 - hpack.hpack - DEBUG - Decoded ('access-control-allow-origin', <memory at 0x75a0cda0>), consumed 1
2016-11-24 17:42:08,099 - hpack.hpack - DEBUG - Decoded 63, consumed 2 bytes
2016-11-24 17:42:08,099 - hpack.hpack - DEBUG - Decoded 44, consumed 1 bytes
2016-11-24 17:42:08,100 - hpack.hpack - DEBUG - Decoded ('x-amzn-requestid', '0e403dfffe8daf56-000047e2-00044408-d00638091a6c99be-0a154d14-3'), total consumed 47 bytes, indexed True
2016-11-24 17:42:08,102 - hyper.http20.connection - INFO - Received unhandled event <PriorityUpdated stream_id:3, weight:16, depends_on:0, exclusive:False>
2016-11-24 17:42:08,706 - alexa.avs.interface_manager - INFO -
2016-11-24 17:42:08,707 - alexa.avs.interface_manager - INFO - ----------------------
2016-11-24 17:42:08,708 - alexa.avs.interface_manager - INFO - Importing alexa.avs.interface.AudioPlayer...
2016-11-24 17:42:08,710 - alexa.avs.interface_manager - INFO - Importing alexa.avs.interface.SpeechRecognizer...
2016-11-24 17:42:08,711 - alexa.avs.interface_manager - INFO - Importing alexa.avs.interface.SpeechSynthesizer...
2016-11-24 17:42:08,711 - alexa.avs.interface_manager - INFO - ----------------------
2016-11-24 17:42:08,711 - alexa.avs.interface_manager - INFO -
2016-11-24 17:42:08,751 - alexa.player.player - INFO - Play local media: /home/alexa/git/AlexaPi_Older-Commit/src/resources/hello.mp3
2016-11-24 17:42:08,753 - alexa.player.player - DEBUG - Media Player State: State.Opening/play_local
2016-11-24 17:42:08,850 - alexa.player.player - DEBUG - Media Player State: State.Playing/play_local
2016-11-24 17:42:11,297 - alexa.player.player - DEBUG - Media Player State: State.Ended/play_local
2016-11-24 17:42:16,661 - alexa.player.player - INFO - Play local media: /home/alexa/git/AlexaPi_Older-Commit/src/resources/alexayes.mp3
2016-11-24 17:42:16,662 - alexa.player.player - DEBUG - Media Player State: State.Opening/play_local
2016-11-24 17:42:16,666 - alexa.player.player - DEBUG - Media Player State: State.Playing/play_local
2016-11-24 17:42:17,259 - alexa.player.player - DEBUG - Media Player State: State.Ended/play_local
2016-11-24 17:42:17,263 - Alexa.main - DEBUG - detected the edge, setting up audio
2016-11-24 17:42:17,265 - Alexa.main - INFO - Starting to listen...
2016-11-24 17:42:25,301 - Alexa.main - DEBUG - Debug: End recording
2016-11-24 17:42:25,339 - alexa.player.player - INFO - Play local media: /home/alexa/git/AlexaPi_Older-Commit/src/resources/beep.wav
2016-11-24 17:42:25,341 - alexa.player.player - DEBUG - Media Player State: State.Opening/play_local
2016-11-24 17:42:25,371 - alexa.player.player - DEBUG - Media Player State: State.Playing/play_local
2016-11-24 17:42:25,578 - alexa.player.player - DEBUG - Media Player State: State.Ended/play_local
2016-11-24 17:42:25,643 - Alexa.main - DEBUG - Debug: Sending audio to be processed
2016-11-24 17:42:25,644 - alexa.avs.interface_manager - INFO -
2016-11-24 17:42:25,644 - alexa.avs.interface_manager - INFO -
2016-11-24 17:42:25,645 - alexa.avs.interface_manager - INFO - Dispatching event(namespace/name): SpeechRecognizer/Recognize...
2016-11-24 17:42:25,645 - alexa.avs.interface_manager - INFO -
2016-11-24 17:42:25,646 - alexa.http.http - DEBUG -
2016-11-24 17:42:25,646 - alexa.http.http - DEBUG -
2016-11-24 17:42:25,646 - alexa.http.http - DEBUG - <-JSON String Sent: {"event": {"header": {"dialogRequestId": "dialog-request-123", "namespace": "SpeechRecognizer", "name": "Recognize", "messageId": "message-id-123"}, "payload": {"profile": "CLOSE_TALK", "format": "AUDIO_L16_RATE_16000_CHANNELS_1"}}}
2016-11-24 17:42:25,647 - alexa.http.http - DEBUG -
2016-11-24 17:42:25,647 - alexa.http.http - DEBUG -
2016-11-24 17:42:25,655 - hpack.hpack - DEBUG - HPACK encoding <generator object secure_headers at 0x74d53a58>
2016-11-24 17:42:25,656 - hpack.hpack - DEBUG - Adding (':method', 'POST') to the header table
2016-11-24 17:42:25,656 - hpack.hpack - DEBUG - Encoding 3 with 7 bits
2016-11-24 17:42:25,657 - hpack.hpack - DEBUG - Adding (':scheme', 'https') to the header table
2016-11-24 17:42:25,658 - hpack.hpack - DEBUG - Encoding 7 with 7 bits
2016-11-24 17:42:25,658 - hpack.hpack - DEBUG - Adding (':authority', 'avs-alexa-na.amazon.com') to the header table
2016-11-24 17:42:25,659 - hpack.hpack - DEBUG - Encoding 70 with 7 bits
2016-11-24 17:42:25,659 - hpack.hpack - DEBUG - Adding (':path', '/v20160207/events') to the header table
2016-11-24 17:42:25,660 - hpack.hpack - DEBUG - Encoding 64 with 7 bits
2016-11-24 17:42:25,660 - hpack.hpack - DEBUG - Adding ('accept-encoding', 'gzip') to the header table
2016-11-24 17:42:25,661 - hpack.hpack - DEBUG - Encoding 68 with 7 bits
2016-11-24 17:42:25,661 - hpack.hpack - DEBUG - Adding ('accept-encoding', 'deflate') to the header table
2016-11-24 17:42:25,662 - hpack.hpack - DEBUG - Encoding 67 with 7 bits
2016-11-24 17:42:25,662 - hpack.hpack - DEBUG - Adding ('accept', '*/*') to the header table
2016-11-24 17:42:25,662 - hpack.hpack - DEBUG - Encoding 66 with 7 bits
2016-11-24 17:42:25,663 - hpack.hpack - DEBUG - Adding ('user-agent', 'python-requests/2.11.1') to the header table
2016-11-24 17:42:25,663 - hpack.hpack - DEBUG - Encoding 65 with 7 bits
2016-11-24 17:42:25,664 - hpack.hpack - DEBUG - Adding ('authorization', 'Bearer Atza|IwEBID66CSZBLwelom7Yzx0YT1LsmtyCuiZHJiTkBtRA0LRSwSd_W7Fos7QQYlh8OH5NWUeZUXn7CfNCSIo_yTA7sROnVwW2HpUf97PGewgr0_o9VxUXC9S4-1Oc88nyRsk6vca9uPd-B540qfPa_7dJSc[**redacted**]OjoJFb0y6dGyW30kZ5TBNIz4F-KEqCP2DhQK0RO9Vz7iWDyXy5TLvhjzh_i2bR5oEeEVRFUR9U8DUNQITAw5gsd1fjbMuCdatfzf6rm8nbT8v1C9JpNSVBu4rbVhTBZ1rWJNQDxRwGVKjzhyjcS9H0KZ1Q-Ds13FF2-q0WGouzv6fcjX13CPfLT-Hs8kh-49DA7JpD1Jf06Q66m8lhtEx84soB0S6WmIYCIFGsYkRamC0') to the header table
2016-11-24 17:42:25,664 - hpack.hpack - DEBUG - Encoding 23 with 4 bits
2016-11-24 17:42:25,670 - hpack.hpack - DEBUG - Encoding 476 with 7 bits
2016-11-24 17:42:25,671 - hpack.hpack - DEBUG - Adding ('content-length', '256885') to the header table
2016-11-24 17:42:25,671 - hpack.hpack - DEBUG - Encoding 28 with 6 bits
2016-11-24 17:42:25,672 - hpack.hpack - DEBUG - Encoding 5 with 7 bits
2016-11-24 17:42:25,672 - hpack.hpack - DEBUG - Adding ('content-type', 'multipart/form-data; boundary=c271e9b5bcfd42c8bc32d079efc3a6d6') to the header table
2016-11-24 17:42:25,673 - hpack.hpack - DEBUG - Encoding 31 with 6 bits
2016-11-24 17:42:25,673 - hpack.hpack - DEBUG - Encoding 44 with 7 bits
2016-11-24 17:42:25,674 - hpack.hpack - DEBUG - Encoded header block to �����������Q�[�>��2x�w%���������ߐs���>�Zo�yM���������H�;��wf�tN��m�����?*v��on�x�o��m�W������E�5����������X:���zڎ�w ߷\�]m�v�X�vL��/5^��8��S���r�n��q�������3��k��1n�f���lU����e��_9����|ug���W_�Ͼ�Wgߓ���AS���cd��-;�]�s�#mZz������������<\�S�������-2���)z����7��^��n�Ց��}����.�������n���Л���`�{X�ϳ06���M����M���~���kg�\v����_��fM��ndHzG���
                                         ߡص��8D�`r�{}�rRt�
                                                          7�˟z���Y�i�𻖻��(�㔽D�����{���*rs��$s��t�\�n<�_���j�bX��R��H�Ԍ�� ���J�m�IdhDz22)�唌��
2016-11-24 17:42:25,795 - hyper.http20.connection - DEBUG - recv for stream 0 with set([1, 3]) already present
2016-11-24 17:42:25,797 - hyper.http20.connection - INFO - Received unhandled event <WindowUpdated stream_id:0, delta:33038>
2016-11-24 17:42:25,800 - hyper.http20.connection - INFO - Received unhandled event <WindowUpdated stream_id:5, delta:32768>
2016-11-24 17:42:25,845 - hyper.http20.connection - DEBUG - recv for stream 0 with set([1, 3, 5]) already present
2016-11-24 17:42:25,858 - hyper.http20.connection - INFO - Received unhandled event <WindowUpdated stream_id:0, delta:32768>
2016-11-24 17:42:25,860 - hyper.http20.connection - INFO - Received unhandled event <WindowUpdated stream_id:5, delta:32768>
2016-11-24 17:42:25,887 - hyper.http20.connection - DEBUG - recv for stream 0 with set([1, 3, 5]) already present
2016-11-24 17:42:25,913 - hyper.http20.connection - INFO - Received unhandled event <WindowUpdated stream_id:0, delta:32768>
2016-11-24 17:42:25,915 - hyper.http20.connection - INFO - Received unhandled event <WindowUpdated stream_id:5, delta:32768>
2016-11-24 17:42:25,942 - hyper.http20.connection - DEBUG - recv for stream 0 with set([1, 3, 5]) already present
2016-11-24 17:42:25,968 - hyper.http20.connection - INFO - Received unhandled event <WindowUpdated stream_id:0, delta:32768>
2016-11-24 17:42:25,970 - hyper.http20.connection - INFO - Received unhandled event <WindowUpdated stream_id:5, delta:32768>
2016-11-24 17:42:25,998 - hyper.http20.connection - DEBUG - recv for stream 0 with set([1, 3, 5]) already present
2016-11-24 17:42:26,024 - hyper.http20.connection - INFO - Received unhandled event <WindowUpdated stream_id:0, delta:32768>
2016-11-24 17:42:26,026 - hyper.http20.connection - INFO - Received unhandled event <WindowUpdated stream_id:5, delta:32768>
2016-11-24 17:42:26,054 - hyper.http20.connection - DEBUG - recv for stream 0 with set([1, 3, 5]) already present
2016-11-24 17:42:26,080 - hyper.http20.connection - INFO - Received unhandled event <WindowUpdated stream_id:0, delta:32768>
2016-11-24 17:42:26,082 - hyper.http20.connection - INFO - Received unhandled event <WindowUpdated stream_id:5, delta:32768>
2016-11-24 17:42:26,106 - hyper.http20.connection - DEBUG - recv for stream 5 with set([1, 3, 5]) already present
2016-11-24 17:42:26,107 - hyper.http20.connection - DEBUG - recv for stream 5 with set([1, 3]) already present
2016-11-24 17:42:26,135 - hyper.http20.connection - INFO - Received unhandled event <WindowUpdated stream_id:0, delta:32768>
2016-11-24 17:42:26,137 - hyper.http20.connection - INFO - Received unhandled event <WindowUpdated stream_id:5, delta:32768>
2016-11-24 17:42:26,139 - hyper.http20.connection - DEBUG - recv for stream 5 with set([1, 3, 5]) already present
2016-11-24 17:42:26,140 - hyper.http20.connection - DEBUG - recv for stream 5 with set([1, 3]) already present
%��3�T���4 17:42:29,833 - hpack.hpack - DEBUG - Decoding ��~�Z2K,�zA�ۋN�Ki����2��#��U�0�ԁif�_Ӧ�j�bX��
         ���G��y��|Y�E�pr�Ah���hH�L�#�i�i��>�����}VX?��] �c��D��
2016-11-24 17:42:29,833 - hpack.hpack - DEBUG - Decoded 8, consumed 1 bytes
2016-11-24 17:42:29,834 - hpack.hpack - DEBUG - Decoded (':status', '200'), consumed 1
2016-11-24 17:42:29,834 - hpack.hpack - DEBUG - Decoded 65, consumed 1 bytes
2016-11-24 17:42:29,834 - hpack.hpack - DEBUG - Decoded ('access-control-allow-origin', <memory at 0x75a0cda0>), consumed 1
2016-11-24 17:42:29,835 - hpack.hpack - DEBUG - Decoded 62, consumed 1 bytes
2016-11-24 17:42:29,835 - hpack.hpack - DEBUG - Decoded 44, consumed 1 bytes
2016-11-24 17:42:29,836 - hpack.hpack - DEBUG - Decoded ('x-amzn-requestid', '0e403dfffe8daf56-000047e2-00044408-d00638091a6c99be-0a154d14-5'), total consumed 46 bytes, indexed True
2016-11-24 17:42:29,836 - hpack.hpack - DEBUG - Decoded 31, consumed 1 bytes
2016-11-24 17:42:29,837 - hpack.hpack - DEBUG - Decoded 83, consumed 1 bytes
2016-11-24 17:42:29,838 - hpack.hpack - DEBUG - Decoded ('content-type', 'multipart/related;boundary=32615c8c-c583-490c-901d-d6af2214c90e;start=metadata.1480030949796;type="application/json"'), total consumed 85 bytes, indexed True
2016-11-24 17:42:29,839 - hyper.http20.connection - INFO - Received unhandled event <PriorityUpdated stream_id:5, weight:16, depends_on:0, exclusive:False>
2016-11-24 17:42:29,844 - hyper.http20.connection - DEBUG - recv for stream 5 with set([1, 3, 5]) already present
2016-11-24 17:42:29,875 - hyper.http20.connection - DEBUG - recv for stream 5 with set([1, 3]) already present
2016-11-24 17:42:29,892 - alexa.avs.directive_dispatcher - DEBUG -
2016-11-24 17:42:29,893 - alexa.avs.directive_dispatcher - DEBUG -
2016-11-24 17:42:29,893 - alexa.avs.directive_dispatcher - DEBUG - ->JSON String Received: {"directive": {"header": {"dialogRequestId": "dialog-request-123", "namespace": "SpeechSynthesizer", "name": "Speak", "messageId": "06467f55-6a86-47d6-bc15-087add77c8b6"}, "payload": {"url": "cid:DeviceTTSRenderer_a5f1a3a8-c640-424b-9a16-157602348280_1804352547", "token": "amzn1.as-ct.v1.Domain:Application:Notifications#ACRI#DeviceTTSRenderer_a5f1a3a8-c640-424b-9a16-157602348280", "format": "AUDIO_MPEG"}}}
2016-11-24 17:42:29,894 - alexa.avs.directive_dispatcher - DEBUG -
2016-11-24 17:42:29,894 - alexa.avs.directive_dispatcher - DEBUG -
2016-11-24 17:42:29,895 - alexa.avs.directive_dispatcher - DEBUG -
2016-11-24 17:42:29,895 - alexa.avs.directive_dispatcher - DEBUG - Saving payload: /tmp/AlexaPi-runtime-RI4fBq/DeviceTTSRenderer_a5f1a3a8-c640-424b-9a16-157602348280_1804352547.mp3
2016-11-24 17:42:29,895 - alexa.avs.directive_dispatcher - DEBUG -
2016-11-24 17:42:29,896 - alexa.avs.interface_manager - INFO -
2016-11-24 17:42:29,896 - alexa.avs.interface_manager - INFO -
2016-11-24 17:42:29,896 - alexa.avs.interface_manager - INFO - Dispatching directive(namespace/name): SpeechSynthesizer/Speak...
2016-11-24 17:42:29,897 - alexa.avs.interface_manager - INFO -
2016-11-24 17:42:29,898 - alexa.player.player - INFO - Add to queue: amzn1.as-ct.v1.Domain:Application:Notifications#ACRI#DeviceTTSRenderer_a5f1a3a8-c640-424b-9a16-157602348280 | Count: 1
2016-11-24 17:42:29,930 - alexa.player.player - INFO - Play retrieved media: file:///tmp/AlexaPi-runtime-RI4fBq/DeviceTTSRenderer_a5f1a3a8-c640-424b-9a16-157602348280_1804352547.mp3 | Count: 0
2016-11-24 17:42:29,932 - alexa.player.player - DEBUG - Media Player State: State.Opening/play_avs_response
STATE: State.Opening
2016-11-24 17:42:29,936 - alexa.player.player - DEBUG - Media Player State: State.Playing/play_avs_response
STATE: State.Playing
2016-11-24 17:42:29,937 - alexa.http.http - DEBUG -
2016-11-24 17:42:29,938 - alexa.http.http - DEBUG -
2016-11-24 17:42:29,938 - alexa.http.http - DEBUG - <-JSON String Sent: {"event": {"header": {"namespace": "SpeechSynthesizer", "name": "SpeechStarted", "messageId": "817fd85e-bba7-4d68-85e0-f41c9290d649"}, "payload": {"token": "amzn1.as-ct.v1.Domain:Application:Notifications#ACRI#DeviceTTSRenderer_a5f1a3a8-c640-424b-9a16-157602348280"}}}
2016-11-24 17:42:29,938 - alexa.http.http - DEBUG -
2016-11-24 17:42:29,939 - alexa.http.http - DEBUG -
2016-11-24 17:42:29,944 - hpack.hpack - DEBUG - HPACK encoding <generator object secure_headers at 0x71a32f30>
2016-11-24 17:42:29,944 - hpack.hpack - DEBUG - Adding (':method', 'POST') to the header table
2016-11-24 17:42:29,945 - hpack.hpack - DEBUG - Encoding 3 with 7 bits
2016-11-24 17:42:29,945 - hpack.hpack - DEBUG - Adding (':scheme', 'https') to the header table
2016-11-24 17:42:29,945 - hpack.hpack - DEBUG - Encoding 7 with 7 bits
2016-11-24 17:42:29,946 - hpack.hpack - DEBUG - Adding (':authority', 'avs-alexa-na.amazon.com') to the header table
2016-11-24 17:42:29,946 - hpack.hpack - DEBUG - Encoding 72 with 7 bits
2016-11-24 17:42:29,947 - hpack.hpack - DEBUG - Adding (':path', '/v20160207/events') to the header table
2016-11-24 17:42:29,947 - hpack.hpack - DEBUG - Encoding 66 with 7 bits
2016-11-24 17:42:29,947 - hpack.hpack - DEBUG - Adding ('accept-encoding', 'gzip') to the header table
2016-11-24 17:42:29,948 - hpack.hpack - DEBUG - Encoding 70 with 7 bits
2016-11-24 17:42:29,948 - hpack.hpack - DEBUG - Adding ('accept-encoding', 'deflate') to the header table
2016-11-24 17:42:29,949 - hpack.hpack - DEBUG - Encoding 69 with 7 bits
2016-11-24 17:42:29,949 - hpack.hpack - DEBUG - Adding ('accept', '*/*') to the header table
2016-11-24 17:42:29,950 - hpack.hpack - DEBUG - Encoding 68 with 7 bits
2016-11-24 17:42:29,950 - hpack.hpack - DEBUG - Adding ('user-agent', 'python-requests/2.11.1') to the header table
2016-11-24 17:42:29,951 - hpack.hpack - DEBUG - Encoding 67 with 7 bits
2016-11-24 17:42:29,951 - hpack.hpack - DEBUG - Adding ('authorization', 'Bearer Atza|IwEBID66CSZBLwelom7Yzx0YT1LsmtyCuiZHJiTkBtRA0LRSwSd_W7Fos7QQYlh8OH5NWUeZUXn7CfNCSIo_yTA7sROnVwW2HpUf97PGewgr0_o9VxUXC9S4-1Oc88nyRsk6vca9uPd-B540qfPa_7dJSc[**redacted**]OjoJFb0y6dGyW30kZ5TBNIz4F-KEqCP2DhQK0RO9Vz7iWDyXy5TLvhjzh_i2bR5oEeEVRFUR9U8DUNQITAw5gsd1fjbMuCdatfzf6rm8nbT8v1C9JpNSVBu4rbVhTBZ1rWJNQDxRwGVKjzhyjcS9H0KZ1Q-Ds13FF2-q0WGouzv6fcjX13CPfLT-Hs8kh-49DA7JpD1Jf06Q66m8lhtEx84soB0S6WmIYCIFGsYkRamC0') to the header table
2016-11-24 17:42:29,952 - hpack.hpack - DEBUG - Encoding 23 with 4 bits
2016-11-24 17:42:29,956 - hpack.hpack - DEBUG - Encoding 476 with 7 bits
2016-11-24 17:42:29,957 - hpack.hpack - DEBUG - Adding ('content-length', '458') to the header table
2016-11-24 17:42:29,957 - hpack.hpack - DEBUG - Encoding 28 with 6 bits
2016-11-24 17:42:29,958 - hpack.hpack - DEBUG - Encoding 3 with 7 bits
2016-11-24 17:42:29,958 - hpack.hpack - DEBUG - Adding ('content-type', 'multipart/form-data; boundary=587101bc62694eef8f379585bab93c7b') to the header table
2016-11-24 17:42:29,959 - hpack.hpack - DEBUG - Encoding 31 with 6 bits
2016-11-24 17:42:29,959 - hpack.hpack - DEBUG - Encoding 45 with 7 bits
2016-11-24 17:42:29,960 - hpack.hpack - DEBUG - Encoded header block to �����������Q�[�>��2x�w%���������ߐs���>�Zo�yM���������H�;��wf�tN��m�����?*v��on�x�o��m�W������E�5����������X:���zڎ�w ߷\�]m�v�X�vL��/5^��8��S���r�n��q�������3��k��1n�f���lU����e��_9����|ug���W_�Ͼ�Wgߓ���AS���cd��-;�]�s�#mZz������������<\�S�������-2���)z����7��^��n�Ց��}����.�������n���Л���`�{X�ϳ06���M����M���~���kg�\v����_��fM��ndHzG���
                                         ߡص��8D�`r�{}�rRt�
                                                          7�˟z���Y�i�𻖻��(�㔽D�����{���*rs��$s��t�\�i��_���j�bX��R��H�Ԍ�� ��o:28'h���Yu��n1��$v?
2016-11-24 17:42:29,962 - hyper.http20.connection - DEBUG - recv for stream 7 with set([1, 3]) already present
2016-11-24 17:42:30,291 - hpack.hpack - DEBUG - Decoding ���Z2K,�zA�ۋN�Ki����2��#��U�0�ԁig
2016-11-24 17:42:30,292 - hpack.hpack - DEBUG - Decoded 9, consumed 1 bytes
2016-11-24 17:42:30,292 - hpack.hpack - DEBUG - Decoded (':status', '204'), consumed 1
2016-11-24 17:42:30,293 - hpack.hpack - DEBUG - Decoded 67, consumed 1 bytes
2016-11-24 17:42:30,293 - hpack.hpack - DEBUG - Decoded ('access-control-allow-origin', <memory at 0x75a0cda0>), consumed 1
2016-11-24 17:42:30,294 - hpack.hpack - DEBUG - Decoded 63, consumed 2 bytes
2016-11-24 17:42:30,294 - hpack.hpack - DEBUG - Decoded 44, consumed 1 bytes
2016-11-24 17:42:30,295 - hpack.hpack - DEBUG - Decoded ('x-amzn-requestid', '0e403dfffe8daf56-000047e2-00044408-d00638091a6c99be-0a154d14-7'), total consumed 47 bytes, indexed True
2016-11-24 17:42:30,296 - hyper.http20.connection - INFO - Received unhandled event <PriorityUpdated stream_id:7, weight:16, depends_on:0, exclusive:False>
2016-11-24 17:42:32,258 - alexa.player.player - DEBUG - Media Player State: State.Ended/play_avs_response
STATE: State.Ended
2016-11-24 17:42:32,259 - alexa.http.http - DEBUG -
2016-11-24 17:42:32,260 - alexa.http.http - DEBUG -
2016-11-24 17:42:32,260 - alexa.http.http - DEBUG - <-JSON String Sent: {"event": {"header": {"namespace": "SpeechSynthesizer", "name": "SpeechFinished", "messageId": "87102c97-7954-4923-af49-1ec5d08edc1e"}, "payload": {"token": "amzn1.as-ct.v1.Domain:Application:Notifications#ACRI#DeviceTTSRenderer_a5f1a3a8-c640-424b-9a16-157602348280"}}}
2016-11-24 17:42:32,261 - alexa.http.http - DEBUG -
2016-11-24 17:42:32,261 - alexa.http.http - DEBUG -
2016-11-24 17:42:32,266 - hpack.hpack - DEBUG - HPACK encoding <generator object secure_headers at 0x71a383a0>
2016-11-24 17:42:32,267 - hpack.hpack - DEBUG - Adding (':method', 'POST') to the header table
2016-11-24 17:42:32,267 - hpack.hpack - DEBUG - Encoding 3 with 7 bits
2016-11-24 17:42:32,268 - hpack.hpack - DEBUG - Adding (':scheme', 'https') to the header table
2016-11-24 17:42:32,268 - hpack.hpack - DEBUG - Encoding 7 with 7 bits
2016-11-24 17:42:32,269 - hpack.hpack - DEBUG - Adding (':authority', 'avs-alexa-na.amazon.com') to the header table
2016-11-24 17:42:32,269 - hpack.hpack - DEBUG - Encoding 74 with 7 bits
2016-11-24 17:42:32,270 - hpack.hpack - DEBUG - Adding (':path', '/v20160207/events') to the header table
2016-11-24 17:42:32,270 - hpack.hpack - DEBUG - Encoding 68 with 7 bits
2016-11-24 17:42:32,270 - hpack.hpack - DEBUG - Adding ('accept-encoding', 'gzip') to the header table
2016-11-24 17:42:32,271 - hpack.hpack - DEBUG - Encoding 72 with 7 bits
2016-11-24 17:42:32,271 - hpack.hpack - DEBUG - Adding ('accept-encoding', 'deflate') to the header table
2016-11-24 17:42:32,272 - hpack.hpack - DEBUG - Encoding 71 with 7 bits
2016-11-24 17:42:32,272 - hpack.hpack - DEBUG - Adding ('accept', '*/*') to the header table
2016-11-24 17:42:32,273 - hpack.hpack - DEBUG - Encoding 70 with 7 bits
2016-11-24 17:42:32,273 - hpack.hpack - DEBUG - Adding ('user-agent', 'python-requests/2.11.1') to the header table
2016-11-24 17:42:32,274 - hpack.hpack - DEBUG - Encoding 69 with 7 bits
2016-11-24 17:42:32,274 - hpack.hpack - DEBUG - Adding ('authorization', 'Bearer Atza|IwEBID66CSZBLwelom7Yzx0YT1LsmtyCuiZHJiTkBtRA0LRSwSd_W7Fos7QQYlh8OH5NWUeZUXn7CfNCSIo_yTA7sROnVwW2HpUf97PGewgr0_o9VxUXC9S4-1Oc88nyRsk6vca9uPd-B540qfPa_7dJSc[**redacted**]OjoJFb0y6dGyW30kZ5TBNIz4F-KEqCP2DhQK0RO9Vz7iWDyXy5TLvhjzh_i2bR5oEeEVRFUR9U8DUNQITAw5gsd1fjbMuCdatfzf6rm8nbT8v1C9JpNSVBu4rbVhTBZ1rWJNQDxRwGVKjzhyjcS9H0KZ1Q-Ds13FF2-q0WGouzv6fcjX13CPfLT-Hs8kh-49DA7JpD1Jf06Q66m8lhtEx84soB0S6WmIYCIFGsYkRamC0') to the header table
2016-11-24 17:42:32,275 - hpack.hpack - DEBUG - Encoding 23 with 4 bits
2016-11-24 17:42:32,279 - hpack.hpack - DEBUG - Encoding 476 with 7 bits
2016-11-24 17:42:32,279 - hpack.hpack - DEBUG - Adding ('content-length', '459') to the header table
2016-11-24 17:42:32,280 - hpack.hpack - DEBUG - Encoding 28 with 6 bits
2016-11-24 17:42:32,280 - hpack.hpack - DEBUG - Encoding 3 with 7 bits
2016-11-24 17:42:32,281 - hpack.hpack - DEBUG - Adding ('content-type', 'multipart/form-data; boundary=653bdaf84c774f7399729abc9c8d23e5') to the header table
2016-11-24 17:42:32,281 - hpack.hpack - DEBUG - Encoding 31 with 6 bits
2016-11-24 17:42:32,282 - hpack.hpack - DEBUG - Encoding 45 with 7 bits
2016-11-24 17:42:32,283 - hpack.hpack - DEBUG - Encoded header block to �����������Q�[�>��2x�w%���������ߐs���>�Zo�yM���������H�;��wf�tN��m�����?*v��on�x�o��m�W������E�5����������X:���zڎ�w ߷\�]m�v�X�vL��/5^��8��S���r�n��q�������3��k��1n�f���lU����e��_9����|ug���W_�Ͼ�Wgߓ���AS���cd��-;�]�s�#mZz������������<\�S�������-2���)z����7��^��n�Ց��}����.�������n���Л���`�{X�ϳ06���M����M���~���kg�\v����_��fM��ndHzG���
                                         ߡص��8D�`r�{}�rRt�
                                                          7�˟z���Y�i�𻖻��(�㔽D�����{���*rs��$s��t�\�i��_���j�bX��R��H�Ԍ�� ����������J�/���d|�H&J�
2016-11-24 17:42:32,302 - hyper.http20.connection - DEBUG - recv for stream 9 with set([1, 3, 7]) already present
2016-11-24 17:42:32,579 - hpack.hpack - DEBUG - Decoding ��~�Z2K,�zA�ۋN�Ki����2��#��U�0�ԁig�
2016-11-24 17:42:32,579 - hpack.hpack - DEBUG - Decoded 9, consumed 1 bytes
2016-11-24 17:42:32,580 - hpack.hpack - DEBUG - Decoded (':status', '204'), consumed 1
2016-11-24 17:42:32,581 - hpack.hpack - DEBUG - Decoded 68, consumed 1 bytes
2016-11-24 17:42:32,582 - hpack.hpack - DEBUG - Decoded ('access-control-allow-origin', <memory at 0x75a0cda0>), consumed 1
2016-11-24 17:42:32,583 - hpack.hpack - DEBUG - Decoded 62, consumed 1 bytes
2016-11-24 17:42:32,584 - hpack.hpack - DEBUG - Decoded 44, consumed 1 bytes
2016-11-24 17:42:32,585 - hpack.hpack - DEBUG - Decoded ('x-amzn-requestid', '0e403dfffe8daf56-000047e2-00044408-d00638091a6c99be-0a154d14-9'), total consumed 46 bytes, indexed True
2016-11-24 17:42:32,588 - hyper.http20.connection - INFO - Received unhandled event <PriorityUpdated stream_id:9, weight:16, depends_on:0, exclusive:False>

I'm going to close this since the configuration issue was resolved. We can continue troubleshooting in #2

Here is my config (developer info redacted)
# Rename this file to config.yaml and fill in the fields

sound:
  # Name of your microphone/soundcard in arecord -L
  # you can also try setting it to 'default'
  device: "plughw:0"

# Amazon Alexa settings
debug:
        alexa: 'debug'
        #hpack: 'debug'
        #hyper: 'debug'
        #requests: 'debug'

alexa:
        AuthUrl: "https://api.amazon.com"
        BaseUrl: "https://avs-alexa-na.amazon.com"
        EventPath: "/events"
        API_Version: "v20160207"
        Client_ID: ""
        Client_Secret: ""
        ProductID: "my_device"
        Security_Profile_Description: ""
        Security_Profile_ID: ""
        refresh_token: ""

sphinx:
  trigger_phrase: alexa

raspberrypi:
  # GPIO Pin with button connected
  button: 18
  # GPIO Pin for the playback/activity light
  plb_light: &plb_light 24
  # GPIO Pin for the recording light
  rec_light: &rec_light 25
  # GPIO Pins with LED's connected
  lights: [*plb_light, *rec_light]

Why my config file is so different? Its exactly the same than the normal AlexaPi, I don't have the API version part...

Here is my config (developer info redacted)
# Rename this file to config.yaml and fill in the fields

sound:
  # Name of your microphone/soundcard in arecord -L
  # you can also try setting it to 'default'
  device: "plughw:0"

# Amazon Alexa settings
debug:
        alexa: 'debug'
        #hpack: 'debug'
        #hyper: 'debug'
        #requests: 'debug'

alexa:
        AuthUrl: "https://api.amazon.com"
        BaseUrl: "https://avs-alexa-na.amazon.com"
        EventPath: "/events"
        API_Version: "v20160207"
        Client_ID: ""
        Client_Secret: ""
        ProductID: "my_device"
        Security_Profile_Description: ""
        Security_Profile_ID: ""
        refresh_token: ""

sphinx:
  trigger_phrase: alexa

raspberrypi:
  # GPIO Pin with button connected
  button: 18
  # GPIO Pin for the playback/activity light
  plb_light: &plb_light 24
  # GPIO Pin for the recording light
  rec_light: &rec_light 25
  # GPIO Pins with LED's connected
  lights: [*plb_light, *rec_light]

Why my config file is so different? Its exactly the same than the normal AlexaPi, I don't have the API version part...


How should I create a resource as a relationship?

Hi!
I'm having the exact same questions about this post , as pasted below:

I’ve been googling for hours and read the specs a few times, but I haven’t found a clear answer to my problem.

Let’s say I have users and articles. I want to create an article which will be owned by a user (that already exists).  This seems weird to me since I know to make two calls and if my app fails between the two, there will be an article without an owner. Also, the database might not allow that anyway.
So obviously a POST call should be made on either /users/id/articles or /users/id/relationships/articles. It makes more sense to me to call POST /users/id/articles since the JSON payload will contain an entire article, not just a resource identifier and from my understanding self links only deal with resource identifiers. But I actually have no idea since the specs aren’t clear on that and there are no examples.
I’ve read about using POST /articles and having the user defined in the author relationship, but I would like to avoid that method if possible. I would prefer to be able to tell if a user is authorized or not to accomplish a certain task by only looking at the URL and not parsing the request’s body.
Thanks in advance

I think this would be the equivalent in code on laravel:
$user->find($userId);
// HasMany relationship
$article = new \App\Models\Article();
$article->title = "My article";
$article->body = "lorem ipsum";
$user->articles()->save($article);

I have several relationships that require creating the record with the foreign key (user_id on the article table, for example).
Thanks for your help !

Yeah, I don't understand this - it seems like an incorrect scenario. The equivalent code in Laravel should be this:
$article = new \App\Models\Article();
$article->title = "My article";
$article->body = "lorem ipsum";
$article->user()->attach($user);
$article->save()

Because presumably the Article relationship has a belongs-to User relationship?

The equivalent in Laravel JSON:API if you want to attach the signed in user to the article, would be this.
The client makes this request:
POST /api/v1/articles HTTP/1.1
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json

{
  "data": {
    "type": "articles",
    "attributes": {
      "body": "...",
      "title": "Hello World!"
    }
  }
}

Then to attach the current signed in user as the owner of the Article you would use API-only events by adding a model creating listener in the server's serving() hook:
namespace App\JsonApi\V1;

use App\Models\Article;
use LaravelJsonApi\Core\Server\Server as BaseServer;

class Server extends BaseServer
{

    // ...

    /**
     * Bootstrap the server when it is handling an HTTP request.
     *
     * @return void
     */
    public function serving(): void
    {
        Article::creating(static fn($article) => $article->user()->associate(request()->user()));
    }

}

Hey @lindyhopchris thanks for the response !
About the relations, it goes both ways, but I get what you said about making the binding from the article instead of the person. that makes sense, thanks !
With that in mind i've still got doubts in another similar use-case, when I won't be using the id of the current signed in user, in this example scenario, below:

People Resource

Table columns: [id, name]

Email Resource

Table columns: [id, address, person_id]

One person has many emails
One email belongs to one Person
The current logged user, is creating a people resource, and needs to register the person, and then create one or more email addresses for this person.
I'm confused on how to proceed on binding a email to a person, it looks like I should create the email resource without a person_id, and after that bind them together, is that right, or is there an easier way of binding these together ?
In the case below I would need 3 requests to do that, as I understand:
POST /api/v1/people HTTP/1.1
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json

{
  "data": {
    "type": "people",
    "attributes": {
      "name": "John"
    }
  }
}
//returns id 1

POST /api/v1/emails HTTP/1.1
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json

{
  "data": {
    "type": "emails",
    "attributes": {
      "address"<EMAIL_ADDRESS>    }
  }
}
//returns id 1

And then binding them together:
POST api/v1/people/1/relationships/emails   HTTP/1.1
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json

{
  "data": [
    {"type": "emails",   id: 1 }
  ]
}

OR
PATCH api/v1/people/1 HTTP/1.1
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json

{
  "data": {
    "type": "people",   id: 1
   },
   "relationships": {
      "emails": {
        "data": [ "type": "emails", "id": "1" ]
      }
    }
}

So my question Is:

Is this the only way to go (creating them separately and binding them together, resulting in 3 requests, and having the risk of emails without person_id), or is  there an easier way to create and bind related resources ?

I thought about using the API-only events in this case, and requiring the person_id on the email schema, so when posting the email, I would have to provide the person id, resulting in two requests, as below:
namespace App\JsonApi\V1;

use App\Models\Email;
use LaravelJsonApi\Core\Server\Server as BaseServer;

class Server extends BaseServer
{

    // ...

    /**
     * Bootstrap the server when it is handling an HTTP request.
     *
     * @return void
     */
    public function serving(): void
    {
        Email::creating(static fn($email) => $email->person()->associate(request()->person_id()));
    }

}

But i'm not sure that's a good idea when managing the relationships 😛

No, just 2 requests.
POST /api/v1/people HTTP/1.1
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json

{
  "data": {
    "type": "people",
    "attributes": {
      "name": "John"
    }
  }
}

Then
POST /api/v1/emails HTTP/1.1
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json

{
  "data": {
    "type": "emails",
    "attributes": {
      "address"<EMAIL_ADDRESS>    },
    "relationships": {
      "person": {
        "data": {
          "type": "people",
          "id": "1"
        }
      }
    }
  }
}

If an email needs to belong to a person, it makes total sense to always require a person relationship when creating the email. Which is what the above two requests do - create the person, then create an email with a person relationship.

Closing this as the question has been answered. Reopen if you think there's anything else to ask, or ask on Slack.


Fulfill the eventmesh document

Fulfill the document:
https://github.com/apache/eventmesh-site/tree/master/docs
https://eventmesh.apache.org/docs/introduction

please assign this ticket to me.


Serialize Note Script with source locations once implemented in the Miden VM

Once this is done https://github.com/0xPolygonMiden/miden-vm/issues/1177
We need to serialize our note scripts in build.rs in miden-lib with source locations

This was done in #339


Fix openapi validations errors, update issues url

:tada: This PR is included in version 1.1.8 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Not able to customize view's layout

Hi.
I'm struggling to change the layout my edit page uses. I already customized the view per se by creating my own app/views/devise/invitations/edit.html.slim file. But it's using the 'application' layout and I'm not able to change it. Even if I define a different layout for it in my controller, the change is not applied.
Any thoughts on this problem?

More info about this problem: apparently, my controller declared with class Users::InvitationsController < Devise::InvitationsController, is not producing any effect (not being loaded as the official invitations controller on devise). This is what I have on my routes in terms of devise:
Rails.application.routes.draw do
  devise_controllers = ActiveAdmin::Devise.config[:controllers]
  devise_controllers.update(invitations: 'users/invitations')

  devise_for :users, ActiveAdmin::Devise.config.merge(devise_controllers)
  ActiveAdmin.routes(self)
end

And yet, this is what I get when I run rake routes |grep invit on my terminal:
                   accept_user_invitation GET        /admin/invitation/accept(.:format)                                                       devise/invitations#edit
                   remove_user_invitation GET        /admin/invitation/remove(.:format)                                                       devise/invitations#destroy
                      new_user_invitation GET        /admin/invitation/new(.:format)                                                          devise/invitations#new
                          user_invitation PATCH      /admin/invitation(.:format)                                                              devise/invitations#update
                                          PUT        /admin/invitation(.:format)                                                              devise/invitations#update
                                          POST       /admin/invitation(.:format)                                                              devise/invitations#create
             resend_invitation_admin_user GET        /admin/users/:id/resend_invitation(.:format)                                             admin/users#resend_invitation
               new_invitation_admin_users GET        /admin/users/new_invitation(.:format)                                                    admin/users#new_invitation
              send_invitation_admin_users POST       /admin/users/send_invitation(.:format)                                                   admin/users#send_invitation

I'm still out of clue about how to solve this problem properly.

Oooops. Never mind, I just spotted the problem as soon as I posted the comment above. I was missing the controllers key in in my devise_for statement, so instead of writing:
devise_for :users, ActiveAdmin::Devise.config.merge(devise_controllers)

I actually needed to write the following:
devise_for :users, ActiveAdmin::Devise.config.merge(controllers: devise_controllers)


Unable to Login with Proxy Settings

Product:               Visual Studio Code
Issue:                    Visual Studio Code is unable to connect to Azure services through extensions, and showing below error
Error: request to https://management.azure.com/subscriptions?api-version=2016-06-01 failed, reason: unable to get local issuer certificate
Trying to connect through company proxy settings.
Turning off proxies and firewalls resolves the issue temporarily.
Need a permanent solution to use Azure Services through VSCode with company firewall settings.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Verbose mode

I'm going to start building an OpenBazaar crawler today. Does the server have a 'verbose' mode for debugging and development?

Yes, add this at server startup:
--loglevel debug

@SamPatt: Looking into the code, it seems the default is already debug.


Video on Android Samsung Pad 4.0.4 - width, height 0

Mediajs: 2.9.4 running in Chrome on Android 4.0.4, Samsung Galaxy Pad.
In mediaelement-and-player.js, function meReady, line 2181, the "loadedmetadata" event handler invokes setPlayerSize with width 0, height 0 because the event target's videoHeight and videoWidth are reported as 0. i.e. e.target.videoWidth = 0, e.target.videoHeight = 0.
When this is the case, you should not be resetting the player size.
Change:
if (t.options.videoHeight <= 0 && t.domNode.getAttribute('height') === null && !isNaN(e.target.videoHeight))
To:
if (t.options.videoHeight <= 0 && t.domNode.getAttribute('height') === null && !isNaN(e.target.videoHeight) && e.target.videoHeight > 0)
Please help fix this in next release.
-V.B.

@j1234d2003 Code has changed a lot in order to set player size; is this still an issue?

@j1234d2003 Closing old issues. If you'd like to reopen this, let us know. Thanks!


Implement Canvas Component

Description
Add Canvas Component to allow integration of 3rd party library/engine
https://github.com/kefniark/jil/projects/1#card-18017245

OK it's done, basic but it seems to work


configured absolute path for scss

This fixes the issue #559

@leelatanniru this doesn't seem to work for me :/


Llama2 LLM

issue #19

Try https://github.com/adamrushy/OpenAISwift and this lib can change default path.


Chests not spawning when chest has no expiration

If you have configured the plugin so that the chests do not expire, no chests will spawn.

If you configured this property in your configuration file
expiration: -1

then you are possibly affected by this error


Support for custom title tags?

Apparently Android 4.4 is using <title></title> tags for push notifications. Also some clients like Outlook might allow you to view email in a browser for better rendering. In those cases title tag would be useful. At the moment I haven't figured out any way to add custom titles for templates.

Can't it be part of head-attributes?
   <mj-head>
     <mj-attributes>
       <mj-title>My title</mj-title>
     </mj-attributes>
   </mj-head>

Or of mj-head?
   <mj-head>
     <mj-title>My title</mj-title>
   </mj-head>

It will be add into mj-head as you mention see #307 ! :)

Hello mj-title is now in MJML 2.3


Commenting/Implemented like comment use case.

Added MeetingMemberCommentLike aggregate to Write model.

Added LikesCount to Read model, but didn't add another database table and stored it in existed MeetingComments table are being used for store MeetingComment aggregate.

Made LikesCount eventually consistent with amount of MeetingMemberCommentLike for certain member and comment.

Added domain service MeetingCommentService to check CommentCannotBeLikedByTheSameMemberMoreThanOnceRule because to check the rule out-of-process dependency(database) is required.

@kgrzybek if you agree with the point number 4 than may be we should create base class for domain services. It can contains logic for checking business rules and also allows to add architectures tests for naming.

@kgrzybek I removed MeetingCommentService and moved check all business rules into MeetingComment aggregate, replaced loading few aggregate by using Read Model.
Do you have anything to change in the PR now?

No, looks good now 👍  Thanks for that PR and discussion!


Non-Profit interested in jsBin pro version

Hello,
I work at a non-profit in NYC called ScriptEd. With the help of our volunteers we teach front-end web development students in under-resourced schools. We have been using jsBin in our classrooms for over a year now... We love jsBin. With a new school year starting and ScriptEd growing to 600 students I would be interested in learning more about the advantages of going pro.
Can someone please contact me with this information. Apologies for posting in issues. I was not sure the best way to reach out with the question.
Thanks,
Tom Bijesse
(917) 566-7564

Please email me at<EMAIL_ADDRESS>On Tue, 21 Jul 2015 20:58 Bijesse<EMAIL_ADDRESS>wrote:

Hello,
I work at a non-profit in NYC called ScriptEd. With the help of our
volunteers we teach front-end web development students in under-resourced
schools. We have been using jsBin in our classrooms for over a year now...
We love jsBin. With a new school year starting and ScriptEd growing to 600
students I would be interested in learning more about the advantages of
going pro.
Can someone please contact me with this information
Please call me as soon as possible.
Thanks,
Tom Bijesse
—
Reply to this email directly or view it on GitHub
https://github.com/jsbin/jsbin/issues/2487.


Improve PyData libraries table styling

Summary

We have identified that the PyData tables styles need improving in the dark theme (and probably in the light theme too)
See https://pydata-sphinx-theme.readthedocs.io/en/latest/examples/pydata.html

Here are the updated designs in light and dark mode:

And a preview of the interactions (hover):
https://github.com/Quansight-Labs/czi-scientific-python-mgmt/assets/98317216/3bdeb80a-d71d-4d9b-84ce-acfc73535147
Earlier, I was using the accent colour for hover but I changed it to our secondary colour purple to maintain consistency with other components. (Default = primary, hover = secondary, focus = accent)
Feedback and suggestions welcome! 🐰

I am adding some blogs / resources related to data table accessibility which might help @gabalafou

https://www.a11yproject.com/posts/accessible-data-tables/#example-of-an-accessible-data-table
https://tink.uk/how-screen-readers-navigate-data-tables/
https://brucelawson.co.uk/2020/accessible-data-tables/
https://adrianroselli.com/2017/11/a-responsive-accessible-table.html


Gateway to Gotify don't work

Trying to use gateway.
Chat->Gateway = OK
Curl->Gotify=OK
Gateway->Gotify= don't work :(
apprise-config.yml
urls:
  - gotify://<IP_ADDRESS>:85/123123123:
    - tag: push-gw-admin,<PHONE_NUMBER>09809890890809809809

This Curl is working
curl "http://<IP_ADDRESS>:85/message?token=123123123" -F "title=my title" -F "message=my message" -F "priority=5"
Gateway log:
New notification received
Forwarded the received notification, tag=890890890809809890890809809809
"POST /push/gcm/send HTTP/1.1" 200 3 "-" "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"

What can I do in this situation?

Hi, since this is basically a 1-file project, I suspect the issue is either network related or there was a change within Apprise or Gotify why it doesn't work for you. First intuitions to help debugging it:

Increasing the log level to debug (if not already) can help: https://github.com/immanuelfodor/rocketchat-push-gateway/blob/master/docker-compose.yml#L11
You could rebuild the Docker image with passing debug=True to the Apprise object to get even more logs.
Debug param for Apprise: https://github.com/caronc/apprise/blob/master/apprise/Apprise.py#L58
Apply it here: https://github.com/immanuelfodor/rocketchat-push-gateway/blob/master/push.py#L12
From within the container, you could try executing the apprise CLI (it should be available by the pip install) with increased verbosity: https://github.com/caronc/apprise/wiki/CLI_Usage

Sorry, but I can't understand, how to get apprise logs (
Tryed to change gataway = Apprise(debug=True) , but no more info in the logs.
Tryed to change gotify server in yml to WRONG but result is the same.  :(
Can you advice how to get Apprise logs?

I found a solution! :)
I thinked what fresh requests lib can use fresh urllib3 and just changed
urllib3==1.24.2  # requests 2.21.0 has requirement urllib3<1.25,>=1.21.1
to
urllib3
in requirements.txt
Thank You!

Oh, I'm happy that you managed to get it working!
I'll make the change to the requirements to provide the fix for everyone.


Version goveralls, remove unused go bins from docker setup

A few things seem unused / unnecessary to bake into scripts / docker,
as now these are versioned by the makefile.

huh.  seems like buildkite / github gets confused if you delete a commit from a branch.
oh well.

huh.  seems like buildkite / github gets confused if you delete a commit from a branch.
oh well.

Coverage increased (+0.2%) to 61.683% when pulling 0d95a9eba650bb21f5d7683b999e2865fe2492d9 on cleanup into 49553cbc3410050439192f28eb4a0913719ca12c on master.

Coverage increased (+0.2%) to 61.683% when pulling 0d95a9eba650bb21f5d7683b999e2865fe2492d9 on cleanup into 49553cbc3410050439192f28eb4a0913719ca12c on master.


New package: LifeInsuranceModel v0.1.0

Registering package: LifeInsuranceModel
Repository: https://github.com/michaelfliegner/LifeInsuranceDataModel.jl
Created by: @michaelfliegner
Version: v0.1.0
Commit: 48bdd9af92023141342c14fdb1c1f45492a5c5ee
Reviewed by: @michaelfliegner
Reference: https://github.com/michaelfliegner/LifeInsuranceDataModel.jl/commit/48bdd9af92023141342c14fdb1c1f45492a5c5ee#commitcomment-77347158

Presumably superseded by #63401


Does not process data from second subscription immediately after connect

Hello,
When I subscribe to two topics, as in the initial example, during the mqttConnectedCb the data is not processed from the second subscription in the mqttDataCb. If I send data later, it does work. However, on boot and reconnect, it is not getting this second message.
Similarly, If I subscribe to a wildcard, I do not get the topics passed to the mqttDataCb during the connected stage. It only gets the first message.
I do not know if something else needs added to a queue to get this to work. The reason it is important to get the data from the 2 subscriptions is to restore the state on bootup or reconnect. In this test, I subscribe to two topics:
sensor/node1/control/led1
sensor/node1/control/led2
Below is the relevant output from this test. Thank you for your work.
MQTT: Starting subscription
MQTT: subscribe, topic"sensor/node1/control/led1" at broker <IP_ADDRESS>:1883
MQTT: subscribe, topic"sensor/node1/control/led2" at broker <IP_ADDRESS>:1883
MQTT: queuing publish, length: 24...
MQTT: Sending..
TCP: Sent
MQTT: Published
TCP: data received
MQTT: Sending..
TCP: Sent
MQTT: Published
TCP: data received
MQTT topic: sensor/node1/control/led1, data: on
LED1 sub
LED1 sub data high
MQTT: Sending..
TCP: Sent
MQTT: Published
TCP: data received

can you show your test code?

sure, it is all at:
https://github.com/jcwoltz/esp_mqtt

I have pulled in you latest changes on mqtt.c/h into my setup.
I have also tested this with a fresh checkout of your repo, only changing my settings in user_config.h and changing the topic subscription in user_main.c
TCP: Connect to ip  <IP_ADDRESS>:1883
MQTT: Connected to broker <IP_ADDRESS>:1883
MQTT: Sending..type: 1,qos: 4
TCP: Sent
TCP: data received
MQTT: Connected to <IP_ADDRESS>:1883
MQTT: Connected
MQTT: Starting subscription
MQTT: subscribe, topic"sensor/node1/control/led1" at broker <IP_ADDRESS>:1883
MQTT: subscribe, topic"sensor/node1/control/led2" at broker <IP_ADDRESS>:1883
MQTT: queuing publish, length: 24...
MQTT: Sending..type: 8,qos: 4
TCP: Sent
TCP: data received
MQTT: Sending..type: 8,qos: 4
TCP: Sent
TCP: data received
deliver_publish
MQTT topic: sensor/node1/control/led1, data: on
LED1 sub
LED1 sub data high
MQTT: Sending..type: 3,qos: 0
TCP: Sent
MQTT: Published
TCP: data received

I don't understand your problem, "during the mqttConnectedCb the data is not processed from the second subscription in the mqttDataCb". If you want to process data from other mqtt client, if you need subscribe first. Or, publish a message with retain = 1

I have messages published with retain=1 at the following locations:
sensor/node1/control/led1
sensor/node1/control/led2
both locations have a msg of either on or off
If you look at the previous captures, led2 is never processed during bootup. If I send a msg after the node is up and running, it works fine. Does that make sense? Can we communicate some other way? something like IRC?

you can see my current user_main.c at:
https://github.com/jcwoltz/esp_mqtt/blob/master/user/user_main.c
I am subscribing to 2 topics.
I only get data from the first topic at boot. Does that make sense?

Ok jcwolt,
I understood. I'll check tomorrow. It's 10PM now.

ok, thank you.

I have found and fixed the problem, the reason is because function espconn_sent send continuous data without the last check was sent successfully. I'll test the fixes and commit soon.

Thank you. This works great now.


[NuGet Symbol Server] Gallery UI - Download Symbols

UI for the download snupkg support.

merged into DEV, please verify.

Verified in Dev and Int


Fix default shader glsl vertex file

Remove bad preprocessor condition.
See this stackoverflow post to well understand the problem :
http://stackoverflow.com/questions/36218475/opengl-glsl-preprocessor-issue-with-specific-directive/36221079#36221079

Thanks! We probably should fix that more fundamentally. Currently if you don't supply an Environment then the shader is faster than when you supply an empty environment. This is a legacy from when it was called the Lights class and only was used to pass lights to the shader.


The Grid

I think we said that we're good here but I wanted to make sure once again. We have everything we need for voting and to build a grid against the back wall?

We need 8/5x11 paper, and we recently discussed having a pre-printed form
for pitches to include session title, name, and an area for voting.
Since we can't have stuff on the walls, do we want to bring in a rolling
white board?
Jason
On Fri, Sep 2, 2016 at 8:22 AM, Leo Suarez<EMAIL_ADDRESS>wrote:

I think we said that we're good here but I wanted to make sure once again.
We have everything we need for voting and to build a grid against the back
wall?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/codeforraleigh/CityCampNC/issues/254, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ADgoVzL43GDJhmVlYdNiB0LrcYrrffw7ks5qmBURgaJpZM4Jzpyi
.

Yes i have the markers and the paper for this.
On Sep 2, 2016 11:19 AM, "Jason Hibbets"<EMAIL_ADDRESS>wrote:

We need 8/5x11 paper, and we recently discussed having a pre-printed form
for pitches to include session title, name, and an area for voting.
Since we can't have stuff on the walls, do we want to bring in a rolling
white board?
Jason
On Fri, Sep 2, 2016 at 8:22 AM, Leo Suarez<EMAIL_ADDRESS>wrote:

I think we said that we're good here but I wanted to make sure once
again.
We have everything we need for voting and to build a grid against the
back
wall?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/codeforraleigh/CityCampNC/issues/254, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/
ADgoVzL43GDJhmVlYdNiB0LrcYrrffw7ks5qmBURgaJpZM4Jzpyi>
.

—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/codeforraleigh/CityCampNC/issues/254#issuecomment-244404822,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMJnM_rIe1XBvLD9gEviJH9e0gOeQ93aks5qmD5CgaJpZM4Jzpyi
.

I thought we talked of using the glass near the entrance instead of the
walls but if you have access to a rolling white board that's great!
On Sep 2, 2016 8:22 AM, "Leo Suarez"<EMAIL_ADDRESS>wrote:

I think we said that we're good here but I wanted to make sure once again.
We have everything we need for voting and to build a grid against the back
wall?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/codeforraleigh/CityCampNC/issues/254, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AMJnM5ytZmF5JfBZdVev6aL5aSzlAQpYks5qmBURgaJpZM4Jzpyi
.

King is double checking but windows look good

The grid on the windows should be fine. Just need to keep in mind that if the paper is thin, light through it might not be very readable. Plus, it'll look bad from the outside but we'll figure something out day of.


Update the default environment file

Godot version
v3.4.3.stable.official [242c05d12]
System information
N/A
Issue description
When you create a new project, the default env file only have one trailing newline:

But when you do anything to cause Godot to save stuff, the file ends up having two newlines added:

I know this is a very small issue but it's been getting on my nerves each time I start a new project as a Git repo.
Steps to reproduce

Create new project
Check the content of default_env.tres(only one trailing newline)
Do stuff(create new scenes, Ctrl + S, etc.)
Two newlines are added to default_env.tres

Minimal reproduction project
N/A

The closing keyword in #59813 didn't work for some reason.

The closing keyword in #59813 didn't work for some reason.

It didn't work because the pull request wasn't merged on the repository's default branch. Unfortunately, GitHub doesn't provide a way to change this behavior.


animated gifs, keep animation on resize

Hello, didn't found how to resize, optimize animated gif images without loosing animation

Resizing animated gifs isn't supported.


oc-mirror configurability

What this PR does
support configuration via environment variables instead of config file. this way deployment via azure container app should be more convenient
Jira:
Link to demo recording:
Special notes for your reviewer

closing this as it has been implemented as discussed in the #762


Message Queue

Golang channels are a bit shaky.
One solution is to use Ergo.
Another solution was Pyramid.

What’s wrong with nats ??

Dear @gedw99 there is nothing wrong with nats, I just wanted to build a message queue myself.
I will run a benchmark after I implemented one and I will compare it to nats, I it was not good enough,
I will switch to nats.


Invalid Layout error fix for iOS

Invalid Layout error fix for iOS

@tayfunyasar Thanks for the PR. I'm closing this as it's a dupe of #13.


[DESIGN] Introduce YAML parser for dealing with yaml config operations

Currently YAML related operations (read / write) is handled as plain text operations.
We should use proper yaml parsing when dealing with yaml documents.

This was a design decision that have been discussed multiple times.
I see no need for YAML operations in the current layout (and I'm not the only one with that view in the Data Platform Team).
Aslo, may I ask why a know design decision would you label as a bug...?
Is there a missing functionality that can not be fullfilled with the current method?
In other words: what is the purpose of this open issue? What is the problem we are trying to resolve?
(Part of the reason why I'm asking is because we have a few burning issues around the Dashboards...)


Table 13. Settings for AVA. learning rate=3.6?

Hello, is the learning rate here sure to be 3.6? Is it this big? What is the initial learning rate for warm up?

The global learning rate is indeed 3.6. It seemed big to me too, but that's what ended up working the best. We based our implementation off of the slowfast AVA configs, and those use a similar per-node learning rate (we use 0.225 per node * 16 nodes, and the defaults for slowfast are ~0.1 per node).
I don't believe we strayed from the default initial warmup in slowfast, which is 0.16 (0.01 per node * 16 nodes).

Thanks for your reply and answer.