Skip to content
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

404 Error while calling the voice app after deployment #5

Closed
karthikkumarna opened this issue Apr 11, 2017 · 2 comments
Closed

404 Error while calling the voice app after deployment #5

karthikkumarna opened this issue Apr 11, 2017 · 2 comments
Labels

Comments

@karthikkumarna
Copy link

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
Copy link
Member

gawi commented Apr 11, 2017

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
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants