[ 
https://issues.apache.org/jira/browse/PLC4X-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17401501#comment-17401501
 ] 

Torsten commented on PLC4X-303:
-------------------------------

Hi Ben, unfortunately I got my simple app (as explained at PLC4J getting 
started) not working with 0.9.0. In 0.8.0 all works fine but in 0.9.0 I got an 
exception while connecting to "opcua:tcp://localhost:12686/milo"
Caused by: java.lang.NullPointerException: null
        at 
org.apache.plc4x.java.opcua.context.SecureChannel.onConnectActivateSessionRequest(SecureChannel.java:494)
        at 
org.apache.plc4x.java.opcua.context.SecureChannel.lambda$onConnectCreateSessionRequest$15(SecureChannel.java:432)
        at 
org.apache.plc4x.java.opcua.context.SecureChannel.lambda$submit$3(SecureChannel.java:210)
        at 
org.apache.plc4x.java.spi.Plc4xNettyWrapper.decode(Plc4xNettyWrapper.java:175)
        at 
io.netty.handler.codec.MessageToMessageCodec$2.decode(MessageToMessageCodec.java:81)
        at 
io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:88)
        ... 23 common frames omitted
because sessionResponse.getServerEndpoints() is empty and policyId is still 
null at line 494.
Switching discovery on/off has no affect.
Is it possible to use an "unsecure" channel?

> OPCUA should support username / password authentication
> -------------------------------------------------------
>
>                 Key: PLC4X-303
>                 URL: https://issues.apache.org/jira/browse/PLC4X-303
>             Project: Apache PLC4X
>          Issue Type: Wish
>          Components: Driver-OPC-UA
>    Affects Versions: 0.9.0
>            Reporter: Torsten
>            Priority: Major
>
> OPCUA servers might request user authentication, the OPCUA driver should 
> support username and password



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to