comments not loading #1210
-
I know this is another silly issue, but pls bear with me. i have done 99% of debugging before posting this. on tcp dump i am seeing following requests and responses to and from remark server. is the URI path reaching the remark server correct ?? here are my rewrite rules. on chrome console : I am not running docker and just running binary as below . is there any setup needed before running the binary ?? please advise. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 2 replies
-
moved to the discussion as this seems to be "how to set up" sort of question |
Beta Was this translation helpful? Give feedback.
-
from what I can see, remark42 is reachable on https://www.playme.one/comments, i.e. https://www.playme.one/comments/ping hits it. However, I don't see the expected response on https://www.playme.one/comments/web, which is strange. Smth is not right with your configuration, not sure what |
Beta Was this translation helpful? Give feedback.
-
Please find my frontend configuration. <script> var remark_config = { host: 'https://www.playme.one/comments', site_id: 'foobillard', components: ['last-comments'], max_shown_comments: 20, theme: 'dark', locale: 'en', show_email_subscription: false, simple_view: false }; </script> <script> !function(e,n){for(var o=0;o |
Beta Was this translation helpful? Give feedback.
-
pasting http request body hitting the remark42 server, i suspect the rewrite rules messing up the URL which remark42 is rejecting. HTTP/1.1 404 Not Found |
Beta Was this translation helpful? Give feedback.
-
I don't think this is your proxy issue, but rather a limitation of our binary distribution, which has a very limited support for adjusting asset's URL on the startup. We have a ticket about this and planning to change the way how we do it - instead of modifying multiple html/js files initially, to always serve them with the internal router. In a mean time I'd suggest switching to the recommended docker-based configuration. |
Beta Was this translation helpful? Give feedback.
-
Thank you for getting back, the reason i opted for binary is to keep my setup and arch simple. i can wait for any patch or new binary release. |
Beta Was this translation helpful? Give feedback.
-
as suspected rewrite rules were messing up. after fixing rewrite rules, every thing worked fine. |
Beta Was this translation helpful? Give feedback.
-
RewriteEngine On |
Beta Was this translation helpful? Give feedback.
as suspected rewrite rules were messing up. after fixing rewrite rules, every thing worked fine.