nodebb-plugin-blog-comments icon indicating copy to clipboard operation
nodebb-plugin-blog-comments copied to clipboard

Adding comments to posts randomly throws unable to post topic

Open zozo6015 opened this issue 9 years ago • 2 comments

Hello, I am trying to enable comments using this plugin on my blog running on ghost and it randomly throws the following error:

{ "error": "Unable to post topic" }

in the nodebb log I can see the following:

25/11 11:41 [22175] - warn: [nodebb-plugin-blog-comments] Origin (undefined) does not match hostUrls: http://z0z0.me

zozo6015 avatar Nov 25 '15 16:11 zozo6015

http://stackoverflow.com/questions/29531521/req-headers-origin-is-undefined

The origin may be hidden if the user comes from an ssl encrypted website. Also: Some browser extensions remove origin and referer from the http-request headers, and therefore the origin property will be empty.

Are either of this true? Ex. if blog is https and nodebb is http or the other way around, or if you have some kind of adblock style browser extension

psychobunny avatar Dec 14 '15 23:12 psychobunny

I have both HTTPS on both the blog and nodebb and I'm encountering the same error. Been trying to solve this for days now. Any assistance would be much appreciated.

micahbule avatar Mar 07 '18 15:03 micahbule