Password not Found Error in Event Streaming. Seems Like a Bug

I am trying to setup event streaming on Frappe 14. I followed the same procedure, as mentioned in docs. When I create Event Producer Doc, it function properly and create a Consumer Doc on “Producer Site”. But When I try to Approve “doc setting up for sync” in Producer site. It gives error Password not Found.

Clearly frappe couldnt authenticate user on cosumer site via api keys. I have checked

  1. User permissions
  2. User keys and secret on both sites
    Everything seems OK. Is there anything I am missing here.???

Here is exact error

validate_auth_via_api_keys
13:35:18 web.1            |     validate_api_key_secret(api_key, api_secret, authorization_source)
13:35:18 web.1            |   File "apps/frappe/frappe/api.py", line 249, in validate_api_key_secret
13:35:18 web.1            |     doc_secret = frappe.utils.password.get_decrypted_password(doctype, doc, fieldname="api_secret")
13:35:18 web.1            |   File "apps/frappe/frappe/utils/password.py", line 65, in get_decrypted_password
13:35:18 web.1            |     frappe.throw(_("Password not found"), frappe.AuthenticationError)
13:35:18 web.1            |   File "apps/frappe/frappe/__init__.py", line 523, in throw
13:35:18 web.1            |     msgprint(
13:35:18 web.1            |   File "apps/frappe/frappe/__init__.py", line 491, in msgprint
13:35:18 web.1            |     _raise_exception()
13:35:18 web.1            |   File "apps/frappe/frappe/__init__.py", line 443, in _raise_exception
13:35:18 web.1            |     raise raise_exception(msg)
13:35:18 web.1            | frappe.exceptions.AuthenticationError: Password not found

@Ehsen_Siraj Did you find the solution

i am also getting this error
frappe.throw(_(“Password not found”), frappe.AuthenticationError)

i have used this in my login api code
doc_secret = frappe.utils.password.get_decrypted_password(doctype, doc, fieldname=“api_secret”)

@Rajat96318 The trouble is usually the URL you are using. make sure you properly debug what urls are being used to access both producer and consumer (in event consumer and producer python code files) Usually you will find the trouble there. I am using a highly customized version of event streaming,

The default event streaming in its current state, should be used with extreme care, the reason is, there are arent any controls applied at sync stage. If you try to sync accounting docs, it will become an audit nightmare down the road. So at the end you will need to heavily customize it, specially if you are using it in enterprise context.

i resolved the issue, simply the session was expiring, i increased the session time from 6 hours to 8970:00 hours, it worked, in my case i was facing issue in login api