issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 262k ⌀ | issue_title stringlengths 1 1.02k | issue_comments_url stringlengths 53 116 | issue_comments_count int64 0 2.49k | issue_created_at stringdate 1999-03-17 02:06:42 2025-06-23 11:41:49 | issue_updated_at stringdate 2000-02-10 06:43:57 2025-06-23 11:43:00 | issue_html_url stringlengths 34 97 | issue_github_id int64 132 3.17B | issue_number int64 1 215k |
|---|---|---|---|---|---|---|---|---|---|
[
"FreeOpcUa",
"opcua-asyncio"
] | I want to create a simulated clone by getting his xml on a running plc

| Function Request: How do I get the complete xml file code from a running plc | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1144/comments | 0 | 2022-12-07T20:38:19Z | 2022-12-09T19:57:11Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1144 | 1,482,794,200 | 1,144 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Hello,
I'm pretty sure that is not a problem of the library, but I can't find another place where ask for help or some direction.
I have some issue to connect to a Simatic S7 1500, without use the client that supplier supply "UA Client 1500". There is a User & Password, its the only things I've hidden.
![immagin... | Simatic S7 1500 - connection issues | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1143/comments | 5 | 2022-12-07T17:23:02Z | 2023-03-14T08:39:44Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1143 | 1,482,434,160 | 1,143 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Not issue, just "how to".
Please tell me how best to implement the subj. It is assumed that I will have 50 or more data changes per second. Is the data change event triggered only for one variable, or is it possible to get all the changes at the moment and perform a batch insert into the database? PostgreSQL database... | Best practice of storing data in a database from a client | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1142/comments | 2 | 2022-12-07T13:16:08Z | 2022-12-08T01:22:42Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1142 | 1,481,903,079 | 1,142 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Hello to everyone!
I have this server:
```
import asyncio
import logging
from asyncua import Server, ua
async def main():
_logger = logging.getLogger("asyncua")
server = Server()
await server.init()
server.set_security_policy([
ua.SecurityPolicyType.NoSecurity,
ua.Secur... | Cannot read_value from Node | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1140/comments | 3 | 2022-12-05T07:34:50Z | 2022-12-12T11:26:08Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1140 | 1,475,897,009 | 1,140 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Describe the bug** <br />
In my code if the connection to the OPC UA server breaks in any way (e.g. Server crashed) i will try to reconnect to it every 60 seconds. However sometimes it can happen that the tloop thread of one client will be running forever.
After some time (4-5 hours) i can see many tloop thre... | tloop sometimes won't stop after connection failed | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1139/comments | 2 | 2022-12-02T08:29:25Z | 2023-03-29T12:41:14Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1139 | 1,472,493,739 | 1,139 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Hello Devs,
I tried to run the example in the examples/sync/client-minimal.py.
If it can't connect to the server, because no OPC-UA Server is running at given host address, the program will never quit (but it should)
If i send a SIGINT signal to the program (CTRL+C) the following error is showing:
```
^CExcept... | Example program not quitting after ConnectionRefused | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1136/comments | 4 | 2022-12-01T13:48:03Z | 2023-03-29T12:41:02Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1136 | 1,471,350,330 | 1,136 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Describe the bug** <br />
The endpoint URLs provided by internal_server's get_endpoints function may contain malformatted ipv6 urls when `match_discovery_client_ip` is set to `True` (as it is by default).
According to [RFC2732](https://www.ietf.org/rfc/rfc2732.txt), ipv6 in URLs should be wrapped with square brac... | Server Endpoints can contain invalid URLs when match_discovery_client_ip is set to True | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1129/comments | 0 | 2022-11-23T16:35:22Z | 2023-03-29T12:40:49Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1129 | 1,462,067,807 | 1,129 |
[
"FreeOpcUa",
"opcua-asyncio"
] | I have server:
```
import asyncio
import logging
from asyncua import Server, ua
async def main():
_logger = logging.getLogger("asyncua")
server = Server()
await server.init()
server.set_security_policy([
ua.SecurityPolicyType.NoSecurity,
ua.SecurityPolicyType.Basic256Sha... | How to delete value from Node? | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1125/comments | 3 | 2022-11-17T13:13:15Z | 2022-12-05T07:19:28Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1125 | 1,453,325,711 | 1,125 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Describe the bug** <br />
`Client.find_servers` method is not working, at least, as my common sense expects it. I have two registered servers in a additional discovery server. When I try to get the registered servers from the discovery server using a client instance I get only one server in the response. Presumably ... | Unexpected behavior finding registered server | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1122/comments | 5 | 2022-11-10T19:20:40Z | 2023-03-29T12:40:17Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1122 | 1,444,436,894 | 1,122 |
[
"FreeOpcUa",
"opcua-asyncio"
] | I am trying to implement an isConnected function but I am not very familiar with python. These functions are inside a class.
Connect Function
```
async def connect(self, url):
print("Trying to connect")
self.client = Client(url)
await self.client.connect()
```
isConnected functio... | check_connection() always throws exception when connected | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1117/comments | 10 | 2022-11-08T09:06:22Z | 2023-03-29T12:39:51Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1117 | 1,439,775,658 | 1,117 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Hi there
Recently I found that when I upgrade opcua-asynico to the latest version, and i could not connect the server by this library using opcua-client gui, even when I tried to connect the server example. Could anyone helpe me? thanks a lot.
)
should be:
return SyncNode(sync_node.tloop, node.Node(sync_node.aio_obj.**session**, nodeid))
**Describe the bug** <br />
Traceback (most recent call last):
File "C:\Users\15068\develop\c... | asyncua\sync.py line 394 bug | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1100/comments | 4 | 2022-10-28T08:13:26Z | 2023-03-29T12:39:31Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1100 | 1,426,871,179 | 1,100 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Describe the bug** <br />
Our client creates a DataChangeFilter with Trigger set to OpcUa_DataChangeTrigger_StatusValueTimestamp, but it seems like opcua-asyncio server ignores this and still only sends datachange notifications when status or value changes.
**To Reproduce**<br />
```
/* Sample code fo... | Server ignores DataChangeFilter trigger value | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1098/comments | 1 | 2022-10-26T12:10:17Z | 2022-10-30T09:00:42Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1098 | 1,423,918,016 | 1,098 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Hi,
I wrote a code with asyncua in python. I could not synchronize it with KEPSERVER.
Also, I read thee example "client-kepware" but yet the problem remains. What should I do?
I think it is because the username and password.
I would be thankful if you help me.
thanks. | client asyncua to kepware | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1095/comments | 22 | 2022-10-23T08:02:40Z | 2023-03-14T08:43:43Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1095 | 1,419,696,014 | 1,095 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Hello everyone,
We are currently using this repository to talk to our Opc Ua Server.
Our Server has the base information model, the DI information model and the AutoID information model on top of it.
We want to receive Events with types from the AutoID information model.
We are using the `load_type_definition` fu... | Types with a Switch Field seem to get decoded the wrong way | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1093/comments | 2 | 2022-10-19T14:01:15Z | 2022-11-03T07:08:40Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1093 | 1,415,034,530 | 1,093 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Describe the bug** <br />
For example : [BaseDataVariableType](https://reference.opcfoundation.org/Core/VariableTypes/v104/BaseDataVariableType/) should not be abstract, but is found to have isAbstract = True upon inspection with UAExpert.
**To Reproduce**<br />
Run asyncio example server and observe the isAbst... | Datatypes marked isAbstract = True for datatypes that should not be abstract | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1084/comments | 1 | 2022-10-15T04:10:06Z | 2022-11-03T07:08:06Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1084 | 1,410,035,845 | 1,084 |
[
"FreeOpcUa",
"opcua-asyncio"
] | I have an OPCUA client which import OPCUA server nodes.
Of course I need to import all types before import instances.
I notice something strange exploring your python OPCUA server example (./examples/server-example.py) with [UA Expert](https://www.unified-automation.com/products/development-tools/uaexpert.html?gclid=... | Problem analyzing OPCUA Server root types. Unexpected DataTypeDefinition attribute found | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1082/comments | 2 | 2022-10-14T13:43:42Z | 2023-03-29T12:39:02Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1082 | 1,409,379,769 | 1,082 |
[
"FreeOpcUa",
"opcua-asyncio"
] | ### Discussed in https://github.com/FreeOpcUa/opcua-asyncio/discussions/1078
<div type='discussions-op-text'>
<sup>Originally posted by **dibyendumca** October 12, 2022</sup>
SCREEN SHOTS ...
#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

self.client.set_user(USERNAME)
self.client.set_password(PASSWORD)
self.client.connect()
self.client.load_data_type_definitions()
...
```
So we are trying to get t... | Unknown Datatype for Field LocationType in AutoID model | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1076/comments | 1 | 2022-10-11T11:51:01Z | 2022-10-11T11:59:16Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1076 | 1,404,504,993 | 1,076 |
[
"FreeOpcUa",
"opcua-asyncio"
] | I have used `asyncua` to create a python simulator of a system, and it exposes the same (in theory) opcua interface as the real system. The real system is being created by another organisation and they have sent me a PLC that I can power up and connect to so I can see the opcua interface.
My server uses the `asyncua... | Feature request / Question: How to make a Client use the XmlExporter to generate an xml file from an external opcua server | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1075/comments | 2 | 2022-10-10T19:15:16Z | 2023-03-29T12:38:42Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1075 | 1,403,605,126 | 1,075 |
[
"FreeOpcUa",
"opcua-asyncio"
] | I've been testing for a couple days and upgrading my version of the 'asyncua' library. A lot seems to have changed and it's still very unclear from documentation and examples how a practical subscription use, in an app will work. I would suggest any practical use case would require very robust connectivity:
1. A me... | Test: long running subscriptions | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1072/comments | 12 | 2022-10-07T16:03:29Z | 2023-03-29T12:38:21Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1072 | 1,401,395,353 | 1,072 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Describe the bug** <br />
Nodeset import fails due to the error
```
File "/home/ubuntu/.local/lib/python3.11/site-packages/asyncua/server/server.py", line 616, in import_xml
return await importer.import_xml(path, xmlstring)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.local/... | XmlImporter trying to access self.nodes | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1068/comments | 1 | 2022-10-05T16:41:01Z | 2022-10-06T05:30:49Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1068 | 1,398,079,182 | 1,068 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Most types in `ua.uatypes`, for example like `CharArray` and `Float`, are derived from a matching Python datatype.
But this isn't the case for `ua.uatypes.String`. In #609 the typedef is changed from `class String(str):` to `class String:`.
Not sure why this is done and if the original reason is still the case (@or... | [ua.uatypes.String] used baseclass | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1067/comments | 14 | 2022-10-05T08:04:40Z | 2023-03-21T13:24:03Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1067 | 1,397,401,295 | 1,067 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Describe the bug** <br />
In a fresh build with no other changes apart from an upgrade of the asyncua dependency from 0.9.97 to 0.0.98, previously working OPC comms fail with "Error in watchdog loop".
**To Reproduce**<br />
Update asyncua dependency from 0.9.97 to 0.9.98; rebuild and enjoy.
**Expected behavio... | "Error in watchdog loop" after v0.9.98 bump | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1064/comments | 14 | 2022-10-03T06:39:45Z | 2022-11-29T12:22:37Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1064 | 1,394,217,110 | 1,064 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Describe the bug** <br />
When setting up a simple `server-minimal.py` example, by importing a nodeset, that is generated by TIA portal, v15.1, SIEMENS/SIMANTIC - s7-1500, the `xmlimporter.py` goes into a infinite loop, as the parent node is not found.
No output information is given about this.
in `python... | xmlimporter loops infinitely when sorting nodes by parentid, when parentid is not found | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1061/comments | 4 | 2022-09-29T20:17:17Z | 2023-03-31T12:12:32Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1061 | 1,391,443,548 | 1,061 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Suggestion or direction how to fix the (de)serializer for the case below are more than welcome.
**Version:**
master d2b48b5a76cb874437651c3894db41a22a25f7a2 (Wed Sep 28 15:11:06 2022 +0200)
**Case:**
Given a nodeset that contains resursive constructions. Like typical tree structures.
Example:
```xml
<UA... | Serialize/deserialize of generate dataclasses with recursive structs with load_data_type_definitions fails | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1058/comments | 5 | 2022-09-29T12:12:37Z | 2022-10-02T08:37:59Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1058 | 1,390,766,043 | 1,058 |
[
"FreeOpcUa",
"opcua-asyncio"
] | When the client loses connection to the server, an exception will be caught within `_monitor_server_loop` and is re-raised (see [https://github.com/FreeOpcUa/opcua-asyncio/blob/master/asyncua/client/client.py#L447](https://github.com/FreeOpcUa/opcua-asyncio/blob/master/asyncua/client/client.py#L447)). Additionally, the... | _monitor_server_loop and _renew_channel_task spam logs | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1055/comments | 1 | 2022-09-28T12:30:15Z | 2023-06-14T10:55:10Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1055 | 1,389,274,701 | 1,055 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Describe the bug** <br />
A script-generated structure has its DataTypeDefinition/BaseDataType written as a BaseDataType (ns=0;i=24) and is written as not abstract.
Generated xml marks BaseDataType as Structure (ns=0;i=22) and as abstract.
**To Reproduce**<br />
1) Create data_type :
```
async def create_ur... | Discrepancy between exported xml and created structure | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1051/comments | 1 | 2022-09-26T14:17:42Z | 2022-09-26T15:38:40Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1051 | 1,386,165,166 | 1,051 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Describe the bug** <br />
When the server sends the certificate chain with its certificate, these lines in create_session are triggered and raise an exception:
```
elif self.security_policy.peer_certificate != response.ServerCertificate:
raise ua.UaError("Server certificate mismatch")
```
... | create_session fails if server sends certificate chain | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1045/comments | 3 | 2022-09-21T10:06:26Z | 2023-03-29T07:54:47Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1045 | 1,380,669,963 | 1,045 |
[
"FreeOpcUa",
"opcua-asyncio"
] | # Description
The latest version of the library seems to have problems when reading values from an OPC UA server. Code that worked fine with `asyncua` `0.9.95` now fails with a `TimeoutError`.
# Steps to Reproduce
1. Install [Docker](https://www.docker.com/products/docker-desktop/)
2. Store the following text... | Version 0.9.96: Bad Request Too Large Error When Reading Value | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1044/comments | 3 | 2022-09-21T10:03:23Z | 2022-09-21T16:45:41Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1044 | 1,380,665,925 | 1,044 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Hello,
We were trying to utilize the FreeOpcUa library to create a server that interfaces with a DIgSILENT PowerFactory ("PF") instance.
Reading and writing values are functional, but reading has to be forced by the PF script. The standard reading mechanism in PF only returns values if it detects changes in the OPC s... | OPC UA and PowerFactory interaction | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1038/comments | 11 | 2022-09-14T14:19:43Z | 2023-03-29T07:45:27Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1038 | 1,373,070,688 | 1,038 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Hi, I try to connect an opc server, and when the program starts then this log appears and repeats to try connect to seerver:
ServiceFault (BadTooManySessions, diagnostics: DiagnosticInfo(SymbolicId=None, NamespaceURI=None, Locale=None, LocalizedText=None, AdditionalInfo=None, InnerStatusCode=None, InnerDiagnosticInf... | ServiceFault from server received in response to CreateSessionRequest | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1037/comments | 13 | 2022-09-13T06:06:10Z | 2023-03-29T07:45:53Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1037 | 1,370,905,864 | 1,037 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Description** <br />
Calling the `register()` method on line 713 of the Node class in [opcua-asyncio](https://github.com/FreeOpcUa/opcua-asyncio)/[asyncua](https://github.com/FreeOpcUa/opcua-asyncio/tree/master/asyncua)/[common](https://github.com/FreeOpcUa/opcua-asyncio/tree/master/asyncua/common)/node.py results i... | Node class register() method bug | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1035/comments | 0 | 2022-09-10T13:28:37Z | 2022-09-11T08:30:55Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1035 | 1,368,622,471 | 1,035 |
[
"FreeOpcUa",
"opcua-asyncio"
] | ====== Scenario ======
______________________________
[ CNC ] <---> [ client_OPC ]
My acquisition script python use asyncua library and is very similar to the client-substription.py sample script.
The structure is below:
```
import sys
import os
import asyncio
import logging
import Configuration as C
f... | How to auto-reconnect from client, after restart of CNC machine | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1034/comments | 8 | 2022-09-09T14:39:16Z | 2023-03-29T07:58:11Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1034 | 1,367,929,082 | 1,034 |
[
"FreeOpcUa",
"opcua-asyncio"
] | For reference this is CVE-2022-25304 and GHSA-mfpj-3qhm-976m
GitHub already raised an alert in our sample server implementation.
_Originally posted by @GoetzGoerisch in https://github.com/FreeOpcUa/opcua-asyncio/issues/1013#issuecomment-1234160597_ | CVE-2022-25304 | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1023/comments | 6 | 2022-09-07T09:17:53Z | 2022-09-22T11:43:40Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1023 | 1,364,355,536 | 1,023 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Describe the bug** <br />
The asyncua does not support **http://opcfoundation.org/UA/** model >1.04.7.
**To Reproduce**<br />
Create a UA model from UAmodeler, with base version 1.04.7 of UA model http://opcfoundation.org/UA/
Export it to a Nodeset.xml (see attached file)
Run the server
```python
async de... | OPCUA version not supported "Server doesn't satisfy required XML-Models. Import them first!" | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1019/comments | 8 | 2022-09-06T09:10:23Z | 2023-03-28T18:23:51Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1019 | 1,362,962,690 | 1,019 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Bug** <br />
With the example of server-with-encryption, it is possible to acces Address Space without encryption and authentication.
I create an issue instead of sending mail following instructions from [How to report a security issue? #902 ](https://github.com/FreeOpcUa/opcua-asyncio/issues/902)
**To Reproduc... | Illegal access to Address Space | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1014/comments | 1 | 2022-08-29T14:54:34Z | 2022-09-07T09:17:15Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1014 | 1,354,438,531 | 1,014 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **The bug**
It is possible to create a denial of service by sending a malformed packet. The server will be trap in an infinite loop and consume lot of memory. I create an issue instead of sending mail following instruction from [How to report a security issue? #902 ](https://github.com/FreeOpcUa/opcua-asyncio/issue... | Denial of Service | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1013/comments | 5 | 2022-08-29T14:26:10Z | 2022-09-20T13:45:23Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1013 | 1,354,397,551 | 1,013 |
[
"FreeOpcUa",
"opcua-asyncio"
] | https://reference.opcfoundation.org/v105/Core/docs/Part4/7.2/
https://github.com/FreeOpcUa/opcua-asyncio/blob/280b39b09c6ff59bbb9de25f5453bf23e48ba215/asyncua/ua/uaprotocol_auto.py#L2938-L2939
Suggested improvement: If a string is assigned None, it should have typehint Optional[String]
| None assigned to String Type | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1006/comments | 0 | 2022-08-19T18:59:58Z | 2023-03-29T12:37:01Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/1006 | 1,344,802,140 | 1,006 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Trying to write the `value` of a tag in OPC-UA Server, with a `sourceTimestamp` with the following method:
```py
def write_opc_tag(url, tag_id, value):
with Client(url=url) as client:
node = client.get_node(tag_id)
dt = ua.DateTime.utcnow().replace(tzinfo=ua.timezone.utc).astimezone(pytz.time... | Failing while Writing value with sourceTimestamp to OPC-UA Server | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/999/comments | 5 | 2022-08-16T14:14:23Z | 2023-03-29T07:58:29Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/999 | 1,340,423,267 | 999 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Hi ,
I need to connect to a labview opc server, and I can't find any NameSpaces or Identifier for nodes.
Could you tell me how can I get value from this server and it's nodes ?

| Labview OPC server 2016 | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/995/comments | 1 | 2022-08-12T16:55:08Z | 2023-03-29T12:36:49Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/995 | 1,337,460,909 | 995 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Hi,
Can you please suggest your inputs for the below query?
I am trying to use the client API and reading an extension object with nested structures in it. I get Not Enough Data error as shown below. Which configuration parameter can be updated to read a larger blob for the same.
raise NotEnoughData(f"Not enough... | Reading an extension object with nested structures throws NotEnoughData Error | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/994/comments | 5 | 2022-08-10T12:01:34Z | 2022-08-16T09:40:35Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/994 | 1,334,518,778 | 994 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Is there a good reason [DefaultBounds](https://github.com/FreeOpcUa/opcua-asyncio/blob/master/asyncua/common/node.py#L523) is set to True by default?
It seems more intuitive to set it to False. (or better yet, just make it a required argument) I don't see why people would stream a time range and expect data outside ... | Should we switch returnBounds to default to False instead? | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/989/comments | 5 | 2022-08-05T00:13:27Z | 2023-03-29T08:00:15Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/989 | 1,329,297,637 | 989 |
[
"FreeOpcUa",
"opcua-asyncio"
] | The `AdditionalParametersType` class is missing a `data_type` member variable.
https://github.com/FreeOpcUa/opcua-asyncio/blob/8fffd7e47f01a06c14ef95c41b01eb48cd2a38f7/asyncua/ua/uaprotocol_auto.py#L1572-L1579
Caused by:
https://github.com/FreeOpcUa/opcua-asyncio/blob/8fffd7e47f01a06c14ef95c41b01eb48cd2a38f7/sc... | Bug in schema generation, uaprotocol_auto.py | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/983/comments | 1 | 2022-08-03T10:54:32Z | 2022-08-16T10:51:51Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/983 | 1,327,037,835 | 983 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Hello wise people,
This is my first interaction with github and asyncua, so if a make some mistakes, be patient with me.
I'm tying to make a subscription to an opcua server (in fact it works) but I found two problems along the way.
(i) Sometimes, when a change happends in the server (e.g. one sensor starts to ... | Two problems with subscription | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/980/comments | 3 | 2022-07-29T10:39:03Z | 2023-03-29T12:35:21Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/980 | 1,322,068,584 | 980 |
[
"FreeOpcUa",
"opcua-asyncio"
] |
**Describe the bug** <br />
Connect to an S7 with opcua-client, client attempts to negotiate a timeout of an hour but gets only 30s.
`asyncua.client.client - WARNING - Requested session timeout to be 3600000ms, got 30000ms instead')`
After 30s client gets BadSessionIdInvalid and crashes.
```
asyncua.client.ua_... | BadSessionIdInvalid after 30s | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/977/comments | 5 | 2022-07-28T17:01:46Z | 2023-03-29T08:01:28Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/977 | 1,321,231,480 | 977 |
[
"FreeOpcUa",
"opcua-asyncio"
] | The current implementation of 'Read History' should support reading from multiple nodes instead of just a [single node](https://github.com/FreeOpcUa/opcua-asyncio/blob/master/asyncua/common/node.py#L523-L569). The client could easily want to read nodes from 1000+ at once and if we just assume an API call took about 1 s... | Add API call for reading from multiple nodes with 'read history' | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/976/comments | 0 | 2022-07-28T00:06:05Z | 2023-03-29T08:01:50Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/976 | 1,320,239,782 | 976 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Describe the bug** <br />
`async def _renew_channel_loop(self)` and the related task created in `async def create_session(self):` does not raise Exceptions correctly. If any exceptions occur within the _renew_channel_loop task, the client stops working but does not crash.
**To Reproduce**<br />
Throw an exceptio... | Raise exception of _renew_channel_task correctly | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/974/comments | 2 | 2022-07-27T10:06:57Z | 2022-09-20T17:06:39Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/974 | 1,319,325,553 | 974 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Hello,
Im trying to import a simple XML nodeset from UaModeller but I keep getting the following error:
```
Traceback (most recent call last):
File "c:\Users\SVL\OneDrive - University of Cambridge\unified-architecture\opcua-server\xml-server.py", line 25, in <module>
asyncio.run(main())
File "C:\User... | Unable to get_child() from UaModeller xml nodeset | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/973/comments | 8 | 2022-07-22T01:13:06Z | 2023-03-29T08:02:30Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/973 | 1,314,009,388 | 973 |
[
"FreeOpcUa",
"opcua-asyncio"
] | I am trying to use asyncua.sync but the ThreadLoop runs only once, why is that? (I am using version 0.9.94)
I have made a simple test with an OPC UA server that toggles a boolean variable (outBOOL) every second, I found the examples for having a sync Client and made a simple code to be able to read the `outBOOL` var... | ThreadLoop starts and runs only once | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/972/comments | 6 | 2022-07-21T02:58:05Z | 2022-07-25T06:10:03Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/972 | 1,312,415,471 | 972 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Describe the bug** <br />
I've written a function to recursively get all tags with no children under an OPC-UA node (so all atomic tags, effectively). It stays stable up to 100+ OPC-UA tags, however when I push it to 500+ it throws (apparently) a timeout error (see below error message). What's confusing is that, if ... | Timeout using sync client for recursive tag discovery | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/968/comments | 1 | 2022-07-16T16:40:31Z | 2023-03-29T08:04:44Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/968 | 1,306,851,381 | 968 |
[
"FreeOpcUa",
"opcua-asyncio"
] | When importing a TIA Portal generated xml file the following error appears for like every node:
```
INFO:asyncua.common.xmlparser:Not implemented tag: <Element '{http://opcfoundation.org/UA/2011/03/UANodeSet.xsd}Extensions' at 0x7fb522dcac00>
```
Maybe as a result of this these nodes are not visible for browsing ... | xmlparser cannot parse TIA Portal xml due to Not implemented tag: <Element '{http://opcfoundation.org/UA/2011/03/UANodeSet.xsd}Extensions' | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/967/comments | 2 | 2022-07-16T08:51:37Z | 2023-03-31T12:11:51Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/967 | 1,306,751,407 | 967 |
[
"FreeOpcUa",
"opcua-asyncio"
] | In my fork of python-opcua for both SelectClauses and WhereClauses, I had to define TypeDefinitionId with the BaseEventType.
```
op.TypeDefinitionId = NodeId(identifier=ua.ObjectIds.BaseEventType, namespaceidx=0, nodeidtype=NodeIdType.Numeric)
```
Without this, subscribing to events was broken. The server would r... | Subscribing to events requires TypeDefinitionId in some cases | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/964/comments | 2 | 2022-07-12T15:54:58Z | 2022-07-18T08:58:54Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/964 | 1,302,256,174 | 964 |
[
"FreeOpcUa",
"opcua-asyncio"
] | My server uses the following identifier "ns=3;s=EquipSetParam(E=93;SP=204)" to identify object parameters. when I get a node, the identifier is truncated to something like this "ns=3;s=EquipSetParam(E=93", so I can't get the node and data. I looked at the source code of the package, there is a semicolon separation. Wha... | NodeID string is truncated | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/962/comments | 2 | 2022-07-12T09:36:20Z | 2023-03-29T12:34:04Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/962 | 1,301,803,072 | 962 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Hello! Following the discussion on Gitter I figured I should summarize my findings an add an example to reproduce the problem.
I've observed that when moving from asyncua 0.8.4 to the latest 0.9.9X the servers take substantially longer to start.
**To Reproduce**<br />
I included a minimal server as well as an ex... | Server import_xml performance downgrade from 0.8.4 to 0.9.94 | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/961/comments | 11 | 2022-07-12T08:25:57Z | 2022-07-16T07:49:24Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/961 | 1,301,720,816 | 961 |
[
"FreeOpcUa",
"opcua-asyncio"
] | https://github.com/FreeOpcUa/opcua-asyncio/blob/0f4f68cdaee8a5a9ba193272876a1c7ac66937eb/asyncua/crypto/security_policies.py#L555-L556
`client_pk` is in fact the private key for the host certificate and as such `host_pk` should be a better name. | SecurityPolicyBasic256: confusing argument name | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/960/comments | 4 | 2022-07-10T09:02:19Z | 2023-03-29T12:33:32Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/960 | 1,299,868,108 | 960 |
[
"FreeOpcUa",
"opcua-asyncio"
] | ### Please read, before you post!
This is a _**BUG REPORT for issues in the existing code**_.
If you have general questions, code handling problems or ideas, please use the:
Discussionsboard: https://github.com/FreeOpcUa/opcua-asyncio/discussions <br/> or <br />
Gitter-Channel: https://gitter.im/FreeOpcUa/op... | export_xml generates incorrect data time format | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/959/comments | 1 | 2022-07-09T15:51:59Z | 2023-03-29T12:33:19Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/959 | 1,299,710,988 | 959 |
[
"FreeOpcUa",
"opcua-asyncio"
] | When connecting to a Siemens s7 opcua crashes here on a string within a string:
```
asyncua/common/structures104.py", line 284, in _generate_object
exec(code, env)
File "<string>", line 10
data_type = ua.NodeId.from_string("ns=3;s=DT_"LCB_15x_ActuatorSpeed_B_1"."scInternalCtrl"")
... | asyncua/common/structures104.py", line 284, in _generate_object doesnt properly sanitize node name | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/957/comments | 12 | 2022-07-07T15:27:36Z | 2022-07-14T17:02:10Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/957 | 1,297,640,898 | 957 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Hello
I can get all nodes and there parent, but i want to store them like a tree network.
Have anyone any suggestion ?

| How to get all node's parents and store them one after another ? | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/955/comments | 0 | 2022-07-04T08:29:32Z | 2023-03-29T12:33:07Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/955 | 1,292,817,674 | 955 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Hi
I want to connect to Prosys opcua server simulation, and i need to find all nodes on server.so i use ua_utils.get_node_children(client.nodes.objects) but I get this error:
_'NoneType' object has no attribute 'send_request'_
//////////////////////////////
```ruby
import logging
import asyncio
from asyncua ... | Unable to find all nodes by ua_utils.get_node_children() | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/952/comments | 31 | 2022-06-27T13:17:23Z | 2025-03-26T09:36:24Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/952 | 1,285,795,596 | 952 |
[
"FreeOpcUa",
"opcua-asyncio"
] | @ZuZuD the HA client seems broken again: https://github.com/FreeOpcUa/opcua-asyncio/runs/7048622278?check_suite_focus=true
not sure what is happening, all merged requests I merged passed (As far as I remember) | HA client tests seems to fail on python 3.10 | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/950/comments | 1 | 2022-06-25T17:17:23Z | 2022-06-28T09:29:24Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/950 | 1,284,663,621 | 950 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Using the example server-custom-structures-and-enums.py we have 2 struct definitions like
snode1, _ = await new_struct(server, idx, "MyStruct", [
new_struct_field("MyBool", ua.VariantType.Boolean),
new_struct_field("MyUInt32List", ua.VariantType.UInt32, array=True),
])
snode3, _ = awa... | XML generated reference seems incorrect for Datatype in nested struct | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/945/comments | 2 | 2022-06-22T08:34:39Z | 2022-07-17T19:52:18Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/945 | 1,279,782,408 | 945 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Using opcua-asyncio server works perfectly without encryption and OPCUA expert as client.
First without any encryption (no security policy set), and changing publishing interval works without problem.
Then when a security policy is set like
`server.set_security_policy([ua.SecurityPolicyType.Basic256Sha256_SignAndEnc... | UAexpert: change publishing interval & encrypted sessions fails | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/942/comments | 2 | 2022-06-21T09:26:40Z | 2022-06-21T11:44:37Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/942 | 1,278,160,587 | 942 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Hello,
I have an OPC.xml dumped from a Siemens s7 I would like to load, so I can simulate it and work on it.
When I try to load it looks okay except for that one warning:
```
...
INFO:asyncua.common.xmlimporter:Importing xml node (QualifiedName(NamespaceIndex=2, Name='REMOTE'), NodeId(Identifier=3066, Namespac... | asyncua.common.xmlimporter: failure adding node NodeData | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/941/comments | 10 | 2022-06-20T19:13:39Z | 2022-07-18T19:57:49Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/941 | 1,277,299,471 | 941 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Hi, I couldn't find this in the docs or examples:
On server side I created some node that is made writable ` await mynode.set_writable(True)`. The client can now change it and I want to listen to that change on server side. How to listen to a change value of a node on server side?
| Listening to a change in a writable value server side | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/936/comments | 2 | 2022-06-16T09:37:27Z | 2023-03-29T12:31:47Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/936 | 1,273,309,627 | 936 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Describe the bug** <br />
If you set the client certificate ahead of activating the session, the method "Client.activate_session() overrides previously set client certificate.
**To Reproduce**<br />
```
client = Client(url=url)
client.application_uri = "python-opcua"
await client.load_private_key(us... | Client.activate_session() overrides previously set client certificate | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/929/comments | 0 | 2022-06-14T11:02:01Z | 2022-06-24T20:22:51Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/929 | 1,270,629,803 | 929 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Describe the bug** <br />
When calling Node.read_value() on a property the following error is thrown:
_Exception caught Not enough data in buffer, request of 4, we have 0._
The recent change in uatypes line 953 leads to the described error.
The current code leads to the described error:
```
@dataclass(froze... | Node.read_value() does not work any more due to recent change in uatypes.py | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/928/comments | 12 | 2022-06-14T08:30:22Z | 2022-06-24T20:27:16Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/928 | 1,270,446,183 | 928 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Hello,
I've been working on integrating some asyncio servers with LabVIEW's SystemLink OPC UA plug-in.
Following a couple of service requests we've noticed that there is a slight difference how DataType is represented. In the older opcua-python library this is represended as, for example 'String' or 'Double'. ... | DataType syntax | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/926/comments | 21 | 2022-06-10T14:12:20Z | 2023-03-29T08:03:35Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/926 | 1,267,612,297 | 926 |
[
"FreeOpcUa",
"opcua-asyncio"
] | I have a very simple OPC-UA server, a "blackbox" client send data to this server and everything is working fine except the timestamp.
When I add value to a variable using set_value, the source timestamp is updated. However when the client write data value, the Source Timestamp is replaced by 01:00:00:000.
The Se... | ServerTimestamp not updated when data are written from outside | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/925/comments | 2 | 2022-06-10T08:34:29Z | 2022-06-15T09:46:06Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/925 | 1,267,236,861 | 925 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Describe the bug** <br />
When executed under Windows 10 the "client-with-encryption.py" example throws the following error:
```
.../opcua-asyncio/examples/client-with-encryption.py
INFO:asyncua.client.client:connect
INFO:asyncua.client.ua_client.UaClient:opening connection
Traceback (most recent call last):
... | Client with encrpytion example not working under windows because of path delimiter | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/922/comments | 1 | 2022-06-09T16:29:46Z | 2022-06-10T12:06:36Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/922 | 1,266,388,444 | 922 |
[
"FreeOpcUa",
"opcua-asyncio"
] | <br />
Using the example server-custom-structures-and-enums.py and changing the code like
mynode = await server.nodes.objects.add_variable(idx, "my_struct", ua.Variant(ua.MyStruct(), ua.VariantType.ExtensionObject))
and then adding the mynode variable in the list of nodes to export to xml with:
await server.expo... | Export xml generates invalid xml with variables of type ExtensionObject | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/921/comments | 2 | 2022-06-09T07:43:39Z | 2023-03-29T12:31:14Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/921 | 1,265,729,908 | 921 |
[
"FreeOpcUa",
"opcua-asyncio"
] | ```python
asyncua/common/statemachine.py:188: error: "BaseEvent" has no attribute "Message"
asyncua/common/statemachine.py:189: error: "BaseEvent" has no attribute "Severity"
asyncua/common/statemachine.py:190: error: "BaseEvent" has no attribute "ToState"
asyncua/common/statemachine.py:192: error: "BaseEvent" has ... | check StateMachine.change_state | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/915/comments | 1 | 2022-06-06T20:17:16Z | 2023-03-29T12:30:56Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/915 | 1,262,362,360 | 915 |
[
"FreeOpcUa",
"opcua-asyncio"
] |
type `OpenSecureChannelResponse` has no member `RequestType`
```python
self._open_secure_channel_exchange = struct_from_binary(ua.OpenSecureChannelResponse, msg.body())
self._open_secure_channel_exchange.ResponseHeader.ServiceResult.check()
self._connection.set_channel(self._open_secure_channel_exchange.Parameter... | UASocketProtocol._process_received_data check _open_secure_channel_exchange | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/914/comments | 1 | 2022-06-06T19:36:40Z | 2022-06-10T06:14:59Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/914 | 1,262,303,114 | 914 |
[
"FreeOpcUa",
"opcua-asyncio"
] | static code analyse with mypy complains in the following places:
`"NodeId" has no attribute "read_browse_name"`
- [x] https://github.com/FreeOpcUa/opcua-asyncio/blob/master/asyncua/common/events.py#L176
- [x] https://github.com/FreeOpcUa/opcua-asyncio/blob/master/asyncua/common/events.py#L178 | select_clauses_from_evtype, "NodeId" has no attribute "read_browse_name" | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/909/comments | 1 | 2022-06-06T11:44:13Z | 2022-06-06T17:01:52Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/909 | 1,261,733,242 | 909 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Describe the bug** <br />
I tried connecting to a server using a security certificate with the correct configuration options and got a security error
`"The security policy does not meet the requirements set by the server."(BadSecurityPolicyRejected).`
The same certificate and corresponding code worked using the de... | BadSecurityPolicyRejected - same policy works with python-opcua library | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/907/comments | 2 | 2022-06-06T08:20:23Z | 2022-06-06T16:31:40Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/907 | 1,261,513,157 | 907 |
[
"FreeOpcUa",
"opcua-asyncio"
] | I see that in https://github.com/FreeOpcUa/opcua-asyncio/pull/415 we added support for variables with properties but it looks like we're still missing `NodeClass.Object` in that filter. These can then contain their own properties, variables, or nested objects.
| Add event support for nested objects (NodeClass.Object) | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/905/comments | 6 | 2022-06-03T19:40:24Z | 2022-06-08T18:46:24Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/905 | 1,260,296,544 | 905 |
[
"FreeOpcUa",
"opcua-asyncio"
] | I was looking at the logic for how event attributes get added when you subscribe to them and don't quite understand why the child event includes the attributes of it's parents.
Isn't the other way around (Parent including the attributes of all its children) more intuitive?
This seems like a bug to me | Why does subscribing to child events process through its parent for attributes? | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/904/comments | 7 | 2022-05-26T00:27:14Z | 2022-06-07T00:45:20Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/904 | 1,248,942,452 | 904 |
[
"FreeOpcUa",
"opcua-asyncio"
] | We would like to responsibly report on a vulnerability we found in python opcua-asyncio. Where should we send our detailed report?
Additionally I would like to suggest adding a security policy to the repository to help other security researchers reach out to you properly.
Thanks!
Team82 Claroty Research
https:/... | How to report a security issue? | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/902/comments | 4 | 2022-05-23T13:18:09Z | 2022-09-20T13:47:08Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/902 | 1,245,158,560 | 902 |
[
"FreeOpcUa",
"opcua-asyncio"
] | When I initially connect to a Siemens S7 using the gui it dies due to this:
```
uawidgets.utils - ERROR - Unknown datatype for field: StructureField(Name='awInt', Description=LocalizedText(Locale=None, Text=None), DataType=NodeId(Identifier=3002, NamespaceIndex=3, NodeIdType=<NodeIdType.FourByte: 1>), ValueRank=1, ... | Unknown datatype for field Unknown data - Not handling type word correctly | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/899/comments | 7 | 2022-05-20T18:53:37Z | 2022-08-28T16:28:39Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/899 | 1,243,506,611 | 899 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Describe the bug** <br />
I need to create a nested struct (ie., an struct array from a custom dataType). However, if I do so, the server returns that the custom dataType "has no len".
**To Reproduce**<br />
```
snode1, _ = await new_struct(server, idx, "MyStruct", [
new_struct_field("MyBool", ua.V... | It's impossible to defined nested array structs | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/893/comments | 0 | 2022-05-19T00:45:28Z | 2022-05-20T07:47:04Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/893 | 1,240,846,606 | 893 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Expected behavior**<br />
1. Correct the filename from "amd" to "and" -- ie., from `server-custom-structures-amd-enums.py` to `server-custom-structures-and-enums.py`
2. On line 41, add `datatype` to the enum variable: `valnode = await server.nodes.objects.add_variable(idx, "my_enum", ua.MyEnum.toto, datatype=enode.... | Improving custom structures example | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/892/comments | 1 | 2022-05-18T20:26:19Z | 2023-03-29T12:30:40Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/892 | 1,240,479,144 | 892 |
[
"FreeOpcUa",
"opcua-asyncio"
] | static code analyse with mypy complains in the following places
- [x] `Reconciliator` has no attribute `hook_mi_request`
https://github.com/FreeOpcUa/opcua-asyncio/blob/4f48eb2df8d998e8f576779fbae8c5c913fddab5/asyncua/client/ha/reconciliator.py#L323
https://github.com/FreeOpcUa/opcua-asyncio/blob/4f48eb2df8d9... | Reconciliator, has undefined attributes/functions | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/885/comments | 2 | 2022-05-16T19:47:08Z | 2022-06-06T17:32:50Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/885 | 1,237,633,729 | 885 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Describe the bug** <br />
Server sync method create_subscription is missing, the code fails with:
```
AttributeError: 'Server' object has no attribute 'create_subscription'
```
**To Reproduce**<br />
Uncomment subscription in _opcua-asyncio/examples/sync/server-example.py_
```
# enable following... | Server sync method create_subscription is missing. | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/884/comments | 4 | 2022-05-16T09:24:49Z | 2022-06-08T09:35:14Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/884 | 1,236,871,192 | 884 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Nested structure:
await client.load_type_definitions()
after = await struct.read_value()
---------------------------------------
File "C:\Program Files\Python38\lib\site-packages\asyncua\ua\ua_binary.py", line 73, in unpack
b = _Bytes.unpack(data)
File "C:\Program Files\Python38\lib\site-packages\asyncu... | Not enough data left in buffer。 | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/883/comments | 6 | 2022-05-16T02:13:46Z | 2022-05-19T02:39:03Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/883 | 1,236,527,164 | 883 |
[
"FreeOpcUa",
"opcua-asyncio"
] | I wrote the following code
async def main(config):
try:
url = config["url"]
async with Client(url=url) as client:
await client.connect()
handler = SubHandler()
subscription = await client.create_subscription(500, handler) # 10
... | Exception raised when running for long time | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/881/comments | 1 | 2022-05-15T11:13:32Z | 2023-03-29T12:30:21Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/881 | 1,236,257,548 | 881 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Not issue just question. How to get server timestamp for value in datachange notification?
def datachange_notification(self, node, val, data):
print("New data change event", node, val)
Thanks! | Getting server timestamp | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/880/comments | 2 | 2022-05-11T15:28:00Z | 2022-05-11T16:05:40Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/880 | 1,232,836,618 | 880 |
[
"FreeOpcUa",
"opcua-asyncio"
] | In xmlimporter.py line 165 following the condition
if ref.reftype in [
self.server.nodes.HasComponent.nodeid,
self.server.nodes.HasProperty.nodeid
]:
seems to be incomplete. Ich have an example generated from Siemens SIOME where I would need
... | Adding missing parents conditions seem to be incomplete in xmlimporter.py | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/879/comments | 0 | 2022-05-09T10:49:50Z | 2023-03-29T12:29:12Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/879 | 1,229,523,823 | 879 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Describe the bug** <br />
I've created a custom struct with `asyncua.common.structures104.new_struct()` and tried to convert it to "Union". Then the `.read_value()` from the nodeset is empty. If disable keep it as a regular struct (ie., `is_union=False`) it works good.
**Screenshots**<br />
`is_union=False`:
![... | `new_struct(..., is_union=True)` is not working as expected | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/875/comments | 2 | 2022-05-03T23:26:44Z | 2022-05-16T15:51:17Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/875 | 1,224,764,452 | 875 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Problem ** <br />
I am trying to connect to a new generation OPC UA server.
Connexion works fine with uaExpert with these parameters :

However, using asyncua I obtain :
`asyncua.ua.uaerrors._... | Unable to connect to new server using Aes128_Sha256_RsaOaep | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/874/comments | 14 | 2022-05-03T13:36:49Z | 2023-03-29T12:28:38Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/874 | 1,224,118,954 | 874 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Problem:
On systems such as raspberry pi with 32-bit OS, the Python built-in hash() function is a 32-bit integer.
Considering that the keys for storing nodedata in the address space are based on this hash (ref 1, 2), and given that I have recently encountered a situation with 15.000 nodes, a collision probability of ... | On address space keys and hash collisions... | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/872/comments | 0 | 2022-04-28T16:00:53Z | 2023-03-29T12:27:07Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/872 | 1,218,946,172 | 872 |
[
"FreeOpcUa",
"opcua-asyncio"
] | I exported some nodes using `asyncua.common.xmlexporter.XmlExporter` then loaded them to a `Server` using the `import_xml()` method. The exported XML has some nodes with `MinimumSamplingInterval="10.0"`. The floating point string trips up the importer and results in the following exception / traceback:
```
File ... | ValueError when importing MinimiumSamplingInterval with decimal point (generated by XmlExporter) | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/869/comments | 1 | 2022-04-27T01:32:18Z | 2022-04-27T16:55:26Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/869 | 1,216,665,118 | 869 |
[
"FreeOpcUa",
"opcua-asyncio"
] | In the docstring at https://github.com/FreeOpcUa/opcua-asyncio/blob/f2f7722d945dbbc04ab20a87f6aff17496f7edf1/asyncua/server/server.py#L58 and on the project documentation at https://pypi.org/project/asyncua/ it is mentioned that one can pass a cache file to the server to improve startup time.
But nowhere it is menti... | How to pass the cache file to the server | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/867/comments | 2 | 2022-04-26T14:13:14Z | 2024-02-21T16:42:33Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/867 | 1,216,023,736 | 867 |
[
"FreeOpcUa",
"opcua-asyncio"
] |
**Describe the bug** <br />
I get the error shown in the traceback below from time to time.
**To Reproduce**<br />
Currently I don't know how to reproduce this error consistently. It just happens now and then.
**Traceback**<br />
````
ERROR:asyncua.client.ua_client.UASocketProtocol:Exception raised while pa... | UASocketProtocol Exception: Exception raised while parsing message from server | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/858/comments | 7 | 2022-04-11T15:53:39Z | 2022-04-22T15:49:48Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/858 | 1,200,179,845 | 858 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Hi everyone thanks a lot for your good job and this nice python library, i know this should be a discussion but i sadly am not able to start one the start button stays light green in my case.
We decide to use the library to automate some system test we currently run manually, a test case we have that works with anot... | Client should be able to read Tag with a Bad Quality | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/856/comments | 4 | 2022-04-07T11:14:18Z | 2022-04-27T11:52:29Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/856 | 1,195,894,462 | 856 |
[
"FreeOpcUa",
"opcua-asyncio"
] | **Describe the bug** <br />
`asyncua.common.structures104.new_enum` triggers a **message** error. Functionality appears to be fine.
**To Reproduce**<br />
Any (successful) call of `new_enum` (eg., *opcua-asyncio/examples/server-custom-structures-amd-enums.py*)
**Expected behavior**<br />
We should not see an e... | `new_enum` triggers an Error message | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/851/comments | 2 | 2022-03-29T23:40:15Z | 2022-04-27T06:13:48Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/851 | 1,185,605,218 | 851 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Hi! How could I close the session of an active user manually from the server? For example, if the password of the client has expired I want the server to eject him. What sequence should I follow to stop the communication with only that client?
Thank you | Close Session Manually | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/849/comments | 4 | 2022-03-29T09:40:18Z | 2024-11-25T11:46:24Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/849 | 1,184,588,982 | 849 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Good afternoon,I'm come form china
I wrote the code below:
``from opcua import Client
import time
from threading import Thread
import queue
work = queue.Queue(1000)
client = Client("opc.tcp://127.0.0.1:49320")
def task1(): # 定义任务1
try:
while 1:
client.connect()
T = client.get_node('ns=2;s=test.mac.TA1').get... | Thread Error:OSError: [WinError 10038] 在一个非套接字上尝试了一个操作 | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/847/comments | 4 | 2022-03-28T11:24:58Z | 2022-03-28T13:29:29Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/847 | 1,183,292,556 | 847 |
[
"FreeOpcUa",
"opcua-asyncio"
] | When importing an XML in a server, the newly created namespace is added to the namespace_array of the server but not to the server.nodes.namespaces shortcuts child nodes.
This leads to a bug when importing models, which require one another, since the check for required models on the server is depending on the server.... | Importing NodeSet does not register the namespace to the server.nodes.namespaces shortcut | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/846/comments | 7 | 2022-03-25T09:21:08Z | 2023-03-29T12:26:06Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/846 | 1,180,538,861 | 846 |
[
"FreeOpcUa",
"opcua-asyncio"
] | Hi, is there a way to list all the clients that are connected to the server? I mean, their names for example. | List connected clients | https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/844/comments | 0 | 2022-03-24T10:55:35Z | 2022-03-24T10:56:43Z | https://github.com/FreeOpcUa/opcua-asyncio/issues/844 | 1,179,341,823 | 844 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.