-
Notifications
You must be signed in to change notification settings - Fork 44
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
WinRPM.update() error reporting error code: 2148270085 #57
Comments
Try deleting |
DNS server went down, but it's back up again now. It's using my personal dynamic DNS server which isn't the stablest of things in the world. @StefanKarpinski is there a way we can get an A record to point |
It works now, thanks. And thanks for the use of you personal server.
|
Since ping's could work while the server process itself is down, my suggested method to check whether the caching server is working or not is to simply visit the cache listing page (https://cache.e.ip.saba.us/). |
@StefanKarpinski another ping on a related DNS issue: #57 (comment) |
I am having the same issue (Julia 0.4.0 / Win 7 / 64 bit) - failing to download file repomd.xml as above - but with error code: 2148270088. I removed the reference to the cache site from sources.list file in dir WinRPM. Confirmed that http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.2/repodata/repomd.xml is a valid file. Neither worked. Fixed issue by following the fix provided in related issue #44. Replaced the sites in sources.list with the Warwick sites. Worked! |
Roughly where are you physically located? The opensuse mirrors are a little flaky, and we explicitly don't mirror that top |
The cache server is down again. @StefanKarpinski we need you to do something about this. |
@tkelman |
@cpminor if the normal link doesn't work but changing to a different mirror does, I think that may be an issue on opensuse's side? Though it's worth trying some of the workarounds as in #40 (comment) of using a different download command, either curl or powershell rather than the IE API that's being used here. Long-term I think all of the downloading that this package, BinDeps, and Base.download are doing needs to be refactored to work more reliably. |
@tkelman - given that both the cached version and the opensuse versions of the file give an error when the file is both downloadable and human readable makes me think that an errant line return or binary character slipped in somewhere. WinRPM doesn't attempt any file cleanup (like running text files through *nix |
The file is downloadable and human readable through your browser, but browsers go to a lot of effort to work properly with proxy settings. The error code you were seeing translates to INET_E_DOWNLOAD_FAILURE - https://msdn.microsoft.com/en-us/library/ms775145(v=vs.85).aspx, whereas the initially reported error was INET_E_RESOURCE_NOT_FOUND. |
@tkelman Nice work! I was looking for that error code myself and could not find it. My proxy settings are in both git config and Windows environment variables, and they seem to be working downloading non-WinRPM managed packages and to Warwick site (and others as well). But I am certainly not an expert on IE or Windows with proxy settings, so there could be an issue there I am just not yet aware of. |
I got the same WARNING messages as @hustf , except the error code in my case was Removing the two
(as suggested in this thread) seems to have resolved the problem. |
I see the same problem (error 2148270088, INET_E_DOWNLOAD_FAILURE) on a Windows 7 64-bit machine at my lab here. Neither removing the If I pass a URL to a non-existent file, I get error 2148270086 (INET_E_OBJECT_NOT_FOUND) instead. So things are not completely broken. Also, if I use FTP instead of HTTP, FWIW, downloads work from R, which uses InternetOpenUrl (with flags I've done a lot of research, but I couldn't find much information. Here are a few possibly interesting links:
|
Just as another data point: I'm getting a similar error, |
I recently had another round of download failures with WinRPM.jl as well. I was able to fix it by using the ftp5.gwdg.de site with FTP protocol in place of HTTP or HTTPS. So my sources.list file is now: ----------------------Christian Minorchristian.minor@yahoo.com
I see the same problem (error 2148270088, INET_E_DOWNLOAD_FAILURE) on a Windows 7 64-bit machine at my lab here. Neither removing the cache.e.ip.saba.us part nor moving to ftp5.gwdg.de made any difference, with either HTTPS or HTTP. Calling download on these URLs gives the same error. FWIW, I can browse these addresses just fine in both IE and Firefox.If I pass a URL to a non-existent file, I get error 2148270086 (INET_E_OBJECT_NOT_FOUND) instead. So things are not completely broken. Also, if I use FTP instead of HTTP, Base.download returns without any error and without creating any file; but WinRPM.download (which uses URLDownloadToCacheFileW) still fails.FWIW, downloads work from R, which uses InternetOpenUrl (with flags INTERNET_FLAG_KEEP_CONNECTION and INTERNET_FLAG_NO_CACHE_WRITE). It could be interesting to test another version based on this API for testing.I've done a lot of research, but I couldn't find much information. Here are a few possibly interesting links:
|
@pfitzseb That's the same error code as JuliaInterop/ZMQ.jl#90. (But note that you should also ensure you're using the latest WinRPM version, as the old caching server's certificate expired: a new server needs to be used.) |
Thanks @nalimilan, it seems most probably that that's the issue I'm seeing also. WinRPM is up to date, but I'm on Windows Server 2016, so the Enhanced Security thingy in IE is there as well. |
Same error on appveyor as well. https://ci.appveyor.com/project/isuruf/symengine-jl/build/1.0.6/job/gbemo86fo8niqjws |
We keep getting reports about this, we really need to find a solution or at least a workaround. |
I'm seeing this on Appveyor right now, but with error code 2148270105: https://ci.appveyor.com/project/ssfrr/portaudio-jl/build/1.0.39/job/6j3wy392wh0qbyna It's been non-functional for the last 12 hours or so. Is there any workaround? |
That error seems to indicate a |
If it's an invalid certificate, it might be SSL versioning problems. We just recently ran into a rash of problems as various services on the internet move away from older SSL versions and start accepting only modern ciphers such as those within TLS 1.1+. Powershell, for example, by default does not enable these modern ciphers unless you ask nicely with a line such as this one. That being said, I can't imagine this is exactly that problem, because you're asking for an Do those WinRPM operations work locally on your device? |
Huh, another thing to look at is that requests for WinRPM have been coming in with weird data, perhaps there is some kind of data corruption happening to the requests. I regularly log things like
on the caching server side. |
my issue seems to be resolved now on appveyor. I didn't get to a windows machine in time to check whether it was broken locally. |
I solved the problem editing the file sources.list and removing the string
That means replacing
|
It hurts, sometimes, to use Windows. A related issue: #44
I tried the tagged version, master and nothttpclient branch. Same errors:
Context:
The text was updated successfully, but these errors were encountered: