NodeBB could not reach the package manager
-
I'm getting this in the console.log
XMLHttpRequest cannot load https://packages.nodebb.org/api/v1/suggest?package=nodebb-plugin-emailer-ssl-smtp&version=0.7.0. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://........com' is therefore not allowed access.
-
@thewheat said:
I'm getting this in the console.log
XMLHttpRequest cannot load https://packages.nodebb.org/api/v1/suggest?package=nodebb-plugin-emailer-ssl-smtp&version=0.7.0. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://........com' is therefore not allowed access.I'm getting this error too, yerterday and today.
-
I also got this error.
-
Most likely related to the removal of https://github.com/NodeBB/nodebb-package-manager/commit/bb079befc7af0d74fa12a11b855a4bb9057bffae#diff-2b137e40025e00eb45b66941ad8d4ddfL148
-
@julian said:
@xbenjii that should have no effect on the package suggestions system... navigating to the url provided seems to work fine as well...
But they're accessing it cross-domain aren't they? Is this not a CORS issue?
Assuming this is the code issuing the error.
In https://github.com/NodeBB/nodebb-package-manager/commit/bb079befc7af0d74fa12a11b855a4bb9057bffae you removed all the middleware, including the CORS header.
-
As of today, using NodeBB v0.7.2, the bug is still present, and the circumstances seem to match the ones described by other users here.
-
Can confirm this is the case for my self also, Unable to update persona theme.
-
Now it appears to be solved