Speech_text is null

Hi guys!
I have AEAP service(google api speech recognition).
It works fine but sometimes SPEECH_TEXT(0) is null. I have a timeout 5 sec, when a person is late with an answer SPEECH_TEXT is ‘(null)’ and its ok. But from time to time it returns null with no reason, i mean a person give answer within timeout.
Does asterisk have any debug options in order to debug requests to api or something that will help to find the issue?
Thanks in advance.

You might try a websocket proxy with NGINX in between Asterisk and the cloud. This could make logging easier.