Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

standalone OPC-Publisher in Edge Simulator doesn't work #1999

Closed
delema98 opened this issue Jun 19, 2023 · 4 comments
Closed

standalone OPC-Publisher in Edge Simulator doesn't work #1999

delema98 opened this issue Jun 19, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@delema98
Copy link

Describe the bug
When starting the opc-publisher in standalone mode in the edge simulator, I get a certificate error (see trace below). The same configuration works on a regular deployed Azure IoT Edge server. Other modules can be simulated.

I tried the latest version as well as the preview 3 version. While the latest version is constantly restarting the opc-publisher module the preview 3 version can connect as a client to an existing opc-server. Outgoing messages (from opc-publisher --> edge runtime) fail.
The following traces are from using the preview version:

screenshot1
screenshot2
screenshot3

@marcschier marcschier self-assigned this Jun 20, 2023
@marcschier marcschier added the bug Something isn't working label Jun 20, 2023
@marcschier marcschier added this to the 2.9.0 milestone Jun 20, 2023
@marcschier
Copy link
Collaborator

See #1708

@marcschier
Copy link
Collaborator

Could you post the command line you used to start publisher in the iotedgehubdev context?

@delema98
Copy link
Author

I tried it with different command line arguments. The most basic configuration was the following:
"modules": {
"OPCPublisher": {
"env": {},
"restartPolicy": "always",
"settings": {
"image": "mcr.microsoft.com/iotedge/opc-publisher:2.9.0-preview3",
"createOptions": {
"Hostname": "publisher",
"Cmd": [
"--aa",
"--di=60"
]
}
},
"status": "running",
"type": "docker"
}
}

The whole EdgeSolution is based on the default deployment.json and opcpublisher is the only module running

@marcschier marcschier modified the milestones: 2.9.0 Preview 4, 2.9.0 Jun 22, 2023
@marcschier
Copy link
Collaborator

Fixed in preview 4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants