Quantcast
Channel: Sonic.net
Viewing all articles
Browse latest Browse all 834

General • Trouble Connecting to API via gRPC

$
0
0
Hi Y'all!

I'm experiencing a massive latency increase when pinging an API via gRPC when connected to my home wifi.

Specifically, I am contacting Google's Discovery Engine API via cURL (http) & it's Python SDK (gRPC). My latency is around 700ms when contacting the API in the following scenarios:
- on my work's wifi (not Sonic) via both http & gRPC
- on my phone's hotspot via both http & gRPC
- and, on my sonic wifi via http

However, my latency is consistently ~75.7s (& always >75s) when contacting the API via gRPC on my Sonic wifi.

To recreate this, explicitly, one could hit the Discovery Engine API:
- cURL: https://cloud.google.com/generative-ai- ... earch-rest
- Python SDK: https://cloud.google.com/generative-ai- ... rch-python

I first experienced this problem on the SMART/RG 802.11ac VDSL2 GATEWAY MODEL: SR516ac router that Sonic sent me a few years ago & I've used since. It persisted when I swapped out to the SR515ac that Sonic sent me last year. I spoke with Rainey @ tech support who recommended I try connecting directly to the Sonic equipment & posting here for support.

I will be purchasing an adapter this weekend to test a direct connection & will post an update; but, in the meantime, has anyone experienced something similar? Any support or ideas would be appreciated, thank you!

Peace Peace Peace
Max

Statistics: Posted by maxtwiese — Fri Nov 22, 2024 12:03 pm



Viewing all articles
Browse latest Browse all 834

Trending Articles