The error "BadNodeIdUnknown" indicates, that a path to a Data Layer variable in your configuration can't be reached. Please check if both, the "Published Variable NodeId" from your writer can be found and also the "TargetVariableNodeId" from your reader can be found.
A detailed manual on the ctrlX OPC UA Pub/Sub App can be found here. The docu also includes a sample on how to setup a configuration, maybe this could also help you.
... View more