-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Media Stream Node (ERR_STREAM_WRITE_AFTER_END) #94
Comments
As a follow-up to this post, I looked on Digital Ocean App Platform and noticed that the containers are running on Node What changes would the sample app need to make it compatible with newer versions of Node? |
I changed the "dialogflow" package to "@google-cloud/dialogflow" and it worked. Remember you need to change the dialogflow code as well in the dialogflow-utils.js file. |
@satishp962 what code did you change exactly? i just made changed the import statement to use the new npm module name but now when i call i just hear silence. i know the |
Hey, @gad2103 you can refer to these gist files. https://gist.github.com/satishp962/9219c3241f90e59122e131b95070f6ba |
@satishp962 thanks for that. now its running. however what happens is the same issue i was seeing before the update. i call and i get the welcome event and hear the audio message. then i speak to trigger an intent and nothing happens. just silence until i hangup. it seems like my audio isn't being piped to dialogflow? have you encountered this issue at all? |
No. Do you see any errors in the logs? |
No it doesn't show any errors it just shows this:
then nothing happens. |
Are you calling the actual number or testing from the Twilio console? |
i'm calling the actual number |
@gad2103 I had the same issue. Did you find the issue? |
If I run with node version v12.22.1. It is working fine. |
this works, thanks |
I've been using the example code for a while as a base for some code I was writing. I haven't run the code for over a month on localhost on my machine, but when I tried running it yesterday I got an error. I redownloaded the sample code and ran it separately to try and isolate the issue, but I also got the same error (listed below).
Here are the Ngrok logs when connecting:
Things I've done to try and troubleshoot:
Based on the fact that it works on Digital Ocean but not on localhost, I wonder if there is something going on with the stream when it is being tunneled. Has anyone else been experiencing this issue recently? Any help would be greatly appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: