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

etag argument check #459

Open
fra967 opened this issue Nov 14, 2018 · 0 comments
Open

etag argument check #459

fra967 opened this issue Nov 14, 2018 · 0 comments

Comments

@fra967
Copy link

fra967 commented Nov 14, 2018

I have experienced a few process crashes with the following error, it seems to happen randomly with the same (cached) image being served ok at times, and some other times with an error

[2018-11-14T09:59:11.435Z] ERROR: dadi-cdn/22192 on ip-172-31-17-37: argument entity must be string, Buffer, or fs.Stats
    TypeError: argument entity must be string, Buffer, or fs.Stats
        at etag (/data/cdn/node_modules/etag/index.js:83:11)
        at workQueue.run.then (/data/cdn/node_modules/@dadi/cdn/dadi/lib/controller/index.js:77:24)
        at <anonymous>
        at process._tickDomainCallback (internal/process/next_tick.js:229:7)

https://github.com/dadi/cdn/blob/develop/dadi/lib/controller/index.js#L77

CDN 3.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants