-
Notifications
You must be signed in to change notification settings - Fork 297
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
Can't activate more than 1 Bacnet IP datasource simultaneously #2152
Comments
so, it was just my fault by lack of knowledge in network configuration. The issue was caused by indicating port 47808 on the datapoint configuration for multiple Bacnet sources. May I suggest to add in the comment of bacnet datasources that this "port" field should remain at 0 unless the user knows well enough what he is doing ? |
Hi @nduvernois,
Regards, |
Proposal 1 : more than one Bacnet Data Source had the same port set (= the port number in BacNet properties block). |
Thanks, I think we can add such validation so that the Data Source cannot be saved with a busy port. |
Maybe it would also be worth precising in the BACnet I/P properties block what is relevant for the distant device (Device ID + broadcast address) and what is relevant for the ScadaLTS server (port, if I correctly understood) |
Last comment : when a new Bacnet datasource is created, by default, the field "port" is filled with 47808, whereas I had to input 0 in order to solve my issue. This is ... misleading. |
fix/#2152_Cant_activate_more_than_1_Bacnet_IP_datasource_simultaneously
I have about 130-140 BacNet IP datasources, but as soon as 1 is active, I can't activate the other, and neither can I discover new datapoints in the active datasource, or in any other. This is the same behaviour as in ScadaBR.
For example, after a Tomcat restart, I find this in the event list :
8:57:11 : 'B519 sous-station': Initialization error: Address already in use: Cannot bind
Well, actually, there is no other datasource with the same IP address.
Steps to reproduce the behavior:
Datasources have been initially created in ScadaBR, and the MySQL databased has been dumped to disk and imported to MySQL 5.7
Configuration
OS: Windows Server 2016
Browser : Chrome
Releases: ScadaLTS 2.6.13, Apache Tomcat 9.0.59, MySQL 5.7.19
I also noticed the same behaviour with ScadaLTS 2.5.1.
Log from tomcat9-stdout:
INFO 2022-03-29T08:57:12,082 (com.serotonin.mango.rt.RuntimeManager.initializeDataSource:378) - Data source 'B519 sous-station' initialized
I have not found anything relevant at the same timestamp in catalina, tomcat9-stderr or localhost logs.
EDIT:
For this issue validation for ports in BACnet data sources will be implemented. Additionally, information about port usage will be added to the help documentation on data source edit view.
The text was updated successfully, but these errors were encountered: