-
Notifications
You must be signed in to change notification settings - Fork 662
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
Not receiving event after subscribe #1496
Comments
does it work with UAExpert? screenshot? |
can you turn on the logger and look if there is any hint or issue according to the event? |
you can also try to: handle = sub.subscribe_events() # empty it uses server object so all events of the server |
sorry but what do you me turn on logger ?? |
i only got this events:
that are pretty strange to me as they seems from the client and not from the server ... but no event from the server |
i don't know a lot is a software from a cnc machine but i have very little to none information, a getting it it's quite difficult as they don't give a lot of info ... |
thanks, same result here now i tried to contact them telling that i can see the event from the uademoserver but not from their and let's see if something happen, thanks a lot i will update i've also updated the opcua lib to 0.98.13 but same result |
one little update is that i've tried using another library (while i'm waiting some useful info) node-opcua and that works ok, i receive the events normally is there anything i can do to understand why is not working with this lib? any like debug option to get more info ? or any info from the node-opcua lib event that can be helpful? |
that would take some time to find the issue! the main problem is to reproduce the behavior... you could try opcua-asyncio (pip install asyncua) it the current active supported version and python-opcua is deprecated... it has also a sync wrapper with very little api changes! |
I tried with the other lib the Asyncio and same behavior as this one ... So if there is anything I could try to get debug info it would be awesome ... |
@Darkmagister can you try this: |
i tried using this: subscribe_alarms_and_conditions but still same result no event show up, i haven't set the type because i'm not sure what is the nodeid of the message type |
Describe the bug
i've used the client-event example to subscribe to node to get the events, the only difference is that i didn't pass the event type when i use the subscribe_event
To Reproduce
Expected behavior
wiev print New event recived: ... but getting nothing
Version
Python-Version:3.8.6
python-opcua Version (e.g. master branch, 0.9): 0.98.9
The text was updated successfully, but these errors were encountered: