Can we have more than 1 generated domain + magic ports? I need to expose HTTPS and GRPC ports

peguerosdc
HOBBYOP

a year ago

Hi! I am deploying a Weaviate's instance using the the official template and it sets up an HTTPS server and a GRPC server.

I am able to connect to the HTTPS server via a Generated Domain, but I'm not sure how to connect to the GRPC server. From what I found ( here and here ) it should be possible with runtime v2, but I am able to generate 1 domain only to expose 1 port.

When I try to add a Custom Domain I am asked to select another port which I guess it's how I can enable GRPC access, but my questions are:

  • Can I open the 2 ports that I need using Generated Domains? Either in my Hobby plan or a Pro plan?

  • If not, is my understanding correct and should I be able to open the GRPC port with a Custom Domain?

4 Replies

a year ago

Yes you can open more than one port through generated domains as long as the service is on the v2 runtime as this feature is V2 runtime specific.

Either way, I don't think you can do GRPC because that requires http2 and the proxy only communicates to your app over http1


peguerosdc
HOBBYOP

a year ago

Got it, thanks!

Then, I'd have 2 more questions:

  1. Would that apply as well if I try to communicate from another Railway service using Private Networking?

  2. Is it in the roadmap to eventually support HTTP2?


a year ago

1. Nope, you can communicate to services over the private network with https / http / grpc / tcp / udp / whatever.

  1. Good question, I'll ask and get back to you on that.


peguerosdc
HOBBYOP

a year ago

Understood. Thanks for the very quick replies and please let me know about the roadmap!

It would be amazing for my use-case as that'd be the only thing missing to have all my infra in Railway (which is cheap and very convenient) and I think it'd be consistent to having an official Weaviate template.


Loading...