Hat jemand bei der Verbindung zu Discourse über ein mobiles Gerät (Emulator) einen ERR_CONTENT_LENGTH_MISMATCH-Fehler erlebt?
Ich habe WSL2 mit Ubuntu und einem Discourse-Forum auf meinem Windows-10-Rechner installiert. Wenn ich über einen Windows-Browser auf Discourse zugreife, funktioniert alles einwandfrei. Wenn ich jedoch über meinen mobilen Emulator zugreife, erhalte ich zahlreiche ERR_CONTENT_LENGTH_MISMATCH-Fehler, und das Forum lädt nicht (leere Seite).
Ich verbinde mich mit Discourse über meine IP-Adresse und habe eine Portweiterleitung von Windows zu WSL2-Ubuntu eingerichtet. Wenn ich http://192.168.0.6:3000 über meinen mobilen Browser ohne aktiviertes JavaScript aufrufe, kann ich das Forum sehen (es funktioniert jedoch ohne JavaScript nicht richtig). Sobald ich JavaScript aktiviere, funktioniert es gar nicht mehr.
Logs aus der Entwicklerkonsole:
GET http://192.168.0.6:3000/assets/locales/en.js?1616414336.2489636 net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)
GET http://192.168.0.6:3000/assets/pretty-text-bundle.js?1616414336.2663965 net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)
GET http://192.168.0.6:3000/assets/vendor.js?1616414336.2663667 net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)
GET http://192.168.0.6:3000/assets/ember_jquery.js?1616414336.2662969 net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)
GET http://192.168.0.6:3000/assets/plugins/discourse-local-dates.js?1616414336.269725 net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)
GET http://192.168.0.6:3000/assets/plugins/discourse-presence.js?1616414336.269779 net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)
GET http://192.168.0.6:3000/assets/plugins/poll.js?1616414336.2698483 net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)
GET http://192.168.0.6:3000/assets/application.js?1616414336.2664297 net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)
javascripts/lib/discourse-markdown/details:1 Uncaught ReferenceError: define is not defined
at eval (javascripts/lib/discourse-markdown/details:1)
at discourse-details.js?1616414336.2696738:1
(anonymous) @ javascripts/lib/discourse-markdown/details:1
(anonymous) @ discourse-details.js?1616414336.2696738:1
javascripts/initializers/new-user-narrative:1 Uncaught ReferenceError: define is not defined
at eval (javascripts/initializers/new-user-narrative:1)
at discourse-narrative-bot.js?1616414336.2697492:1
(anonymous) @ javascripts/initializers/new-user-narrative:1
(anonymous) @ discourse-narrative-bot.js?1616414336.2697492:1
javascripts/initializers/alert:1 Uncaught ReferenceError: define is not defined
at eval (javascripts/initializers/alert:1)
at discourse-racoon.js?1616414336.2698188:1
(anonymous) @ javascripts/initializers/alert:1
(anonymous) @ discourse-racoon.js?1616414336.2698188:1
javascripts/lazyYT:174 Uncaught ReferenceError: jQuery is not defined
at eval (javascripts/lazyYT:174)
at lazy-yt.js?1616414336.2698355:1
(anonymous) @ javascripts/lazyYT:174
(anonymous) @ lazy-yt.js?1616414336.2698355:1
start-discourse:3 Uncaught ReferenceError: Discourse is not defined
at eval (start-discourse:3)
at eval (start-discourse:4)
at start-discourse.js?1616414336.5657332:1
(anonymous) @ start-discourse:3
(anonymous) @ start-discourse:4
(anonymous) @ start-discourse.js?1616414336.5657332:1
localhost:3000/uploads/default/optimized/1X/_129430568242d1b7f853bb13ebea28b3f6af4e7_2_180x180.png:1 GET http://localhost:3000/uploads/default/optimized/1X/_129430568242d1b7f853bb13ebea28b3f6af4e7_2_180x180.png net::ERR_CONNECTION_REFUSED
localhost:3000/uploads/default/optimized/1X/_129430568242d1b7f853bb13ebea28b3f6af4e7_2_32x32.png:1 GET http://localhost:3000/uploads/default/optimized/1X/_129430568242d1b7f853bb13ebea28b3f6af4e7_2_32x32.png net::ERR_CONNECTION_REFUSED