Borwser: didn’t send any data. ERR_EMPTY_RESPONSE - ruby-on-rails

I am on rails 4 framework and using nginx werbserver and passenger as a application server. Sometimes while trying to load web page i am getting below error and my web page is not loading.
didn’t send any data.
ERR_EMPTY_RESPONSE
I checked my server log file and found that request is not hitting to the server at all. after clearing the browser cache it is working fine.
what can be the reason for this issue.
Thanks,

Related

Failed to load resource: net::ERR_INTERNET_DISCONNECTED

Help
When I am developing locally my Asp.Net MVC web application I get the following error message in the console.
api.webtest.net/webspeeds:1 Failed to load resource:
net::ERR_INTERNET_DISCONNECTED
My asp.net application runs fine - except for this annoying message being printed. It occurs when I am working offline (no internet connect).
Why is my asp.net app trying to connect to the internet - all my service calls are local - no need for an internet connection:
Maybe it’s a browser extension?
Probably this one
Try to run in other browser or add this to C:\Windows\System32\drivers\etc\hosts
127.0.0.1 api.webtest.net

getting Net::OpenTimeout: execution expired only sometimes

My rails application sends emails through a gmail account using mailer. Till recently everything was working fine. But now sometimes I get the error as
"Net::OpenTimeout: execution expired"
This happens sometimes and sometimes it works. I want to know the reason for this behavior. Is it because of the gmail server having load balancing issues or is it because of some configuration issues in the rails app?

HTTP Status 403 when loading a CSS file from a secure domain (Rails 2)

I'm having an issue in Google Chrome regarding SSL. Basically my app is using a CSS file that is hosted on an SSL domain and served by a Rails 2 app. When I look into the Network tab, it shows a 403 status when loading the file. However, the file is loaded successfully when I open it in a new tab.
Does anyone know why this happens and how to get around it?

UIWebView: 502 Bad Gateway response

I have been loading UIWebViews with a set of URL's for a long time while testing my app with no problem. Now I get 502 Bad Gateway Error message when I load my UIWebView.
The URL's I use all came from the same source and all start with:
http://www.gijon.es/eventos/show/
Some URLs are for example:
http://www.gijon.es/eventos/show/21514-ciclo-ciencia-x-cine
http://www.gijon.es/eventos/show/20611-mercado-ecologico-y-artesano
I have tested the URLs from my browser and they work Ok.
I have tested doing a Log that this are actually the URLs just before creating the request.
I have made a testApplication with just a UIWebView loading this URL's and it fails the she way my app does.
Any other URL like http://google.com loads nicely.
How can I debug this problem? Should it be a problem with the remote server? Can it be a problem in my configuration?
The website is configured to handle requests differentely according to the browsers user agent.
So when you access it with UIWebView you are sending as a user agent iPhone, which takes you to a different page on the site.
Due to miscofiguration from their webserver you are seeing a 502 Bad Gateway error (probably they are running NginX).
To verify this, open Firefox, download the User Agent Switcher addon, select as a user agent iPhone 3.0, then open http://www.gijon.es/eventos/show/21514-ciclo-ciencia-x-cine
You will see the 502 bad gateway error
If you want to solve this, you can modify the default UIWebView user agent (set it to safari something). The way to do this is here

FB_Graph: An error occurred. Please try again later

I am using fb_graph for my rails app.
I just followed nov/fb_graph app.
It was working fine till last week, i was able yo login and could get user information.
But suddenly i am getting error.
I didnt change anything in my app.
my app_id, screat_id everything is correct.
Even i am getting error when i close that facebook error window like
Graph::Auth::VerificationFailed
Facebook cookie not found
Could any one got through this error
this just because of URL mistake
whatever website url is specified should be correct.
i mentioned website url as http://localhost:3000/ and domain as localhost
but in my browser i was running http://0.0.0.0:3000/ that was the actual problem so i ran server as localhost:3000 now its working fine. Because we mentioned site url as localhost fb will redirect to same, if we r running 0.0.0.0:3000 it will rise error that Given URL is not allowed by the Application configuration.
thank you

Resources