Hi! I’m messing around with fly.io with a small hacker news client built in Ruby on Rails. It’s a completely standard rails 7 app, and I’m using exactly the dockerfile + fly.toml that flyctl generated.
Though deploying took about 80min, which was entirely dominated by installing gems very slowly. Then once deployed, it seems like the network requests I have to call out to the hacker news api (example: https://hacker-news.firebaseio.com/v0/topstories.json) take about 1minute on average.
I’ve tried it on a few different regions with the same results. Is there something I should be configuring here?
So that seems to give a pretty clear picture of what’s going on! Trying from my own machine, the connection drops instantly. So the service doesn’t even support responding to ipv6 connections I assume. That wasn’t even something I was considering. I’m just calling endpoints using a Net::HTTP wrapper.
For the ruby gems issue, yes, that’s only on the first deploy, but it seemed odd. A fresh bundle install on my machine takes under 30 seconds.
No problem! It’s quite possible you tried toronto, but it didn’t actually move the VM there. The UX for this is a little confusing. If you do see a similar issue in another region, let us know. You can verify where your app is running with fly status.
We discovered the cause of ipv6 not working properly in the yul (Montreal) region was due to some initial server provisioning errors that weren’t fully resolved. We’ve gone through all the hosts there to fix up the problems and it should all be working as expected now.