Closed ccaviness closed 4 years ago
Just to verify, I also tried KSP 1.8.1 with KSP AVC 1.3.0.3, and it did not prompt to update old mods.
No, not fixed for me, at least.
In my initial comment I posted logs with vanilla KSP 1.8.1 + KSP AVC 1.4.1.1 + an old build of Kerbalism and it did not prompt for updates.
KSP 1.6.1 with AVC 1.3.0.3 and the same old build of Kerbalism did prompt, as expected.
Also, many of your mods have ksp.spacetux.net URLs for version checks, and they are all returning old versions, so separately from the issue I'm reporting, many of your mods won't prompt for an update until these URLs changed (presumably to the current file on github?) or the data on ksp.spacetux.net is updated.
E.g., the KSP-AVC.version
URL returns 1.3.1 as the current version:
$ curl http://ksp.spacetux.net/avc/KSP-AVC { "NAME": "KSP-AVC Plugin", "URL": "http://ksp.spacetux.net/avc/KSP-AVC", "DOWNLOAD": "https://github.com/linuxgurugamer/KSPAddonVersionChecker/releases", "GITHUB": { "USERNAME": "linuxgurugamer", "REPOSITORY": "KSPAddonVersionChecker" }, "VERSION": { "MAJOR": 1, "MINOR": 3, "PATCH": 1, "BUILD": 0 }, "KSP_VERSION": { "MAJOR": 1, "MINOR": 5, "PATCH": 1 }, "KSP_VERSION_MIN": { "MAJOR": 1, "MINOR": 5, "PATCH": 1 } }
I apologize, my initial comment was perhaps misleading. Any version of KSP-AVC, including the latest, does not prompt to update any out of date mods, when installed in KSP 1.8.1. A compatible version of KSP AVC installed into KSP 1.6.1 does prompt to update the (same) out of date mods.
I have a theory. You added a request.Timeout = 10
, thinking it was seconds, but in fact that's milliseconds.
https://docs.microsoft.com/en-us/dotnet/api/system.net.httpwebrequest.timeout?view=netframework-4.8#property-value
The number of milliseconds to wait before the request times out. The default value is 100,000 milliseconds (100 seconds).
Also sent https://github.com/linuxgurugamer/KSPAddonVersionChecker/pull/29 to update the .version
file. Not sure if that's how you want to do this, or if you want to update ksp.spacetux.net.
@linuxgurugamer See previous messages (and pull requests) above in case you don't see updates on closed issues (and I can't re-open).
I am not being prompted to update to newer versions.
I have installed KSP AVC 1.4.0.3 into a vanilla KSP 1.8.1 install. On startup, I am not prompted to update to the latest AVC release. If I add other out-of-date mods, they don't prompt to get updated either.
Relevant log line in KSP-AVC.log is probably:
(Separate from this issue, I believe the AVC is not going to update for anyone as the URL at https://github.com/linuxgurugamer/KSPAddonVersionChecker/blob/79baf87d23e325c8acc43dbe75512e488d32d8ba/KSP-AVC.version#L3 returns version 1.3.1.0)
This seems to be specific to KSP 1.8.1. I had KSP 1.6.1 available, to I put KSP AVC 1.3.0.3 and an older build of Kerbalism there and it prompted for updates for Kerbalism., as expected.
I am running on macOS 10.15.2.
KSP.log and KSP-AVC.log from vanilla 1.8.1 + KSP AVC 1.4.0.3: KSP.log KSP-AVC.log
KSP.log and KSP-AVC.log from vanilla 1.8.1 + KSP AVC 1.4.1.1 + older Kerbalism: KSP.log KSP-AVC.log
KSP.log from vanilla 1.6.1 + KSP AVC 1.3.0.3 + old Kerbalism: KSP.log KSP-AVC.log