Tigris' Bucket Naming Rules and Virtual Hosted URLs

Tigris’ Bucket Naming Rules allow dots in bucket names, which seems to corrupt the Uri.
Is this expected? or am I using it wrong?

it’d give me this:

[cause]: Error: Client network socket disconnected before secure TLS connection was established
     at TLSSocket.onConnectEnd (node:_tls_wrap:1732:19)
     at TLSSocket.emit (node:events:536:35)
     at endReadableNT (node:internal/streams/readable:1698:12)
     at processTicksAndRejections (node:internal/process/task_queues:90:21) {
   code: 'ECONNRESET',
   path: undefined,
   host: 'staging.nichtsam.com.fly.storage.tigris.dev',
   port: 443,
   localAddress: null
}

I replaced dots with dashes and it’s working.

Yes, your interpretation is correct. Dots in bucket name will disable virtual hosted style access.
Here is some relevant documentation:

We will update the documentation around naming rules to make this restriction more clear.

Thanks! Didn’t see this document.

If the bucket name has dots then you can use a custom domain for it.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.