I have a docusaurus config with 20+ instances of this plugin with a varying amount of documents for each. On start it errors out.
Error
[ERROR] Error: read ECONNRESET
at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
I'm using Constant Sync mode.
Sample of one of the configs:
'docusaurus-plugin-remote-content',
{
// options here
name: 'unique.name',
sourceBaseUrl: 'github.enterprise.url', // some are public github urls
outDir: 'docs/unique.name',
documents: [
'README.md',
'docs/QuickStart.md',
], // most have one or two files and a couple have 15+ files
modifyContent(filename, content) {
// flattening the docs/ files and fixing some urls
}
}
My guess is that this many connections isn't compatible with Constant Sync mode because of the number of connections.
My current work around is to use CLI Sync mode.
I have a docusaurus config with 20+ instances of this plugin with a varying amount of documents for each. On start it errors out.
Error
I'm using Constant Sync mode.
Sample of one of the configs:
My guess is that this many connections isn't compatible with Constant Sync mode because of the number of connections.
My current work around is to use CLI Sync mode.