opcua-client-gui icon indicating copy to clipboard operation
opcua-client-gui copied to clipboard

user and PW

Open skippppp opened this issue 6 years ago • 6 comments

Hey guys, thanks for the nice project. In the readme, it's written that user and PW can be entered "by writting them in uri". How do I do this? What is uri? url?

Thanks and best regards, Stefan

skippppp avatar Jan 09 '19 14:01 skippppp

I don't remember exactly, but in the connection address or if you press connection options you can put credentials in the URI. Something like user:[email protected]/myopc.

You can probably find it some where in the code of the main library.

zerox1212 avatar Jan 09 '19 15:01 zerox1212

We should add an example in readme. PR welcome

oroulet avatar Jan 09 '19 15:01 oroulet

sorry guys, I don't get it and can't find anything in the ain library

Where do I put "user:[email protected]/myopc"? In the server URL? I can connect to "opc.tcp://x.x.x.x:4840" but if I put user:password@ in front, I the error: socket.gaierror: [Errno 11001] getaddrinfo failed any idea?

thanks and best regards!

skippppp avatar Jan 14 '19 15:01 skippppp

opc.tcp://user:[email protected]:4840

oroulet avatar Jan 14 '19 19:01 oroulet

well that works. Thanks a lot!

skippppp avatar Jan 15 '19 08:01 skippppp

opc.tcp://user:[email protected]:4840

this should be in the readme

default-student avatar Aug 28 '23 11:08 default-student