I am having rails app and deployed in AWS EC2 with apache and unicorn. In this application I have used faye for messaging module.It is working fine with http application but Faye is not working while using https(ssl) for web application and http for Faye app.
In this situation are we really required https for both apps(web app and faye app)? Please let me know. Error: The page at https://xxxx.xxxx was loaded over HTTPS, but requested an insecure script 'http://xxxxxx:9292/faye.js
Yes, you should serve your assets, faye.js in this case, through HTTPS. Take a look at this answer - Heroku error: page was loaded over HTTPS, but requested an insecure script 'angular-route.js'