I adding an instant chat (like gmail chat) in my rails application and I am using private_pub and faye. The app seems to work so far, but users can only see messages after they refresh the page. I inspected the element and it shows that faye.js is being blocked. exact error is
Mixed Content: The page at 'https://....' was loaded over HTTPS, but requested an insecure script 'http://localhost:9292/faye.js'. This request has been blocked; the content must be served over HTTPS.
Has anyone exeperienced such an error and/or any idea how to work around this? See attached image for a screenshot of the error.enter image description here