-
Notifications
You must be signed in to change notification settings - Fork 511
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
Connection Properties Out of Sync #2508
Comments
Looks like an easy one. @jleach — urgency on this one? What are you hitting. ASIDE — a rant: the Regardless of the rant — we still need to convey the full data in the webhook, so the issue needs to be addressed. |
@swcurran Low. The work around is to make an API call to the agent which is fine for now. |
See work on #2434 . That work doesn't explain why My best first guess is a logic gap in Note that above, the webhook is |
@jleach - since there are many ways to establish a connection, can you document how the above connection was made? |
I can't seem to be able to replicate this with the faber/alice demo or with the mobile wallet. The webhook responses have the fields for all the states. I do notice the fields missing in the wallet logs though. Perhaps it's an issue with the I'm going to wait on additional context before spending more time on this.
|
I might not be testing this correctly though. I'd like to check it by doing the websocket messages one at a time instead of using the alice/faber demo and bifold. |
Back to you, @jleach to provide more details. We suspect this might be happening somewhere other than in ACA-Py. Can you provide some more detail or steps to reproduce? |
Reopen if this is still an issue. |
When a connection is established with an ACA-py agent and forwarded to the Controller via the
POST /topic/connections/ HTTP/1.1
call, some properties are missing compared to the API call made to ACA-py to retrieve the same connection. This lack of synchronization between the two records requires the controller to make an additional call to the ACA-py agent to determine the connection state. This is important because, the Controller should not send messages as part of theconnections/1.0
to the connection until it has entered therfc23_state: completed
state.It's worth noting that ACA-py will send a POST to the controller every time the
rfc23_state
connection state changes. Usually, this means 3 POST requests. The controller must then check 3 times what was the state change to see if its safe to send a message.Missing Fields
Received Connection (POST)
Fetched Connection (GET)
The text was updated successfully, but these errors were encountered: