Using fly statics with Tigris serving static assets really slow

We’re using the [[statics]] section to serve up static assets from tigris. However, requests to those static assets take anywhere from 1 seconds to 21 seconds, and it doesn’t seem to get quicker (hoping it would be cached on read).

The pertinent config looks like this:

[[statics]]
guest_path = "/"
url_prefix = "/app"
tigris_bucket = "{bucket-name}"
index_document = "index.html"

Are we missing some cache config on the Tigris or Fly side to make this faster? Or is there a better way to accomplish what we’re doing?

Normal file downloads from pre-signed urls is also super slow, right now. https://status.tigris.dev/ is all green though. Also file download from the t3 domain is broken. Cant download from the console either.

This site can’t provide a secure connection
xxxx.t3.storage.dev sent an invalid response.
ERR_SSL_PROTOCOL_ERROR

@tytho could you share which region your app is running in and what is the size of the assets?

@gangadhar are you still seeing issues using the console? Could you please try again?

Yes, still the same error from console generated presigned urls.

# This site can’t provide a secure connection

**xxxx.t3.storage.dev** sent an invalid response.

ERR_SSL_PROTOCOL_ERROR

I switched our app to use the https://fly.storage.tigris.dev/ domain to generate presigned urls and that works from residential IPs. but the storage.dev domain still seems to not work from our DNS provider.

The downloads are now faster.

The app was running in iad. It looks like the speed issues have been resolved since I last posted.

@gangadhar it is possible that the t3.storage.dev endpoint was getting blocked by your ISP. In such cases, you will see the SSL protocol error. Are you still not able to access that hostname from your local ISP?

Hi @tytho, which endpoint were you seeing the speed issues with?

It was whatever endpoint that the [[statics]] configuration in the fly.toml uses to fetch objects