10 comments

[ 2.8 ms ] story [ 28.5 ms ] thread
Keeps getting Application Error
It is uploaded on heroku app and heroku gives one dyno(Instance) as it is my free account. So if my app crashes then it will take 5-10 minutes to work again. So wait for sometime it will be fixed automatically. If you want you can download npm package and test it. Link for the same is mentioned on my blog.
Oh I checked the logs, error is "Memory quota exceeded". I will deploy it to another server. Till then download the npm package and run it.
So uploaded on a appfog http://short-route-demo.ap01.aws.af.cm/ Now you can check.
That works better. When I only type two cities it adds an undefined city, which won't go away.
It's a wierd issue because on my localhost everything is fine but when i deploy it to some servers like appfog or heroku then this issue comes. I am checking logs and trying hard to fix it. But if you are getting this error try refresh the page and try again.
Your English is a bit stilted in places - "Just check that the distance from A-B and B-A are not equal because it is the distance related to road.".

And I'm getting Application Errors too.

Sorry for the bad explanation but I mean to say that when we travel through road it does not necessary that distance form A-B and B-A will be same and you can check my app on http://short-route-demo.ap01.aws.af.cm/ I have only one instance on heroku and it was crashed, so now finally uploaded to appfog
>>paris london berlin

>The shortest Distance is paris to london to paris accounting upto 0 kilometers.

You've got a bug somewhere.

The shortest Distance is paris to berlin to london to paris accounting upto 2595.005 kilometers.

Ya I know that, sometimes it comes but please refresh the app and try again. If you are getting then download the npm package and set it on your localhost.

Everything is working fine in localhost but when I upload my code to the server like appfog or heroku then these weird issue comes. Visit my app on this link http://short-route-demo.ap01.aws.af.cm/