hi @mikhail I saw the AutoLogin Plugin you mentioned in a post, but I can’t open this link(https://disk.yandex.ru/d/RZArYfy89mgjkw), is it convenient to send the code to my email? Thank you very much
“The Webstation app stores login info in the HTTP session. I suppose, you need a small plugin written in C# that performs login for you. For example, AutoLogin Plugin.“
i just need that autologin can be possible only from localhost
Probably you should deploy 2 instances of Webstation with different settings.
Hi i just need that autologin can be possible only from localhost(it is a linux instance) so when I access scada from network you must enter user and passowrd.
My question comes after i read posts 10398 an 10399. How to configure Autologin.aspx as local access only.
I will consider to update to V6 after a stable build, and not shure if modules permanent key purchased are valid for V6.
Thanks,
You could however just enable v6 autologin, and use nginx
‘s access-control
rules to restrict RSv6 access to desired ip range.
Note nginx’s access-control is applied before requests hit RS. You won’t be able to access RS’s web port from these restricted ip either, let alone login.
Hi, how can I configure the Autologin.aspx as local access.3 ?
Here some threads about autologin. Perhaps in version 5. You only need to configure the Autologin.aspx as local access.3
https://forum.rapidscada.org/?action=bbp-search-request&bbp_search=Autologin
Hello,
Is that possible autologin just for localhost?
Let me try Autologin. I will get back to you guys soon.
Thanks for quick response.
Hi,
PlgAutoLogin.
Note: in the 6th version (beta now) the auto login feature is available out of the box.
Use Autologin for version 5
The script is located in the file /scada/ScadaWeb/js/autologin.js where you specify your user and his password. It may be necessary to reboot the web to update the scripts in the browser, for example by Ctrl+F5
https://yadi.sk/d/RZArYfy89mgjkw
Strange, this plugin is not in the repository. Here is the link to the plugin that the author gave.
Go to js and edit autologin.js my version is below with a delay of 20 seconds, which allows you to have time to change the user if necessary.
$(document).ready(function () {
$(“#txtUsername”).val(“operator”);
$(“#txtPassword”).val(“1234S”);
sleep(20000).then(() => { document.getElementById(“btnLogin”).click(); })
});
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
Hi,
The Webstation app stores login info in the HTTP session. I suppose, you need a small plugin written in C# that performs login for you. For example, AutoLogin Plugin.
JWParticipant
About the mono issue
I tried, but haven’t find a way to reproduce it.
I disabled chart plotting and hide minute data export. So there should be one or more cause other than these 2.
It happened to one of my server on AWS without GUI a few times. But after I reinstall the whole server, this issue haven’t appear in last 2 months.
I am going to make a program to monitor the cpu usage by mono, try if I can capture what cause the issue.
about to the error log above
What’s the proper way to have a client showing the scada page 7×24?
when first login:
– checked “remember me”
– autologin not installed
After a long time, the browser seem lost the authentication:
– the current page data is still refreshing
– while navigate to other view, the page said user do not have right to access
– the error log above appears every day 00:00 ever since
– after refresh the whole page by F5, all view can be accessed
How long does the browser lose the authentication? Should I have the browser refresh the page regularly to keep the authentication valid?
I am looking to do the following:
1. after boot up, auto start the browser and auto login RapidScada. I have tried the AutoLogin.aspx patch, and that seemed to work from browser.
2. auto login will bring up exactly a single page, without any control inputs; (this seemed do-able with current 5.8.2 version).
3. the single display page should be “full screen”, and max out the screen, Pre-fit setting is OK.
4. hide the “zoom fit controls” at the upper left corner;
5. hide the “events” line at bottom of screen.
Suggestions:
Above can be achieved either via the “autologin” with parameters, or with congifuration settings in file or within webpage.