views:

66

answers:

2

Hi All,

I have created an App on Heroku which works perfectly in a Web Browser. As a second step, I want to view the App hosted on Heroku in Yahoo! App.

Its pretty simple to open any webpage in a Yahoo! App. One just need to mention the URL where the site is LIVE and rest is taken care by Yahoo! App. However, if I try to open the App hosted Heroku in Yahoo! App, it fails with 404.

As a reference, one can try creating an app on Heroku which just takes a few minutes and try for yourself. You can also use Sinatra MVC if you want to use pre-built app on Heroku and see if this gets displayed. I have already posted the problem on Yahoo! Forum here.

In my personal opinion, the issue might be because of some internal redirection which Heroku is doing but I am not sure about it.

Please have a look and share your thoughts if possible.

Thanks in advance,

Muhammad Haseeb Khan

A: 

Well it's not because of internal redirection. It might be a DNS issue (In which case it may work if you try again).

If you could post the heroku url of your app (or another sample application that is experiencing the same issue) then I could probably tell you more.

Gdeglin
George, Thanks for your reply.Due to some NDA restrictions, I can't post the URL publicly, but you can try this URL: http://sinatra-mvc.heroku.com/ if possible.Its important to note here that if I use other URLs which aren't hosted on Heroku, for instance, http://www.tkxel.com, it is displayed perfectly in the Yahoo! App Container.Thanks in advance.- Haseeb
Haseeb Khan
Gdeglin
Thanks George. You are correct that the JS doesn't exist but even if you try a very simple Hello World App [Without any Javascript / CSS], even that doesn't gets rendered in the Yahoo! App container. This might be some other issue. I hope somenone from Yahoo!/Heroku replies soon.
Haseeb Khan
I contacted with Heroku Support and they asked to check for the Host Headers Yahoo! Container is sending to Heroku. Is there a way to check that ?
Haseeb Khan
It may be mentioned in the documentation. Only other way I can think of to check the headers would be to point the container to a web server that you can view the logs on and then see what those say.
Gdeglin
A: 

Yahoo! has implemented a fix to this problem in their latest update.

Release Notes state the following:

Proxy URL with redirects is not fetched by YAP

Haseeb Khan