I think the network error is related to the Google Speech API quotas. Only 50 requests per day are free. As soon as you are done with the requests, it will start generating a network error. Check if there is a developer console in this case.
source
share