I followed the tutorial on Going beyond ‘Hey Google’: building a Rasa-powered Google Assistant
I know that this is compatible with an old version of rasa so I used the github to update the codes.
I fixed all errors, updated gactions and ran the test commands and ran ngrok using adminstrative previliges on the same port as rasa (5005 by default).
Everything works fine with no errors. However, when I test the Action on Google Assistant, I get the following response:
Social Robot isn’t responding right now. Try again soon.
(Social Robot is the name of my project on Google Assistant Actions.)
at the same time, ngrok gives the following message:
POST /webhooks/google_assistant/webhook 500 Internal Server Error
I also noticed that the shell (anaconda prompt) in which I ran ‘rasa run’ freezes…
I don’t have much experience with http requests or ngrok, can anyone help with this issue?
U can try ngrok port number like 5004 (ngrok.exe http 5004) not 5005. This will providing a url like https://xxxxxxx.ngrok.io, this url paste in your action.json file like below
How can I make rasa run on 5004 so I can use ngrok with it?
I tried changing the credentials file but it still runs on 5005.
Also, why do you think it would make a difference if I changed that?
I use rasa run --enable-api -p 5004 and then use ngrok on port 5004, after that I copy the url generated by ngrok with suffix /webhooks/google_home/webhook . The last is run rasa run actions --actions actions and follow the rest of the tutorial from the blog.
But my assistant won’t response when I tested it and saying that “It isn’t responding right now. Try again soon.” . How to solve this?
Best regard
update : Does this source has an impact to our error?
The tutorial has just been updated. Give it a go - quite a few things changed on Rasa’s as well as Google side. Let me know if you still face any issues
I think the problem lies in the fact that your connector was never run.
This is because you need to add it to your credentials.yml file
Add this line
google_assistant.ga_connector.GoogleConnector:
Same packages you would give to python import. for example, the above line means that my ga_connector.py file (which contains GoogleConnector class) is inside another package called ‘google_assistant’ (which I initialized with a __init__.py file)
I am still facing the same issue @paraparata. Kindly please help me. I followed the same tutorial.
My testing console the debug error says “Error: Requested URL /webhooks/google_assistant/webhook not found”.
My ngrok console says "POST /webhooks/google_assistant/webhook 404 Not Found "
please help @Juste@juste_petr