40thieves / webpack-sentry-plugin

Webpack plugin to upload source maps to Sentry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR in Sentry Plugin: RequestError: Error: getaddrinfo ENOTFOUND http http:443

Moirafu opened this issue · comments

I add uploadFilesConcurrency in my SentryPlugin as follow:
config.plugins.push(
new SentryPlugin(Object.assign({
release: 'staging@1.0.1',
deleteAfterCompile: true,
exclude: /(.css.map| .css | .html)$/,
include: /(.js.map | .js)$/, //
filenameTransform: function(filename) {
return '~/dist/' + filename
},
uploadFilesConcurrency: Infinity
}, require('./sentry.config.js')))
);

still has the 443 problem. how can i fix it?

What's in your sentry.config.js? This error probably means that you provided an invalid baseSentryURL (i.e. a hostname that is not publicly resolvable).