Issue ID:
Type
Bug
Title:
FIX: Error parsing certain gemspecs from connectors
Created:
10/26/2022 9:50:04 AM by Nanci Calo
Status:
Awaiting Release on 11/1/2022 11:11:10 AM
Last pulled:
11/4/2022 8:56:01 PM
Description:
To reproduce, set up a new Ruby Gems feed (`mygems`) with a connector to rubygems.org, then navigate to `/rubygems/mygems/quick/Marshal.4.8/pry-0.4.7.gemspec.rz`. ProGet will then fail when trying to download https://api.rubygems.org/quick/Marshal.4.8/pry-0.4.7.gemspec.rz The error seems to be related to some unexpected value, of `@taguri`: ``` Expected only "E" instance variable for string. System.IO.InvalidDataException HResult=0x80131501 Message=Expected only "E" instance variable for string. Source=ProGetCoreEx StackTrace: at Inedo.ProGet.Feeds.RubyGems.RubyMarshal.RubyMarshalReader.ReadString(BinaryReader reader) in C:\Projects\ProGet\ProGetCoreEx\Feeds\RubyGems\Marshal\RubyMarshalReader.cs:line 256 ``` Note: the error is silently ignored, so the message returned is a 404.