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.
2) There is a plugin for automatic login. But it uses only 1 user name. To map between users, a new plugin should be developed.
How does that work? i mean how can i develop/change it in order to achieve what i need? i mean if i put an Identity Aware Proxy in front maybe we can extract the user and then use the autologin, but idk how does that work right now and if will be able to modify it.
I can fix and release the new version of AutoLogin plugin after the new version of Rapid SCADA is completed. Which is coming soon.
Or take the up to date Login.aspx from the web application and add
<script type="text/javascript" src="js/autologin.js"></script>
Hi,
Try editing the Login.aspx that is included in the AutoLogin plugin.
There should be
<script type="text/javascript">
var phrases = <%= Scada.Web.WebUtils.DictionaryToJs("Scada.Web.WFrmLogin.Js") %>;
</script>
Test it on Windows first.
Hi.
I use Webstation 5.0.7.0
Now, It works. I did not change the Web.config, I use the Web.config of RapidScada.
I have to clear chrome cache. then I open the chrome and use “http://localhost/Scada/AutoLogin.aspx”
Thank you so much.
after i add autologin to scadaweb folder and try to access website via address
What version of Webstation do you use?
I have noticed the file Web.config of PlgAutoLogin and normal Web.config are different.
You should restore the existing Web.config.
Try this update of Auto Login Plugin. It requires Webstation 5.0.8.0 or higher
now, i’ve problem with autologin,too.
before i add autologin to scadaweb folder, everything work fine.
after i add autologin to scadaweb folder and try to access website via address http://localhost/scada/login.aspx , i can pass login padge but it show error like this
https://1drv.ms/u/s!Ah3lJWvSyxVOgvcCAlGYfk_y6Xc4IA
and when i try to access website to be autologin like this http://localhost/scada/autologin.aspx , it show error like this
https://1drv.ms/u/s!Ah3lJWvSyxVOgvcBOsJJntEUNlbZHw
so, how can i solve this. please suggest.
Hi.
I tried the PlgAutologin but it did not work now.
I have noticed that when I change the file name Web.config in the ScadaWeb(I copy from PlgAutologin folder and directly put it on the ScadaWeb folder) then, It made (Error updating current data Error, updating hourly data)
I have noticed the file Web.config of PlgAutoLogin and normal Web.config are different.
so How we solve the Error Updating data on the scheme.
when I use the web.config of PlgAutoLogin. I got this error.
https://www.img.live/images/2019/07/17/150215.jpg
https://www.img.live/images/2019/07/17/150214.jpg
Thank you so much.