Opening an issue to discuss the Condenser/Hivemind problem ... and to find a solution

in Steem Dev2 months ago

I know that many of the users I communicate with on Steem feel the same way as I do:
The many erroneous data that the Steemit Condenser has been displaying for some time are quite annoying and ruin the joy of the conversation on Steem. I apologise for my somewhat sparse comments in the recent past. :-)

Even displaying the community posts on my site, for example for this community with https://moecki.online/hive-151113, doesn't help. That's because the post display is redirected to the Steemit Condenser and I can only see incorrect data there.
Hosting the Condenser myself would only be a short-term solution. I would have to change a few things in the code for the long term.

So over the last few days I have been looking for what could be causing the error. Unfortunately, I don't have all the information about the Hivemind node, which is requested via api.steemit.com. Therefore, a further exchange is necessary to narrow down the problem.

For this purpose (and for a little transparency) I have now opened an issue on Github: https://github.com/steemit/hivemind/issues/329

Unfortunately, the first thing I realised from my research was that the latest Pull Request probably does not solve the problems with the incorrect data, as the Condenser does not use the queries changed there for the post display.

It could therefore also be a sync or recount problem. To narrow this down, I hope that the involved developers will participate. The first people who come to mind are @ety001 and @justyy... in addition to the many others who can also contribute.

Steem Search on https://moecki.online/

My Full Node on https://api.moecki.online

My Python Pricefeed for Witnesses

Thanks for your Witness Vote

05.03.2024
Sort:  

I am not a developer, but I appreciate you taking this up... and hopefully something can be done.

In the distant past, there always seemed to be somewhat of a "disconnect" between the witnesses/developers and "Steemit" and it's my sincere hope that this gap can be closed a bit and everyone working towards creating a better and more stable Steemit experience... something that can work well until (hopefully!) @the-gorilla's modernization efforts can be implemented.

With the crypto markets possibly sitting on the beginning of a new bull market run, it would very much benefit Steemit's future to be in good working order for the inevitable influx of new users, if the token price really takes of!

 2 months ago (edited)

Thank you, I also hope that we can do something to fix the errors.

"disconnect" between the witnesses/developers and "Steemit"

I think we need to show more activity. I really can't tell you whether there is any communication between the top witnesses. I'm not one of them myself and only have sporadic contact. For me, it's too quiet overall for a communication platform. Of course, you can argue that we are witnesses of the blockchain and not of Steemit. But what use is the best Steem BC if there are few or poor opportunities for bloggers to use it? We don't even need to start talking about the need to work on the chain itself.

something that can work well until (hopefully!) @the-gorilla's modernization efforts can be implemented.

For Gorilla's work to really come into its own, the database has to be right and the right data has to be delivered. Without this, his modernisation will unfortunately also come to nothing... Unfortunately, a beautiful appearance is not worth much if there is a problem on the inside...

 2 months ago (edited)

This problem definitely makes Engagement Challenging.

#engagementchallenge

 2 months ago 

... and we don't even get an invitation ;-D

 2 months ago 

Nobody gets invited... but everybody plays.

The game

It's good to hear at least someone tries to figure out what's going on.

I spoke some who said they do NOT experience any problems. Can be it is true, or I spend too many hours on this platform.

It seems to me the issues are getting worse (last 2 months) everything posted disappears.

I installed 'SteemPro mobile' and noticed they show a part of what I can't see if I use steemit.com

The app gives notifications of votes
The app shows upvotes and if the post is already forwarded by me and not everything '0'

I started using asecond browser for reading, commenting and it looks as if that one shows more too - notifications. I can be mistaken.

🍀❤️

 2 months ago 

Yes, SteemPro displays more because the data comes from Steemchiller's SDS. He runs his own database and makes their data available for app development.
I haven't actually tried it, but it probably would have been quicker if we had built in his database requests as a fallback level...

Perhaps it helps if users know this. It can be of help if it comes to commenting and upvoting till the problems are solved.

Du Held, Du! Auf der einen Seite wundert es mich, daß noch keiner der beiden was geäußert hat. Auf der anderen Seite wundert mich viel mehr, daß es immer noch neue erstaunte Anfragen gibt von Leuten, denen die Probleme jetzt erst auffallen. Dieses Steem-Universum ist und bleibt rätselhaft ;-))

 2 months ago (edited)

Danke, mich wundert es ebenfalls. Leider fällt es aber auch mir schwer, jetzt zu sagen, wann es eigentlich angefangen hat. Vielleicht hast du dazu ja einen Tipp. Es wäre zur Einordnung der Fehlerquellen schon hilfreich. Ich würde bald meinen, dass wir schon vor Dezember 2023 Schwierigkeiten hatten. Irgendwo wird es sicher Kommentare oder Posts dazu geben, die man durch unsere bekannten Such-Tools bestimmt auch finden kann, aber vielleicht ist dir da auf Anhieb was im Gedächtnis.

Mir fielen auch ein paar Gründe ein, warum es manchen (vielen?) nicht auffällt, wenn keine oder wenige Kommentare angezeigt werden, aber wer will schon wieder so negativ denken ;-)

Eigenartig, dass mir dein Post erst nach drei Tagen auffällt und das auch nur, weil @pennsif ihn in seinen News dankenswerterweise erwähnt hat. Ich schau täglich in meinen Feed, dass ich deinen Post übersehen habe ist unwahrscheinlich aber nicht unmöglich :-)

Jedenfalls super, dass du bei der Geschichte dran bleibst! Leider kam bisher keine Reaktion von @ety001, @justyy oder sonst jemand, der sich auskennt.

Hab gerade einen kleinen Nebeneffekt entdeckt:
image.png
Nach dem Vote auf weisser-rabe sein Kommentar machte es "wups" und - dein Kommentar wird wie von Geisterhand sichtbar. Spooky Steemit ;-)

Auf steemit wurden mir übrigens ausschließlich Kommentare der ersten Ebene angezeigt, alles andere lost in space...

 2 months ago 

Tja, es ist verrückt. Das Verhalten ist so unstetig. Es lässt sich nicht nachvollziehen.
Wo du es schreibst: Habe das mal anhand anderer Beiträge überprüft, es werden nur Kommentare der ersten Ebene angezeigt... bis die Kommentare oder der Post ausgezahlt werden. Dann wird nämlich der aktuelle Content von der Blockchain geholt.

Das passiert übrigens auch unmittelbar nach einem Vote. Deshalb siehst du dann auch sowohl den aktuellen Vote-Betrag als auch die Replies. Wenn du dann neu lädst... schwups... sind sie wieder weg...

Wie ich schon remlaps schrieb, vermute ich ganz stark, dass die Kommunikation mit dem steemd-Knoten nicht mehr reibungslos funktioniert. Soweit ich herausgefunden habe, verarbeitet der von steemit keine batch-requests mehr, also mehrere requests in einer Abfrage:
Wie dies zum Beispiel:
[{"jsonrpc":"2.0","id":1,"method":"condenser_api.get_content","params":["remlaps","re-moecki-202437t19729701z"]}, {"jsonrpc":"2.0","id":2,"method":"condenser_api.get_content","params":["michelangelo3","sa1m6v"]}]
Das wird in Hivemind an verschiedenen Stellen gemacht. Sicherlich um die Abfragezahl zu reduzieren. Wenn man so eine Abfrage aber an api.steemit.com schickt, gibt's einen Fehler. Nun weiß ich natürlich nicht, ob dies schon immer so war. Ich meine, das würde man in den logs sehen, aber es spricht ja keiner mit uns...

ety001 hat zumindest das Issue auf sich assigned und meinen Kommentar im Discord gesehen, aber mehr auch nicht...

Als nächstes würde ich mich auf die Vote-Verarbeitung stürzen. Deren Anzeige ist total unzuverlässig. Vielleicht bringt mich das einer Ursache ein wenig näher. Nach meinem Hivemind-Datenbestand habe ich nämlich 134 Notifs und bei Steemit "nur" 67...

Jein. Im November und Dezember gab es einige kleine Auffälligkeiten. Pegelten sich aber jeweils recht schnell wieder ein. Damals war auch mehr das Problem, daß man steemit.com tageweise gar nicht öffnen und später keine langen Posts mehr veröffentlichen konnte. Wir behalfen uns mit Alternativen...

Was wir momentan erleben, begann in der Form um den 16.1. herum. Da habe ich den ersten Austausch dazu auf dem Discord.

 2 months ago 

Ich danke auch dir für die Einordnung. Dein Zeitrahmen deckt sich mit dem von remlaps.

