ok, after reactivated my plugins one by one, I found it was "nodebb-plugin-html5videoplayer"
HTTPS Error Message After Upgrading to 1.15
I upgraded my forum to v1.15.2 and am no longer able to post, delete, etc using the API. I see an error message stating "HTTPS is required for requests to the write api, please re-send your request via HTTPS".
It seems this is related to this commit since I am seeing a 426:
My site is running on an EC2 instance with an ALB in front. The ALB has an SSL cert and accepts traffic on ports 80 and 443. The ALB forwards all traffic to port 80 on the EC2 instance which has an nginx server proxying it to NodeBBs port 4567. My best guess is that something between the ALB and EC2 instance is tripping this error, but I am not sure how to work around it. With AWS managed certificates I can't install the SSL cert on the instance the traditional way. Any advice besides just rolling back?
@abarnes hey there, and thanks for posting!
In the write API plugin, this was originally a configurable option via the ACP, but in this new code we decide to turn it on or off based on the configured URL.
I did not anticipate this usage, my apologies! I will try to come up with a suitable alternative for auto-detection, and failing that, I'll just make it a configurable option again.
@julian This is working great after updating to 1.15.3. Thank you for addressing it!