JW

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 147 total)
  • Author
    Posts
  • in reply to: E mail #14576
    JW
    Participant

    Gmail basically will block your email even you enable “less secure app access”, it’s very hard to find this setting in gmail account setting.

    Outlook will allow you send email, when you enable similar “less secure app access”. But after about 10 emails, Outlook will block you as spam, you will need to enable it again manually. Then you can use it for a long time.

    Best way is use your own server as zzz suggested

    in reply to: Where is Administration Application #14552
    JW
    Participant

    V6 Linux version does not have the native Administrator App.

    It’s possible to run the Administrator App using Wine. but might have some issues here and there.

    https://forum.rapidscada.org/?topic=rapidscada-6-1-install-on-linux-problem

    JW
    Participant

    Thanks, it’s quite convenient.
    I think the device status can cover 99% of use cases.

    in reply to: User options #14479
    JW
    Participant

    SCADA supports Active Directory, does it fit your need?

    in reply to: Data file and folder organization, and timestamp #14471
    JW
    Participant

    Tested again, confirmed they are all UTC time.

    I made some mistakes while introducing posixtime, forgetting the conversion between timezone has been handled automatically.

    No problem now.

    in reply to: external application requesting sacada data #14461
    JW
    Participant

    I get most command done except the login…

    use wireshark captured 3 login data, the “Encrypted Password String Bytes” are different each time.

    02003d000000cce90c32cd62e16f020009005363616461436f6d6d20004244383437323932323946453046443831343932394339393445354132393430000000000000
    02003d000000e7bc670599955ad1020009005363616461436f6d6d20004343464338394230304237383246353231344434343837434431304341354545000000000000
    02003d0000006c50d7e367885fa3020009005363616461436f6d6d20003631453934424138324433453145363036323643313743374236383633334339000000000000

    So the string bytes should be not directly the “Encrypted Password encrypt password tool”.

    Some further encryption operation has been done to the password before packing it into bytes.

    Is there any instruction on this?

    in reply to: external application requesting sacada data #14457
    JW
    Participant

    my mistake, misinterpreted the string in the doc, the string format description is correct.

    in reply to: external application requesting sacada data #14450
    JW
    Participant

    Comparing the network traffic, I found a mismatch of the protocol document.

    for the 0x0002 function,
    for the field of username, password, instance,
    actually should be
    length of username (2bytes),
    username,
    length of password (2bytes),
    password
    length of instance (2bytes),
    instance

    in reply to: external application requesting sacada data #14448
    JW
    Participant

    I am confused with the encrypted password meaning for the API.
    for the HelloWorld Project, default ScadaComm account
    Plain test pw = scada
    pw from user table = F9A226BC671CB198C7D83ADEA0B1F2B8
    pw from encrypt password tool = B9D0F030265751578B00E9801C69320C
    secrete key = 0E063D581B1DB27B8E984993DED65CE99284A706756C706C7F3B12C44BD55D4D

    for the API 0x0002 login, a field say encrypted password, does it mean the pw from encrypt password tool? or I need to do AES encryption again using pw from encrypt password tool with secrete key

    in reply to: external application requesting sacada data #14447
    JW
    Participant

    finally found the issue, in the password field of the xml, can not use the password copy from user table.

    need to use the password generated from the Project Tools -> Encrypt Password.

    in reply to: external application requesting sacada data #14446
    JW
    Participant

    After trying all the methods, still not working.

    Then I downloaded the ScadaTestClient again, this time running it, then it worked.

    There is a windows warning about the unsigned application this time, never popup before, then after clicking yes, it can run. not sure if it is relevant.

    in reply to: external application requesting sacada data #14442
    JW
    Participant

    Still can get it to work. same error when I use different username and password and key.

    The source code example is quite detail for other function codes, but there is no detail of the log in function.

    I am using python to work with the API, putting together the commands from bytes, so quite relies on the API documents.

    in reply to: external application requesting sacada data #14433
    JW
    Participant

    Uploaded the ScadaTestClient error again
    ScadaTestClient Error
    Screenshot-2024-04-17-215957

    in reply to: external application requesting sacada data #14431
    JW
    Participant

    I downloaded the ScadaTestClient, but get the following error on starting.

    https://1drv.ms/i/c/7d196e63b671ad1b/ESoeGQzc1ypPnSTSW0IhcxcBn1E_3c0zCZ4ng3FaE967LQ?e=ZDmeGt

    in reply to: external application requesting sacada data #14430
    JW
    Participant

    I copied the encrypted password string from ScadaAdmin.
    username = guest
    encrypted password string = D353B3161AC1FFC43C79CE23FAE333EF
    Also very weird the error message missed the first 2 letters of the username
    estD353B3161AC1FFC43C79CE23FAE333EF

Viewing 15 posts - 1 through 15 (of 147 total)