Mikhail

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 5,156 total)
  • Author
    Posts
  • in reply to: Connect Administrator to a remote RapidScada device #14467
    Mikhail
    Moderator

    Hi,
    You found the secret key in the right place.
    The default agent’s password is also scada.
    This video may be useful.

    in reply to: external application requesting sacada data #14462
    Mikhail
    Moderator

    > the “Encrypted Password String Bytes” are different each time
    Yes. The protection algorithm encrypts password differently. Otherwise, someone can sniff packets and login.

    Check the ScadaClient and ClientBase source code.

    in reply to: external application requesting sacada data #14460
    Mikhail
    Moderator

    OK

    in reply to: Error uploading configuration #14459
    Mikhail
    Moderator

    Creating which file causes the error?
    Please check ScadaAgent.log for the error details.

    in reply to: RapidGate #14454
    Mikhail
    Moderator

    Hi,
    Thank you for the details.

    > As for why calculated channels always 0 is due to I enable the formula with 0. I disable the formula and problem solved.
    There is also a general server option to disable channel formulas.

    > Looks like the “converting DAT files to PostgreSql database” is success.
    That’s good!

    in reply to: external application requesting sacada data #14453
    Mikhail
    Moderator

    In the protocol, a string is encoded as
    Bytes 0…1 – the string length in bytes
    Bytes 2…N – the UTF-8 encoded characters

    Could you specify what should be updated in the document?

    in reply to: external application requesting sacada data #14452
    Mikhail
    Moderator

    You right. The Users table contains the password hash, while XML files contains encrypted passwords. Hash cannot be decrypted. Encrypted password can be decrypted. You can encrypt password with Administrator user interface.

    in reply to: external application requesting sacada data #14444
    Mikhail
    Moderator

    If you run the HelloWorld project and use the default configuration of ScadaTestClient, can you successfully communicate between the client and the server?

    in reply to: RapidGate #14443
    Mikhail
    Moderator

    Hi,
    Check ModRapidGate_XXX.txt if there are skipped records in Historical Data section.

    in reply to: external application requesting sacada data #14439
    Mikhail
    Moderator

    You can try setting SecretKey to an empty string. If ScadaTestClient allowed that (I don’t remember), it would simplify the protocol packets.

    in reply to: external application requesting sacada data #14438
    Mikhail
    Moderator

    Likely ScadaTestClient.xml contains invalid SecretKey property.
    ScadaTestClient source code is here if need.

    in reply to: Login Expiry and Remember Option in scadaAdmin #14437
    Mikhail
    Moderator

    There is no such plugin yet. You could develop it. It looks quite useful.

    in reply to: RapidGate #14436
    Mikhail
    Moderator

    Use the existing partitions as examples. pgAdmin can show their SQL.

    in reply to: RapidGate #14435
    Mikhail
    Moderator

    The cause of the error is that there is no partition for old data. You should create it manually using pgAdmin. SQL example:

    CREATE TABLE mod_arc_postgre_sql.min_historical_20240101_20240201 PARTITION OF mod_arc_postgre_sql.min_historical
        FOR VALUES FROM ('2024-01-01 03:00:00+03') TO ('2024-02-01 03:00:00+03')
    

    Set your own dates for the partitions. By default 1 partition covers 1 month.

    in reply to: RapidGate #14434
    Mikhail
    Moderator

    Hi,
    Note that Rapid Gate status is written in ModRapidGate*.* log files on the machine where Rapid Gate is running.

Viewing 15 posts - 1 through 15 (of 5,156 total)