Open carlosgs91 opened 7 years ago
You were denied access. You need to find out what your server want. Maybe it wants encryption...
On Fri, Jun 23, 2017, 10:49 carlosgs91 notifications@github.com wrote:
Hi,
I am trying to connect to a demo server from KEPServerEX. I can do so with OpenOPC by using
opc = OpenOPC.open_client('localhost') opc.connect('Kepware.KEPServerEX.V6')
To do the same in FreeOPCUa I have tried using:
client = Client("opc.tpc://127.0.0.1:49320") client.connect()
And also:
client = Client("opc.tpc://127.0.0.1:49320/Kepware.KEPServerEX.V6") client.connect()
But I get the following error:
[image: image] https://user-images.githubusercontent.com/28705943/27474126-a4b4d250-5801-11e7-8e8c-dfc2172f0986.png
I am not sure if it's related but I don't have cryptography installed.
Any idea what's the issue?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/FreeOpcUa/python-opcua/issues/460, or mute the thread https://github.com/notifications/unsubscribe-auth/ACcfzutB8sflm7mX6-NU201jXjbd7prFks5sG3w2gaJpZM4ODTO5 .
I'm also receiving BadSecurityChecksFailed while trying to connect to Kepware. I do have cryptography installed. Kepware is on the same PC that is running FreeOpcUa. Kepware does not require any user credentials on this PC. Any thoughts/tips for fixing the issue? Thanks!
Ok I figured it out. Kepware requires an encryption certificate by default, and I wasn't providing one. Eventually I may use a certificate, but for the time being, I disabled Kepware security by opening OPC UA Configuration > click on server endpoint > select "None" for security policy
Hi,
I am trying to connect to a demo server from KEPServerEX. I can do so with OpenOPC by using
To do the same in FreeOPCUa I have tried using:
And also:
But I get the following error:
I am not sure if it's related but I don't have cryptography installed.
Any idea what's the issue?