-
Notifications
You must be signed in to change notification settings - Fork 18
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
Invalid Extended Type at offset 0 val 7 #5
Comments
Interesting. node-geolite2-redist/scripts/download-helper.js Lines 79 to 83 in 32096c0
The downloader script directly overwrites the database files. I guess if you kill the app while Solution: write to temporary files. Rename them if checksums pass. Delete any temporary files on startup. Will publish an update soon. |
Seems like this issue is still there, haven't seen the error for a while
|
Have you upgraded the lib lately? Can you confirm it stops working after printing out these errors? |
I'm on the latest 1.0.7 |
I'll look into it. |
Hard to re-produce as it is inconsistent and happens only sometimes.
Seems like the db becomes corrupted and maxmind is unable to read the file.
The solution is to
npm remove geolite2-redist
andnpm install
to re-download the db.Any ideas?
The text was updated successfully, but these errors were encountered: