You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.
I'm hoping you can help me out with an issue we're having with Jenkins + Gemsurance. As of late we're having issues with Gemsurance due to the # of gems in our Gemfile. The issue is that Gemsurance is making too many calls to RubyGems via Gems.info(gem_name) and eventually errors out because too many calls have been made, causing our builds to fail. The error output looks like this: Psych::SyntaxError: (<unknown>): mapping values are not allowed in this context at line 13 column 15
We've been able to reproduce this issue locally by running: 188.times { |n| Gems.info('a'*n) }
188 is the number of gems in our Gemfile.
I'm creating this issue for a few reasons:
To let you know that this is a problem that may be worth fixing
To hopefully get better error output implemented so that others that may hit this issue eventually know how to handle it (Make use of the error code thats returned?)
To ask for your input on a potential workaround. (Fork gemsurance and add some sleep/retry/rescue?)
Were now only running Gemsurance on our primary branch which has reduced the overall # of calls we were making by more than 90% but this is still an issue.
For some added context Ive asked RubyGems.org if our IP is 'blackholed' as they call it as well just to rule that out, waiting on a reply.
The text was updated successfully, but these errors were encountered:
I'm having this same issue. Glad to see that I'm not the only one getting C:/Ruby253-x64/lib/ruby/2.5.0/psych.rb:402:in parse': (): mapping values are not allowed in this context at line 13 column 15 (Psych::SyntaxError)`
Hello,
I'm hoping you can help me out with an issue we're having with Jenkins + Gemsurance. As of late we're having issues with Gemsurance due to the # of gems in our Gemfile. The issue is that Gemsurance is making too many calls to RubyGems via
Gems.info(gem_name)
and eventually errors out because too many calls have been made, causing our builds to fail. The error output looks like this:Psych::SyntaxError: (<unknown>): mapping values are not allowed in this context at line 13 column 15
We've been able to reproduce this issue locally by running:
188.times { |n| Gems.info('a'*n) }
188 is the number of gems in our Gemfile.
I'm creating this issue for a few reasons:
Were now only running Gemsurance on our primary branch which has reduced the overall # of calls we were making by more than 90% but this is still an issue.
For some added context Ive asked RubyGems.org if our IP is 'blackholed' as they call it as well just to rule that out, waiting on a reply.
The text was updated successfully, but these errors were encountered: