Net::ReadTimeout exception using embedded hosts



I am trying to setup Discourse on the same virtual machne as another rails app. My idea to achieve this is to have my rails app run on port 80 of apache + passenger installation plus deploy docker image of Discourse and make it avaliable on port 8080 of same IP address. To make it more difficult :slight_smile: I would also like to embedd one category of topics. My problem is that after setup both rails app with javascript code and discourse prefs there is no topic created on opening rails app. In discourse log I have:

Started GET "/embed/comments?embed_url=http%3A%2F%2F10.50.108.49%2Flogos%2F2286"
 for at 2016-01-11 21:19:36 +0000
Processing by EmbedController#comments as HTML
  Parameters: {"embed_url"=>""}
  Rendered embed/loading.html.erb within layouts/embed (1.0ms)
Completed 200 OK in 24ms (Views: 3.0ms | ActiveRecord: 11.4ms)
Job exception: Net::ReadTimeout

I am not sure if ReadTimeOut is really related to my issue.

Not sure how to troubleshoot this.