Carthage: `carthage bootstrap` führt zu „GitHub API-Anfrage fehlgeschlagen: Maximale Anzahl von Anmeldeversuchen überschritten“

Erstellt am 1. Apr. 2016  ·  3Kommentare  ·  Quelle: Carthage/Carthage

  • carthage version : 0.15.2
  • xcodebuild -version : 7D175
  • Verwenden Sie --no-build ? n / A
  • Verwenden Sie --no-use-binaries ? n / A
  • Verwenden Sie --use-submodules ? n / A
  • Relevante Bibliothek: pusher-websocket-swift (PusherSwift)

Cartfile

github "ashleymills/Reachability.swift"
github "krzyzanowskim/CryptoSwift"
github "daltoniam/Starscream"

Karthago Ausgabe

*** Cloning CryptoSwift
*** Cloning Reachability.swift
*** Cloning Starscream
*** Skipped downloading CryptoSwift.framework binary due to the error:
    "GitHub API request failed: Maximum number of login attempts exceeded. Please try again later."
*** Checking out CryptoSwift at "0.3.1"
*** Skipped downloading Starscream.framework binary due to the error:
    "GitHub API request failed: Maximum number of login attempts exceeded. Please try again later."
*** Checking out Starscream at "1.1.3"
*** Skipped downloading Reachability.swift.framework binary due to the error:
    "GitHub API request failed: Maximum number of login attempts exceeded. Please try again later."
*** Checking out Reachability.swift at "v2.3.3"
*** xcodebuild output can be found in /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/carthage-xcodebuild.ACofmP.log
*** Building scheme "CryptoSwift watchOS" in CryptoSwift.xcodeproj
** BUILD FAILED **
The following build commands failed:
    CompileSwift normal armv7k /Users/travis/build/pusher/pusher-websocket-swift/Carthage/Checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CipherBlockMode.swift
    CompileSwiftSources normal armv7k com.apple.xcode.tools.swift.compiler
(2 failures)
A shell task failed with exit code 65:
** BUILD FAILED **
The following build commands failed:
    CompileSwift normal armv7k /Users/travis/build/pusher/pusher-websocket-swift/Carthage/Checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CipherBlockMode.swift
    CompileSwiftSources normal armv7k com.apple.xcode.tools.swift.compiler
(2 failures)
The command "carthage bootstrap" failed and exited with 1 during .

Ich bin mir nicht wirklich sicher, warum dies begonnen hat, aber das Ausführen von carthage bootstrap verursacht jetzt Fehler mit der Angabe "GitHub API request failed: Maximum number of login attempts exceeded. Please try again later." . Dies scheint nur auf TravisCI zu passieren, siehe einen der fehlgeschlagenen Builds hier: https://travis-ci.org/pusher/pusher-websocket-swift/jobs/120027278

question

Hilfreichster Kommentar

Das Hinzufügen einer GITHUB_ACCESS_TOKEN env-Variable scheint die Arbeit erledigt zu haben. Siehe hier: https://travis-ci.org/pusher/pusher-websocket-swift/jobs/120574100

Vielen Dank!

Alle 3 Kommentare

Ich bin mir nicht sicher. Carthage erreicht keinen Login-Endpunkt. Es verwendet nur die Anmeldeinformationen von git, falls verfügbar, und versucht, Releases herunterzuladen. :verwirrt:

Ich denke, das liegt an der Geschwindigkeitsbegrenzung, auch wenn die Fehlermeldung etwas anderes vermuten lässt. Wenn Sie eine GITHUB_ACCESS_TOKEN Umgebungsvariable festlegen (ich würde eine sichere verwenden), funktioniert es?

Das Hinzufügen einer GITHUB_ACCESS_TOKEN env-Variable scheint die Arbeit erledigt zu haben. Siehe hier: https://travis-ci.org/pusher/pusher-websocket-swift/jobs/120574100

Vielen Dank!

War diese Seite hilfreich?
0 / 5 - 0 Bewertungen