0

I have a Rails 4.2.1 application with multiple engines under it. The application has been hosted in production with Apache2 and Passenger and was working fine till a few weeks back. I am now facing a strange problem and unable to load assets under one particular engine and get the error "Failed to load resource: net::ERR_CONNECTION_RESET" when trying to load javascript or other asset files under a particular engine. The application structure is

  • Root
    • AssessmentTools (app->assets->javascript->assessment_tools->angular.js)
    • QuestionBankTools (app->assets->javascript->question_bank_tools->angular.js)

All seems to work fine when loading resources under AssessmentTools (http:///assets/assessment_tools/angular.js), but fails for QuestionBankTools (http:///assets/question_bank_tools/angular.js).

Also, everything seems to work fine on localhost and even in a VM that i hosted on my development machine (with app running behind Apache2 and Passenger), but the problem appears when i host it on server behind a proper a domain.

I have tried cleaning up the server and re-installing the application but without success. I am not able to figure out what could have changed in the past weeks to create this issue.

4

1 回答 1

0

就我而言,问题原来是数据服务器管理员引入的过度急切的防火墙过滤器。他们封锁了所有包含特定关键字的网址。修复了防火墙,一切都很好。

于 2016-05-06T07:58:45.323 回答