Content pfp
Content
@
0 reply
0 recast
0 reaction

vrypan |--o--| pfp
vrypan |--o--|
@vrypan.eth
@sanjay, when calling grace GetInfo() what is a reasonable timeout? I know it depends on my connection too, let's say connection is as fast as possible, and I'll add some latency to it.
1 reply
0 recast
0 reaction

Sanjay pfp
Sanjay
@sanjay
1-5s should be plenty. It could take longer if the hub is under a lot of load. But the actual call should be pretty fast.
1 reply
0 recast
1 reaction

vrypan |--o--| pfp
vrypan |--o--|
@vrypan.eth
Thanks! One more question. So I see my hub contacts, and I notice 75.101.154.213 is in it. I try to call HubInfo(), but I get timeout. But if I knew this is hoyt and I use the same call using the domain and ssl enabled, it works. Obv, ssl does not work with the IP, I need a fqdn. Is there a way to connect without SSL?
1 reply
0 recast
0 reaction

vrypan |--o--| pfp
vrypan |--o--|
@vrypan.eth
Not to hoyt specifically, I'm just using it as an example. I want to get the fids associated with the hubs in the contacts list.
1 reply
0 recast
0 reaction

Sanjay pfp
Sanjay
@sanjay
YUou can try connecting via the insecure client first, and then if it fails, try with the SSL client. We do a variation of that here: https://github.com/farcasterxyz/hub-monorepo/blob/1ca66d8cf21c5c98e084175a2bba4b803a85da07/apps/hubble/src/hubble.ts#L1707
1 reply
0 recast
0 reaction