You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After splicing in a debug print(self._put_response_body(['create'], None, payload)), it would tell me this: *** DEBUG <class 'bytes'> : b'No cluster leader'.
This indicated problems with my consul setup, and I was able to simply restart all my instances as this is the only application they are currently used for. I'm not sure what the proper handling should be in this case, but something to handle the case where the response body isn't a dict seems needed.
The text was updated successfully, but these errors were encountered:
On Python 3.5.2 / consulate 0.6 I was seeing an intermittent error:
After splicing in a debug
print(self._put_response_body(['create'], None, payload))
, it would tell me this:*** DEBUG <class 'bytes'> : b'No cluster leader'
.This indicated problems with my consul setup, and I was able to simply restart all my instances as this is the only application they are currently used for. I'm not sure what the proper handling should be in this case, but something to handle the case where the response body isn't a dict seems needed.
The text was updated successfully, but these errors were encountered: