Connection errrors with Web API

Hi,

We’re using the Web API in some of our Event Daemon’s Plugins via services and we’ve been getting a lot of connection errors in these past few weeks.
We don’t have such issues with the regular Python API. Does anyone else have such problems?

Cheers,
Alex

2 Likes

What sort of errors are you seeing, Alex? We get regular 502 Bad Gateway errors with our Event Daemon. It seems to happen around upgrade times, but support has been unable to correlate our observations definitively.

Hi Brandon,

Here is the kind of error we get:
raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: ('500 Server Error: Internal Server Error for url: https://superprodstudio.shotgunstudio.com/api/v1/entity/_batch', {})

It happens all day long for us…

Update:
We have some Unable to connect to Shotgun (attempt 2 of 2): <ProtocolError for superprodstudio.shotgunstudio.com: 502 Bad Gateway> in the code using the python API.

We’ve had a disruptive increase in 40X and 50X errors via API since the ShotGrid update started. Hoping the new team gets it locked down quickly. We saw a similar thing the last two months of 2020 but the new year’s update fixed it.

1 Like