aws / aws-sdk-ruby

The official AWS SDK for Ruby.
https://aws.amazon.com/sdk-for-ruby/
Apache License 2.0
3.58k stars 1.23k forks source link

Gem install fails or takes extremely long for aws-sdk/aws-sdk-resources #2574

Closed neilsimon closed 3 years ago

neilsimon commented 3 years ago

Confirm by changing [ ] to [x] below to ensure that it's a bug:

Describe the bug A clear and concise description of what the bug is. Using gem install to install aws-sdk, specifically when installing aws-sdk-resources, fails, or at least takes an extremely long time. The error seems to be due to a 422 Unprocessable Entity error received in response from rubygems.org.

Gem name ('aws-sdk', 'aws-sdk-resources' or service gems like 'aws-sdk-s3') and its version aws-sdk and aws-sdk-resources

Version of Ruby, OS environment -paste the output of ruby -v ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]

To Reproduce (observed behavior) Steps to reproduce the behavior (please share code or minimal repo) gem install -V aws-sdk-resources --source=https://www.rubygems.org

Expected behavior A clear and concise description of what you expected to happen. Expected aws-sdk-resources to install. Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

# gem install -V aws-sdk-resources --source=https://www.rubygems.org
HEAD https://api.rubygems.org/api/v1/dependencies
200 OK
Getting SRV record failed: DNS result has no information for _rubygems._tcp.www.rubygems.org
HEAD https://www.rubygems.org/api/v1/dependencies
200 OK
GET https://api.rubygems.org/api/v1/dependencies?gems=aws-sdk-resources
200 OK
GET https://www.rubygems.org/api/v1/dependencies?gems=aws-sdk-resources
200 OK
Getting SRV record failed: DNS result has no information for _rubygems._tcp.api.rubygems.org
GET https://api.rubygems.org/quick/Marshal.4.8/aws-sdk-resources-3.109.0.gemspec.rz
200 OK
GET https://api.rubygems.org/api/v1/dependencies?gems=aws-sdk-accessanalyzer,aws-sdk-acm,aws-sdk-acmpca,aws-sdk-alexaforbusiness,aws-sdk-amplify,aws-sdk-amplifybackend,aws-sdk-apigateway,aws-sdk-apigatewaymanagementapi,aws-sdk-apigatewayv2,aws-sdk-appconfig,aws-sdk-appflow,aws-sdk-appintegrationsservice,aws-sdk-applicationautoscaling,aws-sdk-applicationcostprofiler,aws-sdk-applicationdiscoveryservice,aws-sdk-applicationinsights,aws-sdk-appmesh,aws-sdk-appregistry,aws-sdk-apprunner,aws-sdk-appstream,aws-sdk-appsync,aws-sdk-athena,aws-sdk-auditmanager,aws-sdk-augmentedairuntime,aws-sdk-autoscaling,aws-sdk-autoscalingplans,aws-sdk-backup,aws-sdk-batch,aws-sdk-braket,aws-sdk-budgets,aws-sdk-chime,aws-sdk-chimesdkidentity,aws-sdk-chimesdkmessaging,aws-sdk-cloud9,aws-sdk-clouddirectory,aws-sdk-cloudformation,aws-sdk-cloudfront,aws-sdk-cloudhsm,aws-sdk-cloudhsmv2,aws-sdk-cloudsearch,aws-sdk-cloudsearchdomain,aws-sdk-cloudtrail,aws-sdk-cloudwatch,aws-sdk-cloudwatchevents,aws-sdk-cloudwatchlogs,aws-sdk-codeartifact,aws-sdk-codebuild,aws-sdk-codecommit,aws-sdk-codedeploy,aws-sdk-codeguruprofiler,aws-sdk-codegurureviewer,aws-sdk-codepipeline,aws-sdk-codestar,aws-sdk-codestarconnections,aws-sdk-codestarnotifications,aws-sdk-cognitoidentity,aws-sdk-cognitoidentityprovider,aws-sdk-cognitosync,aws-sdk-comprehend,aws-sdk-comprehendmedical,aws-sdk-computeoptimizer,aws-sdk-configservice,aws-sdk-connect,aws-sdk-connectcontactlens,aws-sdk-connectparticipant,aws-sdk-costandusagereportservice,aws-sdk-costexplorer,aws-sdk-customerprofiles,aws-sdk-databasemigrationservice,aws-sdk-dataexchange,aws-sdk-datapipeline,aws-sdk-datasync,aws-sdk-dax,aws-sdk-detective,aws-sdk-devicefarm,aws-sdk-devopsguru,aws-sdk-directconnect,aws-sdk-directoryservice,aws-sdk-dlm,aws-sdk-docdb,aws-sdk-dynamodb,aws-sdk-dynamodbstreams,aws-sdk-ebs,aws-sdk-ec2,aws-sdk-ec2instanceconnect,aws-sdk-ecr,aws-sdk-ecrpublic,aws-sdk-ecs,aws-sdk-efs,aws-sdk-eks,aws-sdk-elasticache,aws-sdk-elasticbeanstalk,aws-sdk-elasticinference,aws-sdk-elasticloadbalancing,aws-sdk-elasticloadbalancingv2,aws-sdk-elasticsearchservice,aws-sdk-elastictranscoder,aws-sdk-emr,aws-sdk-emrcontainers,aws-sdk-eventbridge,aws-sdk-finspace,aws-sdk-finspacedata,aws-sdk-firehose,aws-sdk-fis,aws-sdk-fms,aws-sdk-forecastqueryservice,aws-sdk-forecastservice,aws-sdk-frauddetector,aws-sdk-fsx,aws-sdk-gamelift,aws-sdk-glacier,aws-sdk-globalaccelerator,aws-sdk-glue,aws-sdk-gluedatabrew,aws-sdk-greengrass,aws-sdk-greengrassv2,aws-sdk-groundstation,aws-sdk-guardduty,aws-sdk-health,aws-sdk-healthlake,aws-sdk-honeycode,aws-sdk-iam,aws-sdk-identitystore,aws-sdk-imagebuilder,aws-sdk-importexport,aws-sdk-inspector,aws-sdk-iot,aws-sdk-iot1clickdevicesservice,aws-sdk-iot1clickprojects,aws-sdk-iotanalytics,aws-sdk-iotdataplane,aws-sdk-iotdeviceadvisor,aws-sdk-iotevents,aws-sdk-ioteventsdata,aws-sdk-iotfleethub,aws-sdk-iotjobsdataplane,aws-sdk-iotsecuretunneling,aws-sdk-iotsitewise,aws-sdk-iotthingsgraph,aws-sdk-iotwireless,aws-sdk-ivs,aws-sdk-kafka,aws-sdk-kendra,aws-sdk-kinesis,aws-sdk-kinesisanalytics,aws-sdk-kinesisanalyticsv2,aws-sdk-kinesisvideo,aws-sdk-kinesisvideoarchivedmedia,aws-sdk-kinesisvideomedia,aws-sdk-kinesisvideosignalingchannels,aws-sdk-kms,aws-sdk-lakeformation,aws-sdk-lambda,aws-sdk-lambdapreview,aws-sdk-lex,aws-sdk-lexmodelbuildingservice,aws-sdk-lexmodelsv2,aws-sdk-lexruntimev2,aws-sdk-licensemanager,aws-sdk-lightsail,aws-sdk-locationservice,aws-sdk-lookoutequipment,aws-sdk-lookoutforvision,aws-sdk-lookoutmetrics,aws-sdk-machinelearning,aws-sdk-macie,aws-sdk-macie2,aws-sdk-managedblockchain,aws-sdk-marketplacecatalog,aws-sdk-marketplacecommerceanalytics,aws-sdk-marketplaceentitlementservice,aws-sdk-marketplacemetering,aws-sdk-mediaconnect,aws-sdk-mediaconvert,aws-sdk-medialive,aws-sdk-mediapackage,aws-sdk-mediapackagevod,aws-sdk-mediastore,aws-sdk-mediastoredata,aws-sdk-mediatailor,aws-sdk-memorydb,aws-sdk-mgn,aws-sdk-migrationhub,aws-sdk-migrationhubconfig,aws-sdk-mobile,aws-sdk-mq,aws-sdk-mturk,aws-sdk-mwaa,aws-sdk-neptune,aws-sdk-networkfirewall,aws-sdk-networkmanager,aws-sdk-nimblestudio,aws-sdk-opsworks,aws-sdk-opsworkscm,aws-sdk-organizations,aws-sdk-outposts,aws-sdk-personalize,aws-sdk-personalizeevents,aws-sdk-personalizeruntime,aws-sdk-pi,aws-sdk-pinpoint,aws-sdk-pinpointemail,aws-sdk-pinpointsmsvoice,aws-sdk-polly,aws-sdk-pricing,aws-sdk-prometheusservice,aws-sdk-proton,aws-sdk-qldb,aws-sdk-qldbsession,aws-sdk-quicksight,aws-sdk-ram,aws-sdk-rds,aws-sdk-rdsdataservice,aws-sdk-redshift,aws-sdk-redshiftdataapiservice,aws-sdk-rekognition,aws-sdk-resourcegroups,aws-sdk-resourcegroupstaggingapi,aws-sdk-robomaker,aws-sdk-route53,aws-sdk-route53domains,aws-sdk-route53recoverycluster,aws-sdk-route53recoverycontrolconfig,aws-sdk-route53recoveryreadiness,aws-sdk-route53resolver,aws-sdk-s3,aws-sdk-s3control,aws-sdk-s3outposts,aws-sdk-sagemaker,aws-sdk-sagemakeredgemanager,aws-sdk-sagemakerfeaturestoreruntime,aws-sdk-sagemakerruntime,aws-sdk-savingsplans,aws-sdk-schemas,aws-sdk-secretsmanager,aws-sdk-securityhub,aws-sdk-serverlessapplicationrepository,aws-sdk-servicecatalog,aws-sdk-servicediscovery,aws-sdk-servicequotas,aws-sdk-ses,aws-sdk-sesv2,aws-sdk-shield,aws-sdk-signer,aws-sdk-simpledb,aws-sdk-sms,aws-sdk-snowball,aws-sdk-snowdevicemanagement,aws-sdk-sns,aws-sdk-sqs,aws-sdk-ssm,aws-sdk-ssmcontacts,aws-sdk-ssmincidents,aws-sdk-ssoadmin,aws-sdk-ssooidc,aws-sdk-states,aws-sdk-storagegateway,aws-sdk-support,aws-sdk-swf,aws-sdk-synthetics,aws-sdk-textract,aws-sdk-timestreamquery,aws-sdk-timestreamwrite,aws-sdk-transcribeservice,aws-sdk-transcribestreamingservice,aws-sdk-transfer,aws-sdk-translate,aws-sdk-waf,aws-sdk-wafregional,aws-sdk-wafv2,aws-sdk-wellarchitected,aws-sdk-workdocs,aws-sdk-worklink,aws-sdk-workmail,aws-sdk-workmailmessageflow,aws-sdk-workspaces,aws-sdk-xray
422 Unprocessable Entity
GET https://api.rubygems.org/prerelease_specs.4.8.gz
200 OK
GET https://api.rubygems.org/specs.4.8.gz
200 OK
^CERROR:  Interrupted
mullermp commented 3 years ago

This is a known issue. The can was kicked down the road. Related: https://github.com/rubygems/rubygems.org/pull/2470

mullermp commented 3 years ago

Workaround is to no longer use umbrella gems aws-sdk or aws-sdk-resources. I would appreciate it if you could make an issue in the rubygems.org repo citing this and related issues. I am uncertain if the rubygems.org team is willing to increase that constant.

github-actions[bot] commented 3 years ago

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.