Which bits of Foundation do you use?
-
-
-
It’s mostly URLSession, URL and URLRequest. We think the foundation bug is in URLSession/Request. There are times we can see in our logs that a request starts but never finishes, even if timeouts are set and low. That eventually causes Heroku to kill our process.
- 2 more replies
New conversation -
-
-
Bummer! If you don't mind my asking, does the site auto-restart or have any redundancy built in?
-
Not really :/ So it seems the foundation bug is that certain URLSession requests never finish (regardless of timeouts), causing Heroku to kill the process. And it seems that when Heroku kills the process in that way, there's no way to restart. Or at least as far as I can tell

- 1 more reply
New conversation -
-
-
I’m sure you’ve seen swift-backtrace by
@alfa but just in case:https://github.com/ianpartridge/swift-backtrace … - 3 more replies
New conversation -
-
-
This library has given me great stack traces on Linux: https://github.com/norio-nomura/SwiftBacktrace … Just make sure to compile with debug symbols, but that shouldn't cause any issues in production.
-
Another option: https://github.com/ianpartridge/swift-backtrace … — used to give worse results than the other, but is said to have improved recently.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