Schau mal, am 21.1.24 hat Soulfuldreamer diesen „Hackerbeitrag“ geschrieben.
Los ging das ganze aber definitiv zwei Wochen vorher. Mit kleineren Auffälligkeiten (Verzögerungen, fehlende grüne Markierung eigener Votes) befinden wir uns tatsächlich bereits Ende Dezember… 😔

And it had been happening way before that... :(

Posted using SteemPro Mobile

 2 months ago 

Stimmt, an den Beitrag kann ich mich auch erinnern. Ich kann mich aber auch erinnern, dass ich während des Lesens damals schon dachte, dass es schon ein wenig länger die Probleme gab.

Ich kann mich aber auch erinnern, dass ich während des Lesens damals schon dachte

😁... Ja, ich dachte auch, was müssten wir uns nun von "jungen Steemians"... Haha, klare Sache: Das Ding war bereits mindestens drei bis vier Wochen am laufen. Wenn nicht noch länger - definitiv Ende Dezember. Unsere Vermutung...

I know so many of these words from almost 4 years of daily DuoLingo German lessons, but I still get almost nowhere trying to read the sentences. 😕 Some day...

Update after translating: This is the first time I remember seeing something similar. Jan. 21.

 2 months ago 

Schön, dass du es versuchst :-) Nice that you're trying :-)

Thank you for being able to determine the beginning so precisely. I really would have thought that it would have taken longer... unfortunately that doesn't match one of my other theses.

I just went back and read the conversation again. At the time, I mentioned that I was previously aware of votes and posts showing up late, so I guess January 21 would be "at the latest", but it almost certainly started some days or weeks earlier. TBH, It seems to me like we've been having problems ever since the end of August, when the apparent dos attack happened. For example, this SteemDB link ground to a crawl after that outage, and it is still only caught up to September 10. (I used to use it in one of my PowerBI graphs.) From my vantage point, there's no way to tell whether these problems are all interrelated or not.

 2 months ago 

Correct, I strongly assume that the measures introduced at the API node to prevent the attack now also cause Hivemind not to receive the data reliably. However, I cannot check this without the help of ety001. I hope he will reply, or we can get in touch in some other way. But perhaps he has already checked this himself. We don't know anything for sure, as nothing is being communicated...

It's very difficult to know where to start. The behaviour is pretty inconsistent. I have been able to observe and reproduce some things, but not others...

Correct, I strongly assume that the measures introduced at the API node to prevent the attack now also cause Hivemind not to receive the data reliably.

Interesting. So, the rate-limiting is too slow for hivemind to keep up(?). I have never learned to understand the hivemind architecture, but that theory is definitely consistent with the link, above. It still appears to be updating, but it's glacially slow. For example, when I glanced at it on the day I posted the comment above, it showed 8 rewards from September 10. Now, it shows 11.

 2 months ago 

the rate-limiting is too slow for hivemind to keep up(?)

Maybe. In addition, the way requests are handled has obviously been changed. I explained here that the batch requests may have been disabled... and also the request limits... maybe all together. But I'm almost convinced that Hivemind itself is fine, except for the caching delays...

The votes are very strange (differences). This is my next step of investigation.

Super, dass du da so dran bist. Bei mir kann ich jetzt nicht einmal die eigene "Post-Seite" öffnen. "Blog" geht noch, aber dadurch konnte ich zum Beispiel meinen letzten Beitrag nicht mehr selber resteemen, um ihn von "Post" zu "Blog" zu schieben.

image.png

 2 months ago 

Ja, es sind schon seltsame Erscheinungen.
Es ginge viel einfacher, wenn ich wüsste, welche Einstellungen die Server so haben. So muss ich versuchen, das irgendwie nachzustellen...

Vor allem da die Probleme bei jedem User wohl anders sind. Zum Beispiel werden bei einigen Profilen die richtigen Votes angezeigt und ich kann auch in die "Post"-Spalte gehen. Bei mir zum Beispiel sehe ich das beides nicht. Leider scheint es von den Entwicklern wenig Response dazu zu geben, so dass wir wohl noch länger damit zu kämpfen haben werden.

 2 months ago 

Ja, mir ist das leider auch zu ruhig, aber wer weiß...

Fixed? I'm seeing better looking numbers in the upvu web site now. Old posts are still missing data, but it seems like current transactions are being reflected (at least for now...).

Ja, die Frage hätte ich auch gern beantwortet.
Erzähl mal, Moecki - kann man dem Ende (?) des Spuks vertrauen? So zuverlässig scheint es mir im Vergleich steemit.com/steemitdev.com noch nicht zu sein. Aber letzteres Frontend ist so langsam geworden. Hm. Immer wieder was Neues… 🤷‍♀️

 2 months ago 

Tja, so richtig wird man das wohl nicht wissen, es sei denn, es gibt doch noch mal einen Kommentar dazu.
Ich würde jetzt erst einmal davon ausgehen, dass der Fehler gefunden wurde. Es wäre natürlich schon sehr schön, zu erfahren, was es denn nun war, aber... naja, das alte Problem halt...

naja, das alte Problem halt...

seufz

Okay, klappt immer noch nicht--- :-(
Gerade nochmal deinen gesamten Post aufgeklappt, dachte ich "Hä, ich hatte doch die meisten Kommentare gevotet..." Die Votes wurden mir soeben nicht angezeigt, auch keine Folgekommentare... :-(
Auf steemitdev.com kann ich beides sehen...

 last month (edited)

Ich weiß nicht mehr, wem ich es geschrieben habe, aber die fehlgeschlagene Verarbeitung der Operationen in Hivemind wird nicht nachgeholt. Erst bei einem Payout werden die Daten in Hivemind mit den Daten auf der Chain abgeglichen.

Heißt: Sobald ein (in der Fehlerzeit erstellter oder gevoteter) Post und Kommentar ausgezahlt wurde, sieht man wieder alles wie gewohnt.
Den Unterschied sieht man gut im Thread meines oder deines Posts. Da kannste genau sehen, welche Kommentare schon ausgezahlt oder nach Herstellung der Funktionsfähigkeit erstellt wurden.

Heißt weiter: Im Moment kein Grund zur Sorge... :-)

Im Moment kein Grund zur Sorge... :-)

Ist mir grad auch alles so richtig egal: Ich bin heute Schafsmami geworden... 🥰

 last month 

Da sind die Prioritäten natürlich klar. Habe den Bericht darüber auch schon gelesen. :-D

 2 months ago 

I don't know for sure. But it seems to be the case. There is no official information. There was no reply to my comment a few hours earlier. Just like to the others...

The failed processing of old operations is not repeated (unless the synchronisation of the entire block fails). The Hivemind data is only updated with the chain data at payout. Then everything should be fine again... until the next... no, we think positively ;-)

This post has been featured in the latest edition of Steem News...

Thank you for supporting @wox-helpfund

Your post is manually rewarded by the
World of Xpilar Community Curation Trail

STEEM AUTO OPERATED AND MAINTAINED BY XPILAR TEAM
https://steemit.com/~witnesses vote xpilar.witness

"Become successful with @wox-helpfund!"
If you want to know more click on the link
https://steemit.com/@wox-helpfund ❤️

Loading...

This post has received a 100.0 % upvote from @boomerang.

 2 months ago 

Da sage ich doch glatt: Danke...! :-)
...an die unbekannte Person :-)

Why such anonymoity though... Lol

When I wrote that post, I really hoped that my silly solution to the problem would somehow reveal a way to figure it out. I'm no developer but I'm a science student. And we have been taught various approaches to solve a problem. I did highlight that when you upvote the post, the missing votes appear magically. However, I was told by a very experienced user that I should not do that and instead use an alternative interface. My reaction was like, "Really"?

I did feel silly about my post. 🫣


The problem seems to be solved, you yes thank you to the unknown. 🫠

Nevertheless a big fat thank you to you for opening this issue. For making the much needed noise.

 last month 

Hm, I don't quite understand your answer to my comment.

Why such anonymoity though

I don't know that either. My comment about the "unknown person" simply meant that I don't know the person who controls this Booming account.

When I wrote that post

Why that post? Which post are you referring to? I'm guessing you mean this post. But how does it relate to my comment?

The problem seems to be solved, you yes thank you to the unknown. 🫠

Yes, the problem was solved, but not by an (the?) unknown person. You can see here a short comment about it.
In hindsight, it sounds pretty simple. The lack of communication from the Steemit team is still incomprehensible...

Nevertheless a big fat thank you to you for opening this issue. For making the much needed noise.

I understand that :-) ... and thank you very much :-))

My comment about the "unknown person" simply meant that I don't know the person who controls this Booming account.

My bad. Ok I get it now 🫣

And thanks to etty01

Coin Marketplace

STEEM 0.29
TRX 0.12
JST 0.034
BTC 62759.93
ETH 3112.27
USDT 1.00
SBD 3.87