Closed mahesRBR closed 3 years ago
Which version of OPC Publisher are you using? Did you tried --ms=4096
without --si
and --ct
?
Hi, We are using the "latest" version of OPC Publisher . I suppose it does not have a numbered version The earlier version of OPC Publisher was numbered and it was 2.5.4 thanks
From: Alexander Köpke @.> Sent: Monday, July 5, 2021 9:34 PM To: Azure/Industrial-IoT @.> Cc: Mahesh Subrmaniam, ERS, HCL-Tech @.>; Author @.> Subject: Re: [Azure/Industrial-IoT] -ms and -si paramters in OPC Publisher (#1259)
[CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don't click links or open attachments as it may be a Phishing email, which can steal your Information and compromise your Computer.]
Which version of OPC Publisher are you using? Did you tried --ms=4096 without --si and --ct ?
- You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FIndustrial-IoT%2Fissues%2F1259%23issuecomment-874213161&data=04%7C01%7Cmahesh.s%40hcl.com%7Cc8b18fe8623d48cd357008d93fce78b9%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C637610978283301122%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=dBHWkFNTwtlVJrFmXTz4NZ21j4IDL2vWpAFKV1dsCvM%3D&reserved=0, or unsubscribehttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUJXMLMSEE5ZD3P6WRIYULLTWHJWBANCNFSM47UD2GEQ&data=04%7C01%7Cmahesh.s%40hcl.com%7Cc8b18fe8623d48cd357008d93fce78b9%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C637610978283311079%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=7WgiapnsWkLrw%2FJJIAaLxhKey07jzKxTuZAo8b8bXyI%3D&reserved=0.
::DISCLAIMER::
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
@mahesRBR Pls use the latest released version of OPC Publisher: mcr.microsoft.com/iotedge/opc-publisher:2.7.206
The doc for this version is available here: https://github.com/Azure/Industrial-IoT/blob/619f7e867cbd9917a2d450b84eb040155d9b9c29/docs/modules/publisher.md
Please let us know if this and the settings @koepalex has recommended are fixing your problem.
@mahesRBR Meanwhile we have been releasing a new version. Please use the tag 2.8.0 for validating if the problem is fixed.
@mahesRBR do you have any updates otherwise I think your issues has been solved
HI, I have not got a chance to check that May be I would check in 2 weeks from now You may close it and we may reopen it again if not working Thanks for help regards
From: Alexander Köpke @.> Sent: Monday, August 16, 2021 8:57 PM To: Azure/Industrial-IoT @.> Cc: Mahesh Subrmaniam, ERS, HCL-Tech @.>; Mention @.> Subject: Re: [Azure/Industrial-IoT] -ms and -si parameters in OPC Publisher (#1259)
[CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don't click links or open attachments as it may be a Phishing email, which can steal your Information and compromise your Computer.]
@mahesRBRhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FmahesRBR&data=04%7C01%7Cmahesh.s%40hcl.com%7C4a879386d7d34428c28b08d960ca5b96%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C637647244499723990%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ZUPQ2UF%2B8aQRAnt6HSGH16DrRXiOyhquWpDQsrUzDv8%3D&reserved=0 do you have any updates otherwise I think your issues has been solved
- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FIndustrial-IoT%2Fissues%2F1259%23issuecomment-899601951&data=04%7C01%7Cmahesh.s%40hcl.com%7C4a879386d7d34428c28b08d960ca5b96%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C637647244499723990%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=y4NsmrKCbr%2FFw0E77B50XQel7B%2F2oWSWFHmUT95rOKI%3D&reserved=0, or unsubscribehttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUJXMLPHPUBROOXHJS7TSW3T5EU55ANCNFSM47UD2GEQ&data=04%7C01%7Cmahesh.s%40hcl.com%7C4a879386d7d34428c28b08d960ca5b96%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C637647244499733944%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=JxLPbzXfTnNNHHfZwJg0gnUk6Q88kZoQXBJ1gLinhHk%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cmahesh.s%40hcl.com%7C4a879386d7d34428c28b08d960ca5b96%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C637647244499733944%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=IgiwDaxkd%2Fhe38bn5%2B39tg4r4BBByMIg9IOFZ0vRJvE%3D&reserved=0 or Androidhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26utm_campaign%3Dnotification-email&data=04%7C01%7Cmahesh.s%40hcl.com%7C4a879386d7d34428c28b08d960ca5b96%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C637647244499733944%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=fSNgC1uFZgiFoL8eRNq%2Fi4aQVSQriYfdSAs1vHqQnno%3D&reserved=0.
::DISCLAIMER::
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
Please reopen when issue still exist
Hi,
I posted this question to Azure link https://docs.microsoft.com/en-us/answers/questions/450378/-ms-and-si-parameters-in-opc-publisher.html but was asked to post this message here
I am collecting data from OPC Server via OPC Publisher onto to IoT hub I need to collect data at 20s frequency and set OpcPublishiNterval as 20000 in PublishedNode.json as shown below
},
It works fine and I get messages every 20S on IoT hub But I wish to consolidate the content in each message so the message is sent out by publisher only when it reaches 4Kb limit as standard Azure message is 4Kb and subscription is based on no of messages sent every day
So i set the -ms =4096 while running the publisher . set -si =0 as shown below { "Hostname": "publisher", "Cmd": [ "--pf=/appdata/publishednodes.json", "--aa", "--si=0", "--ms=4096", "--ct=120" ], "HostConfig": { "Binds": [ "/home/ubuntu/Downloads:/appdata" ] } }
However get this error for any value set for ms other than 0
[10:20:56 WRN Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Failed to create session 'b2c224f8eaa44c2bc65884d1d546a9a378e1771c' due to One or more errors occurred. (BadRequestTimeout) [10:21:06 INF Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Creating session 'b2c224f8eaa44c2bc65884d1d546a9a378e1771c' for endpoint 'opc.tcp://ip-172-31-79-206.ec2.internal:53530/OPCUA/SimulationServer'...
Also tried changing -ct option as error was on create session timeout -but that did not resolve the issue either
Any help is appreciated
Thanks