nuecho / rivr

Rivr is a lightweight open-source dialogue engine enabling Java developers to easily create enterprise-grade VoiceXML applications.
http://rivr.nuecho.com
Other
61 stars 23 forks source link

404 Error while calling the voice app after deployment #5

Closed karthikkumarna closed 7 years ago

karthikkumarna commented 7 years ago

Hi Jean-Philippe,

I was following the steps given to bootstrap the sample application given from the cookbook. I had deployed the application in Heroku and gave the deployed application URL in Voxeo's voice URL. When I call the application, I get 404 Error. Below is the excerpt from the log

Apr 11 22:12:03 GMT 2017 bro222.orl.voxeo.net CCX 187807 4e1be661f023b2e0b43e105fe4823285 0 1 Session log: dialog failed to start! Reason=Failed fetch with code: 404 (Not Found),\n URL: http://localhost:8080/rivr-cookbook-1.0.0/?session.callerid=4029357733&session.accountid=187807&session.sessionid=6e9355ceee103f588a852e48092d2dd0&session.parentsessionid=4e1be661f023b2e0b43e105fe4823285&session.virtualplatform=Staging-Nuance&session.calledid=9990109941

I had also attached the log file of my call 2017-04-11-2200.txt

Thanks, Karthik.

gawi commented 7 years ago

Hi,

The URI can't be http://localhost:8080/. You need to replace localhost and 8080 with the public name of the host where your application is deployed and the listening port, respectively.

I'm not familiar with Heroku but I guess the details are covered here: https://devcenter.heroku.com/articles/deploying-java

karthikkumarna commented 7 years ago

Hello,

I was able to fix the above error. I gave the complete URI (with public host name and url pattern). Earlier, I had missed to give the url pattern as a part of the URI. Thanks!