Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to download assets over proxy. Doesn't export error log. #1379

Open
noisehunter82 opened this issue May 11, 2023 · 0 comments
Open

Fails to download assets over proxy. Doesn't export error log. #1379

noisehunter82 opened this issue May 11, 2023 · 0 comments

Comments

@noisehunter82
Copy link

Issues:
Logic times out when trying to download assets. Files are saved in designated folder but they're all empty. Regular content (non-assets) gets downloaded without problems.
image
Above errors are neither regsitered nor logged.
image

Assest are downloaded fine when I'm connecting directly (not using proxy).

My config:

        const options = {
            spaceId,
            environmentId: latestBackupId,
            managementToken: accessToken,
            proxy: process.env.HTTP_PROXY ?? '',
            contentFile: latestBackupId,
            downloadAssets: true,
            includeDrafts: true,
            exportDir: './out',
            errorLogFile: './logs',
            skipWebhooks: true,
            skipRoles: true,
            useVerboseRenderer: true

        };
        await contentfulExport(options);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant