How to support both grpc and http for a railway service?

I'm trying to set up weaviate on railway. Since their migration to the v4 client, I cannot instantiate a python client. This seems to be because it requires both a grpc and an http host and port.
import weaviate
client = weaviate.connect_to_custom( http_host=, http_port=, http_secure=True, grpc_host=, grpc_port=, grpc_secure=True, )
import weaviate
client = weaviate.connect_to_custom( http_host=, http_port=, http_secure=True, grpc_host=, grpc_port=, grpc_secure=True, )
This times out. I've tried using a TCP proxy as per the advice here. https://www.answeroverflow.com/m/1178132082157961367 But it only exposes one host and port, so I can't figure out how to provide both http and grpc ports. Weaviate enforces that they be different.
grpc connection issues - Railway
Hi, I struggle to connect with grpc server on railway. The Help is out of solutions but there is a page saing it is supported https://railway.app/changelog/2023-03-10-cli-v3 is anybody knows something? project id d3345802-41e9-4f63-82c9-63d7f0fcf52a
3 Replies
Percy
Percy6mo ago
Please provide your project ID or reply with N/A. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.
Brody
Brody6mo ago
Hey, please don't create duplicate posts
Percy
Percy6mo ago
No project ID was provided. Closing thread.
Want results from more Discord servers?
Add your server