-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ErrorFrameHeader.__init__() got an unexpected keyword argument 't' #430
Comments
Interesting. That's a super rare case when firehose returns error frames. Maybe started happened because of some server changes or new load challenges. Probably just a simple deserialization bug around |
Not as rare an error as you might hope. Happening multiple times since the first issue raise. This is from a few minutes ago.
|
Today evening they have maintenance xDD |
I will look at this closer since we need to fix it first before touching, for example, jet streams |
I am happy to help but I know nothing about this stack. IOW, if you need me to instrument my stack, I'm happy to do so. We capture the firehose as the beginning of a research project at the University with which I volunteer. No one is depending upon 24x7 operation. |
I checked the code. It looks legit... Super strange that this happens. Maybe another server side bug... So from the docs:
And we are getting atproto/packages/atproto_firehose/models.py Lines 52 to 59 in d030829
but somehow, header with upd. it will be awesome if you could log the value of "raw_header"! |
been experiencing this a lot when I print raw_header right before the exception, it's simply:
|
so backend started to send empty string with op=-1... but empty string is not true optional field? |
@MarshalX Because this is happening very frequently now, could you add a temporary workaround to the SDK that drops and reestablishes a connection to the firehose until this is fixed server side? |
@seanthegeek tbh i do not want to put it inside SDK. I want a proper fix from bsky team. In Bluesky feed generator repo we already have additional try catch upon firehose client. Make it reconnect on any exception instead of just logging it. And it will work as expected. Since according to the specs we must reconnect to firehose from scratch in case of an error frame it will fit perfectly |
Hmm, if there's already a catch inside the Bluesky feed generator repo, any idea why my feed stops receiving new posts?Sometimes an exception isn't logged, and it still stops receiving new posts, but continues |
@seanthegeek because as I said you need to add reconnect in this try-catch manually. here: https://github.com/MarshalX/bluesky-feed-generator/blob/c2b37ffa9878ad12b3c7b1beaa1ae5fc2a4e96e5/server/data_stream.py#L49-L56 |
Is this the right way to do that? seanthegeek/bluesky-infosec-feed@26b118d If so, maybe include it in the template, or mention it in the README? |
@seanthegeek the right way will be to just remove |
This has been happening every few days, 10/25-11/12. Now happening every several hours.
The code that calls the
atproto
library is straightforward:Happy to dig deeper.
Anon,
Andrew
The text was updated successfully, but these errors were encountered: