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

Internal Server Error when pushing a new version #220

Closed
devxoul opened this issue Feb 7, 2017 · 2 comments
Closed

Internal Server Error when pushing a new version #220

devxoul opened this issue Feb 7, 2017 · 2 comments

Comments

@devxoul
Copy link

devxoul commented Feb 7, 2017

I was trying to release a new version(2.0.2) of Toaster but got an internal server error. Toaster CocoaPods page is currently displaying as an Internal Server Error. This is how I've done:

$ pod --version
1.2.0
$ pod trunk push --verbose
[!] Found podspec `Toaster.podspec`

Updating spec repo `master`
Validating podspec
    Toaster (2.0.2) - Analyzing on iOS 8.0 platform.
  Preparing

Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods-App`: (``)

Fetching external sources
-> Fetching podspec for `Toaster` from `/path/to/workspace/Toaster/Toaster.podspec`

Resolving dependencies of

Comparing resolved specification to the sandbox manifest
  A Toaster

Downloading dependencies

(Building.....)

** BUILD SUCCEEDED **

 -> Toaster (2.0.2)

opening connection to trunk.cocoapods.org:443...
opened
starting SSL for trunk.cocoapods.org:443...
SSL established
<- "POST /api/v1/pods?allow_warnings=false HTTP/1.1\r\nContent-Type: application/json; charset=utf-8\r\nAccept: application/json; charset=utf-8\r\nUser-Agent: CocoaPods/1.2.0\r\nAuthorization: Token XXXMASKEDXXX\r\nAccept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3\r\nHost: trunk.cocoapods.org\r\nContent-Length: 482\r\n\r\n"
<- "{\"name\":\"Toaster\",\"version\":\"2.0.2\",\"summary\":\"Toast for Swift\",\"homepage\":\"http://github.com/devxoul/Toaster\",\"license\":{\"type\":\"WTPFL\",\"file\":\"LICENSE\"},\"authors\":{\"devxoul\":\"devxoul@gmail.com\"},\"source\":{\"git\":\"https://github.com/devxoul/Toaster.git\",\"tag\":\"2.0.2\"},\"platforms\":{\"ios\":\"8.0\"},\"source_files\":\"Sources/*.{swift,h}\",\"frameworks\":[\"UIKit\",\"Foundation\",\"QuartzCore\"],\"requires_arc\":true,\"pod_target_xcconfig\":{\"SWIFT_VERSION\":\"3.0\"},\"pushed_with_swift_version\":\"3.0\"}\n"
-> "HTTP/1.1 500 Internal Server Error\r\n"
-> "Date: Tue, 07 Feb 2017 14:53:06 GMT\r\n"
-> "Connection: keep-alive\r\n"
-> "Strict-Transport-Security: max-age=31536000\r\n"
-> "Content-Type: application/json\r\n"
-> "Content-Length: 141\r\n"
-> "X-Content-Type-Options: nosniff\r\n"
-> "Server: thin 1.6.2 codename Doc Brown\r\n"
-> "Via: 1.1 vegur\r\n"
-> "\r\n"
reading 141 bytes...
-> "{\"error\":\"An internal server error occurred. Please check for any known status issues at https://twitter.com/CocoaPods and try again later.\"}"
read 141 bytes
Conn keep-alive
[!] An internal server error occurred. Please check for any known status issues at https://twitter.com/CocoaPods and try again later.

And this is a human readable JSON of podspec:

{
  "name": "Toaster",
  "version": "2.0.2",
  "summary": "Toast for Swift",
  "homepage": "http://github.com/devxoul/Toaster",
  "license": {
    "type": "WTPFL",
    "file": "LICENSE"
  },
  "authors": {
    "devxoul": "devxoul@gmail.com"
  },
  "source": {
    "git": "https://github.com/devxoul/Toaster.git",
    "tag": "2.0.2"
  },
  "platforms": {
    "ios": "8.0"
  },
  "source_files": "Sources/*.{swift,h}",
  "frameworks": [
    "UIKit",
    "Foundation",
    "QuartzCore"
  ],
  "requires_arc": true,
  "pod_target_xcconfig": {
    "SWIFT_VERSION": "3.0"
  },
  "pushed_with_swift_version": "3.0"
}
@segiddins
Copy link
Member

Thanks for the heads up -- please try again now!

@devxoul
Copy link
Author

devxoul commented Feb 7, 2017

@segiddins Cool! It works. Thanks 🎉

--------------------------------------------------------------------------------
 🎉  Congrats

 🚀  Toaster (2.0.2) successfully published
 📅  February 7th, 23:45
 🌎  https://cocoapods.org/pods/Toaster
 👍  Tell your friends!
--------------------------------------------------------------------------------

@devxoul devxoul closed this as completed Feb 7, 2017
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

2 participants