ottlukas opened a new issue, #642:
URL: https://github.com/apache/plc4x/issues/642

   While test of OPC UA simulator coming from freeopcua I found out that our 
client doesn't work with it. Maybe it is an issue of how they encode payload, 
maybe it is inconsistency in the spec, not sure - the end result is that actual 
response processing error gets swallowed and driver hangs.
   
   Guilty code is in `OpcuaSubscriptionHandle`:
   ```
   
   for (MonitoredItemCreateResult result : 
responseMessage.getResults().toArray(new MonitoredItemCreateResult[0]))
   {
       if (OpcuaStatusCode.enumForValue(result.getStatusCode().getStatusCode()) 
!= OpcuaStatusCode.Good)
   {
           LOGGER.error("Invalid Field {}, subscription created without this 
field", fieldNames.get((int)
   result.getMonitoredItemId()));
       } else {
           LOGGER.debug("Field {} was added to the subscription",
   fieldNames.get((int) result.getMonitoredItemId() - 1)); // !monitored item 
id might be inconsistent!
   
      }
   }
   
   ```
   
   
   Copy of traffic causing issue in attachment.
   
   Imported from Jira 
[PLC4X-342](https://issues.apache.org/jira/browse/PLC4X-342). Original Jira may 
contain additional context.
   Reported by: ldywicki.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@plc4x.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to