New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error subscribing to HTTP middlewares from HTTPS frontend #231
Comments
No osx. Can you check in the developer pane how the rquest looks? Http body/ response? |
Thanks for the good questions :-)
|
Reproducible on Windows FF35 |
Mhm. Looks like a valid JSONP request: http://demo.volkszaehler.org/middleware.php/entity.json?padding=jQuery21305383623512019367_1422096647035&_=1422096647037 Wondering if this is part of the problem: http://stackoverflow.com/questions/4281274/jquery-ajax-404-handling I'll look into this... |
Ok, Firefox is blocking "insecure content" on the https page. Once disabled, problem is gone. As you still have the problem, could you check what is being blocked by ff? |
Found it. The public MW request is http, not https: http://demo.volkszaehler.org/middleware.php/entity.json?padding=jQuery21301786527374471366_1422097116416&_=1422097116417 Now need to find why and where... |
Could you please check your options.json? How are the middlewares configured? Explicit http preventing https? If yes, could you check if this works:
|
bingo! :-) |
Update:
|
@justinotherguy what is the specific error displayed in the firefox console (developer console, opens with F12 on Windows)? What are the HTTP request/ response? |
@justinotherguy the problem is your certificate. Try https://demo.volkszaehler.org/middleware.php/entity.json?padding=jQuery21304080840314272791_1422543722973&_=1422543722974 Firefox:
Chrome:
Therefore, the solution to this problem must be:
For now, I'll change |
@justinotherguy can we close this? |
I suggest, we'll set options.js to "url:'//demo" - agreed? |
Switch to HTTPS if frontend is served on HTTPS. Finally half-fixes #231 after chat with@justinotherguy
Switch to HTTPS if frontend is served on HTTPS. Finally half-fixes volkszaehler#231 after chat with@justinotherguy
Steps to reproduce:
-> pop-up "Kanal hinzufügen" shows
-> click on "Öffentliche Kanäle"
-> error message:
"404: error
http://demo.volkszaehler.org/middleware.php/entity.json?padding=jQuery213073203720364775_1422050824977&_=1422050824979:
Unknown middleware response"
Rolling back to "Merge pull request #204 from andig/fix-cdn-usage" (304f39b) removes the behaviour.
Does not occur with Safari 8.0.2 and Chrome 40.0 on OSX.
Regards, J.
The text was updated successfully, but these errors were encountered: