osisoftpi-grafana icon indicating copy to clipboard operation
osisoftpi-grafana copied to clipboard

Feature/bug: Show message "Session Manager Transaction List Full"

Open alexl04 opened this issue 1 year ago • 4 comments

When the below message is received Grafana shows no (error) Message. The figure is just blank. Would it be possible to return a message to the user instead?

"[-10735] PINET: Session Manager Transaction List Full."

alexl04 avatar Jul 24 '24 07:07 alexl04

what is the status code for this message?

pvmagacho-nde avatar Jul 27 '24 00:07 pvmagacho-nde

10735

Transaction List - The PI Network Manager manages communication between PI clients and the PI Data Archive through RPCs (Remote Procedure Calls) and maintains a transaction list with a maximum capacity of 1000 pending RPCs. If this list becomes full, new RPC requests from clients will fail with a -10735 error.

alexl04 avatar Aug 05 '24 07:08 alexl04

@alexl04 can you check if version 5.1.0 resolves this issue? thank you

coderReview avatar Nov 11 '24 16:11 coderReview

Good question, I have no idea how to trigger this error code myself though. I guess I have to look into setting up a fake API via postman or something like that? No real knowledge about it but GPT might help sufficient nowadays. I will have a look in the coming days.

Our backend has been upgraded recently so this error has not been seen in a while. We still make use of version 5 though because for version 5.1 we had to update all queries and we have 7 Grafana services with more than 100 dashboards with many queries towards PI in total so upgrading to v5.1 has been postponed until we have figured out some way to fix the queries programmable. For example with python and the grafana API and something like get dashboard, replace text from dashboard JSON with .. and post dashboard again.

alexl04 avatar Nov 12 '24 09:11 alexl04

closing this for now @alexl04. If you see this again, please reopen the issue.

coderReview avatar May 16 '25 10:05 coderReview