-
-
Notifications
You must be signed in to change notification settings - Fork 187
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 follow HTTP redirects when downloading Mongo #785
Comments
true, the current implementation is not made to handle redirects, only direct urls. from my quick look, the url provided i dont think this will be changed anytime soon |
Add follow-redirects library to handle 302 redirects on fastdl.mongodb.org re: typegoose#785
i dont know why this was not properly tagged, but added via #786, released since |
Versions
package: mongo-memory-server
What is the Problem?
When running tests, the attempted download of Mongo fails with
DownloadError: Download failed for url "https://fastdl.mongodb.org/osx/mongodb-macos-x86_64-5.0.18.tgz", Details: Status Code isnt 200! (it is 302)
Trying to follow the link in Chrome, there is indeed a 302 redirect with message 'moved temporarily'
Code Example
Any simple script that requires mms to download a new Mongo
Debug Output
Debug Output
fastdl have a temporary redirect and the downloader isn't configured to respect this
The text was updated successfully, but these errors were encountered: