Forum Replies Created
-
AuthorPosts
-
WayneS
ParticipantHi Mikhail,
Thank you that worked perfectly.
Rapid SCADA is working really well.
regards
Wayne
WayneS
ParticipantHi Mikhail,
Thanks, that’s working well now.
regards
Wayne
WayneS
ParticipantHi Mikhail,
I downloaded the update and copied the files into my “program files/SCADA” directory. I checked that the files had been replaced. I then uploaded the project and changed the publishing times. At 1 minute, it worked well. At 2 minutes, every second one failed.
regards
Wayne
WayneS
ParticipantHello Mikhail.
Screenshoots:
https://ibb.co/qMbS10D1
https://ibb.co/BH7wSg53
https://ibb.co/M5KKjwwvOne shows the driver settings, one is the log just after restarting while the last is the log sometime after starting showing errors.
regards
Wayne
WayneS
ParticipantThanks Mikhail,
The Archive table in the configuration database was exactly what I was missing – have corrected this and away it went. Great product.
regards Wayne
WayneS
ParticipantHi,
The standard archives are working well and saving data to postgresql, however I can’t make the custom archive work and indeed if I change the name of the standard archives (e.g. hour/hourcopy to 30min/30mincopy) they stop working.
I’m using the hour archive on a 30 minute period and it would be nice to make the name more accurate.
Is it possible to make the custom archive work or to change the name of the standard archives?
regards
Wayne
WayneS
ParticipantHi
And if you want to change the password in ScadaInstanceConfig.xml, how do you encode it? e.g. to user koolbeer123 as a password what do you put in the ScadaInstanceConfig.xml?
regards
Wayne
WayneS
ParticipantHi Mikhail
I found the issue. Regardless of what user/password you setup in the Server/module ModArcPostgreSQL Connection settings, rapid_scada uses postgres/postgres. If you change the database password to postgres it works.
regards
Wayne
WayneS
ParticipantThanks Mikhail,
The settings were all OK for password auth. I tried changing to MD5 and trust, but made no difference. I also made a new user/password. I can connect to the database OK with either the postgres user or my new user using both pgadmin4 and dbvisualiser.
Not sure where to go next?
regards
WayneS
ParticipantHi,
OK tried that and discovered that autheication isn’t working. 100% certain login name (postgres) and password are correct. Any suggestions
From log file:
2026-03-18 15:33:21 [RANUI-SOLAR][RANUI-SOLAR$][ERR] Error calling the MakeReady method of the HourCopy archive:
Npgsql.PostgresException (0x80004005): 28P01: password authentication failed for user “postgres”
at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
at Npgsql.Internal.NpgsqlConnector.AuthenticateSASL(List`1 mechanisms, String username, Boolean async, CancellationToken cancellationToken)
at Npgsql.Internal.NpgsqlConnector.Authenticate(String username, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.Internal.NpgsqlConnector.<Open>g__OpenCore|213_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt)
at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.PoolingDataSource.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.PoolingDataSource.<Get>g__RentAsync|33_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlConnection.<Open>g__OpenAsync|42_0(Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlConnection.Open()
at Scada.Server.Modules.ModArcPostgreSql.Logic.PostgreHAL.CreateDbEntities()
at Scada.Server.Modules.ModArcPostgreSql.Logic.PostgreHAL.MakeReady()
at Scada.Server.Engine.ArchiveHolder.MakeReady()
Exception data:
Severity: FATAL
SqlState: 28P01
MessageText: password authentication failed for user “postgres”
File: auth.c
Line: 324
Routine: auth_failedWayneS
ParticipantHi Mikhail,
I’m halfway through comissioning a solar farm, which is using rapid_scada.
Screenshots are here:postgre screenshots
Queries use Query Text
regards
wayne
WayneS
ParticipantHello,
I found the initial issue – I had the user name wrong ‘postgres’ not ‘postgre’. So now I have a connection but still don’t have any data being saved in the database. I also don’t have log files associated with the modules i.e. ModDbExport.log etc. Perhaps something is wrong with my installation?
I have followed the instructions in the documentation and created the query as per the link.
The more I use Rapid SCADA the more I think this is a really great product 🙂
regards
WayneS
ParticipantHi there
I use onedrive, with the ScadaProjects directory in the documents folder, i.e. the same place on any PC that I’m logged into onedrive on. That way I don’t copy it, just open it on the other PC.
regards
WayneS
ParticipantHi Mikhail,
For unknown reasons some channels seem not to generate events. The only way I found to fix this was to delete the channel, then recreate it with exactly the same definition and this allowed the limits to generate events. Note varying channel past the limit changed its colour, but didn’t generate and event.
regards
Wayne
WayneS
ParticipantThanks all, Editing the format.xml in notepad++ worked 100%. I have now have some formats of 5000 characters long. I used excel and notepad to create the format and place in format.xml, then reloaded the application and downloaded it to test.
regards
Wayne
-
AuthorPosts