Skip to content
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

CDN: trunk URL couldn't be downloaded #12304

Open
khoogheem opened this issue Mar 4, 2024 · 4 comments
Open

CDN: trunk URL couldn't be downloaded #12304

khoogheem opened this issue Mar 4, 2024 · 4 comments

Comments

@khoogheem
Copy link

Running 1.15.2 via home-brew..

starting to see more and more CDN: trunk URL couldn't be downloaded issues..
each time I see this I can open directly in browser without issue.

Remove trunk pointed to CDN.. and redo a pod outdated does seem to clear it up

  CDN: trunk Relative path: all_pods_versions_d_c_1.txt modified during this run! Returning local
  CDN: trunk URL couldn't be downloaded:
  https://cdn.cocoapods.org/Specs/d/c/1/FirebaseABTesting/10.22.0/FirebaseABTesting.podspec.json Response:
  Failure when receiving data from the peer, retries: 4
  CDN: trunk URL couldn't be downloaded:
  https://cdn.cocoapods.org/Specs/d/c/1/FirebaseABTesting/10.22.0/FirebaseABTesting.podspec.json Response:
  Failure when receiving data from the peer, retries: 3
  CDN: trunk URL couldn't be downloaded:
  https://cdn.cocoapods.org/Specs/d/c/1/FirebaseABTesting/10.22.0/FirebaseABTesting.podspec.json Response:
  Failure when receiving data from the peer, retries: 2
  CDN: trunk URL couldn't be downloaded:
  https://cdn.cocoapods.org/Specs/d/c/1/FirebaseABTesting/10.22.0/FirebaseABTesting.podspec.json Response:
  Failure when receiving data from the peer, retries: 1
[!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/Specs/d/c/1/FirebaseABTesting/10.22.0/FirebaseABTesting.podspec.json Response: Failure when receiving data from the peer

/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:407:in `block in download_and_save_with_retries_async'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/concurrent-ruby-1.2.3/lib/concurrent-ruby/concurrent/promises.rb:408:in `apply'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/concurrent-ruby-1.2.3/lib/concurrent-ruby/concurrent/promises.rb:1216:in `apply'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/concurrent-ruby-1.2.3/lib/concurrent-ruby/concurrent/promises.rb:1740:in `block (2 levels) in on_resolvable'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/concurrent-ruby-1.2.3/lib/concurrent-ruby/concurrent/promises.rb:1593:in `evaluate_to'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/concurrent-ruby-1.2.3/lib/concurrent-ruby/concurrent/promises.rb:1740:in `block in on_resolvable'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/concurrent-ruby-1.2.3/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/concurrent-ruby-1.2.3/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'
<internal:kernel>:187:in `loop'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/concurrent-ruby-1.2.3/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/concurrent-ruby-1.2.3/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/concurrent-ruby-1.2.3/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/concurrent-ruby-1.2.3/lib/concurrent-ruby/concurrent/promises.rb:1268:in `raise'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/concurrent-ruby-1.2.3/lib/concurrent-ruby/concurrent/promises.rb:1268:in `wait_until_resolved!'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/concurrent-ruby-1.2.3/lib/concurrent-ruby/concurrent/promises.rb:988:in `wait!'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:144:in `block in versions'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:479:in `concurrent_requests_catching_errors'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:121:in `versions'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-core-1.15.2/lib/cocoapods-core/specification/set.rb:99:in `block in versions_by_source'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-core-1.15.2/lib/cocoapods-core/specification/set.rb:98:in `each'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-core-1.15.2/lib/cocoapods-core/specification/set.rb:98:in `each_with_object'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-core-1.15.2/lib/cocoapods-core/specification/set.rb:98:in `versions_by_source'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-core-1.15.2/lib/cocoapods-core/specification/set.rb:56:in `specification_name'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-core-1.15.2/lib/cocoapods-core/cdn_source.rb:216:in `search'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/aggregate.rb:83:in `block in search'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/aggregate.rb:83:in `select'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-core-1.15.2/lib/cocoapods-core/source/aggregate.rb:83:in `search'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-1.15.2/lib/cocoapods/command/outdated.rb:119:in `block in spec_sets'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-1.15.2/lib/cocoapods/command/outdated.rb:118:in `map'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-1.15.2/lib/cocoapods/command/outdated.rb:118:in `spec_sets'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-1.15.2/lib/cocoapods/command/outdated.rb:79:in `updates'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-1.15.2/lib/cocoapods/command/outdated.rb:28:in `run'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:52:in `run'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-1.15.2/bin/pod:55:in `<top (required)>'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/bin/pod:25:in `load'
/opt/homebrew/Cellar/cocoapods/1.15.2/libexec/bin/pod:25:in `<main>'
@2sem
Copy link

2sem commented Mar 13, 2024

it is solved by removing ~/.cocoapods/repos/trunk/Specs...
and updating Pods

@stianjensen
Copy link

Seeing the same issue more and more now. On 1.13.0

Is removing the trunk Specs folder just a temporary workaround?

What is the permanent fix for this issue?

@2sem
Copy link

2sem commented Apr 5, 2024

pod repo remove cocoapods
is same to remove ~/.cocoapods/repos/trunk/Specs...

@henrikemota
Copy link

henrikemota commented Apr 12, 2024

I have exactly the same problem, each time with each frequency. Even removing the trunk
CocoaPods : 1.15.2
Ruby : ruby 3.1.4 (2023-12-25 revision 5124f9ac75) [arm64-darwin23]
Xcode : 14+/ 15+
Repositories : trunk - CDN - https://cdn.cocoapods.org/

   With --verbose I notice that at a certain point the pod install does not progress, becoming blocked as below.
     CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/1.2.6/PromisesObjC.podspec.json exists! Returning local because checking is only performed in repo update
 CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/1.2.7/PromisesObjC.podspec.json exists! Returning local because checking is only performed in repo update
 CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/1.2.8/PromisesObjC.podspec.json exists! Returning local because checking is only performed in repo update
 CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/1.2.9/PromisesObjC.podspec.json exists! Returning local because checking is only performed in repo update
 CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/1.2.10/PromisesObjC.podspec.json exists! Returning local because checking is only performed in repo update
 CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/1.2.11/PromisesObjC.podspec.json exists! Returning local because checking is only performed in repo update
 CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/1.2.12/PromisesObjC.podspec.json exists! Returning local because checking is only performed in repo update
 CDN: trunk Relative path: all_pods_versions_1_c_2.txt modified during this run! Returning local
 CDN: trunk Relative path: all_pods_versions_5_8_d.txt modified during this run! Returning local
 CDN: trunk Relative path: Specs/a/5/a/OpenTelemetrySdk/0.1.alpha.1/OpenTelemetrySdk.podspec.json exists! Returning local because checking is only performed in repo update
 CDN: trunk Relative path: all_pods_versions_a_9_f.txt modified during this run! Returning local
 CDN: trunk Relative path: Specs/a/9/f/OpenTelemetryApi/0.1.alpha.1/OpenTelemetryApi.podspec.json exists! Returning local because checking is only performed in repo update
 CDN: trunk Relative path: Specs/a/9/f/OpenTelemetryApi/0.0.1/OpenTelemetryApi.podspec.json exists! Returning local because checking is only performed in repo update
 CDN: trunk Relative path: Specs/a/9/f/OpenTelemetryApi/0.0.2/OpenTelemetryApi.podspec.json exists! Returning local because checking is only performed in repo update
 CDN: trunk Relative path: Specs/a/9/f/OpenTelemetryApi/0.0.3/OpenTelemetryApi.podspec.json exists! Returning local because checking is only performed in repo update
 CDN: trunk Relative path: Specs/a/9/f/OpenTelemetryApi/0.0.6/OpenTelemetryApi.podspec.json exists! Returning local because checking is only performed in repo update
 CDN: trunk Relative path: Specs/a/9/f/OpenTelemetryApi/0.0.7/OpenTelemetryApi.podspec.json exists! Returning local because checking is only performed in repo update
 CDN: trunk Relative path: Specs/a/9/f/OpenTelemetryApi/0.1.alpha.1/OpenTelemetryApi.podspec.json exists! Returning local because checking is only performed in repo update
 CDN: trunk Relative path: Specs/5/1/d/Adjust/4.29.6/Adjust.podspec.json exists! Returning local because checking is only performed in repo update
 CDN: trunk Relative path: Specs/5/1/d/Adjust/4.29.7/Adjust.podspec.json exists! Returning local because checking is only performed in repo update
 CDN: trunk Relative path: Specs/0/3/5/Firebase/7.8.0/Firebase.podspec.json exists! Returning local because checking is only performed in repo update
 CDN: trunk Relative path: Specs/0/3/5/Firebase/7.8.1/Firebase.podspec.json exists! Returning local because checking is only performed in repo update
 CDN: trunk Relative path: all_pods_versions_6_e_5.txt modified during this run! Returning local
 CDN: trunk Relative path: Specs/6/e/5/FirebaseDynamicLinks/10.24.0/FirebaseDynamicLinks.podspec.json exists! Returning local because checking is only performed in repo update
 CDN: trunk Relative path: Specs/6/e/5/FirebaseDynamicLinks/7.8.0/FirebaseDynamicLinks.podspec.json exists! Returning local because checking is only performed in repo update
 CDN: trunk Relative path: Specs/2/e/c/RxSwift/4.4.1/RxSwift.podspec.json exists! Returning local because checking is only performed in repo update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants