Can't get to the ARSim web site

Hi,

So I have been struggling with getting chrome to get to the default web site of ARSim

http://127.0.0.1:81/index.html?visuId=MainVisu

Some PCs it has worked, and on others I try it just ‘This site can’t be reached’. 127.0.0.1 refused to connect… Err_connection_refused.

To start with a clean sheet, I have created a totally new VM. Nothing but the basic OS (win 11 pro) and all the updates MS has for it.

The ARSim is just copied to the c::\temp folder\ . it’s supplied by the company that sells the product that has the B&R PLC…

There is no installer here… but it does work… The ARSim Status information is all green with the text Run boot mode: warm restart.

image

The next step I am told is to just open up chrome and go to the web site url above…

I have turned off defender firewall , and being a new fresh PC IIS is not installed …

So what might be wrong here… Is there a proper installer for ARSim… I am thinking perhaps there is something missing.

The other thing I have noticed, on another PC with the same exact problem… I could not telnet to port 81… is was not open/detectable…

Any help would be great…

Hello

Port 81 in windows is a bad idea.
Change to other port:

have a look to this post
Mapp view runtime - Ask Questions - B&R Community (br-automation.com)

Hi,

just to rule out any misunderstanding…
You have a project with a mappView Visualization on your ARSim?
Because an ARSim does not have a “default website” other than the System Diagnostic Manager.
Which is reachable at “127.0.0.1/sdm”

regards,
Stefan

I am not even able to get to the ‘sdm’ site you refer to. I get the same error of the site can’t be reached.

Hi,

The config file the document refers to, to change the port… I dont have that file or at least I can’t find it

This is the folder where the ar000loader is and you can see whats there

When I look in the log file in that folder I see this

Sun Aug 11 16:55:56 2024
COPYRIGHT (C) B&R Industrial Automation GmbH

Sun Aug 11 16:55:56 2024
No ARsim registration found!

Sun Aug 11 16:55:56 2024
InstanceName: 01daebbb84051bf0

Sun Aug 11 16:55:56 2024
WorkingDirectory: C:\Temp\WLS2\Simulation\PLC1\

Sun Aug 11 16:55:56 2024
COMMAND_COLDSTART

Sun Aug 11 16:55:59 2024
Version: C4.72

Is there some sort of other software that needs to also be installed or setup in windows like a dotNet or IIS or something else I am missing.

ahhh… now I get it… :slight_smile:

You got a Simulation Package to start a Simulation of the program.

There is no additional installation needed to run that.

But, make sure to close a simulation properly… it is possible that there are more than one simulations running. That is not good…

There should be only one “trafficlight”-Symbol on your windows.

image

so something like this.

If you open the ar000loader twice, it will start 2 simulations which could cause “weird” behavior

PS.:
I’m not sure about the symbol in the lower left corner of the screenshot, you may or may not have that…

Only got the one…
image

As I said its a brand new pc setup to figure out how to get this working… one some machine it works. .on other not…

Whats frustrating is it was working on my PC… but not thinking I cleaned out my temp folder, which of course deleted it… why use the temp folder for this I have no idea but the instructions I have state it must be in the temp folder…

So I copied it all back… and now its not working… arghh!!!

Any other suggestions ?

Hi,

can you please open the ArSim GUI, go to tab “Console”, copy the whole text there, and paste it here? Maybe this text (which is the logbook of the simulated PLC) gives us a hint what’s going wrong…

image

… maybe I’m completely wrong, but for me it sounds still like some blocking issue from Windows side. As we “learned” from this thread, even switching firewall “off sometimes does not means off”:

So additionally I would at least for test propose to switch the firewall to “on”, start again the ArSim, and check if a dialog like the following one appears (and where you’re able to grant the access for different networks explicitly):

image

Best regards!

Here is the console output… I cleared it and then clicked restart and this is whats now in console

$arlogsys:EventID 9227 (SUCCESS, 0, 9227), lpBin=0x0305ff1c, “ROOT”, “Boot”
$arlogsys:EventID 33300 (SUCCESS, 0, 33300), lpBin=0x00000000, “ROOT”, “Error starting SNMP for ethernet device 127.0.0.1.”
$arlogconn:EventID 1076899302 (INFO, 48, 11750), lpBin=0x00000000, “tOpcUaComm”, “Begin startup sequence”
$arlogconn:EventID 1076899306 (INFO, 48, 11754), lpBin=0x00000000, “tOpcUaComm”, “NodeSet ./ADDONS/DATA/OPCUA/NodeSet/Vendor/plc.uanodeset loaded”
$arlogconn:EventID 1076899306 (INFO, 48, 11754), lpBin=0x00000000, “tOpcUaComm”, “NodeSet ./ADDONS/DATA/OPCUA/NodeSet/Vendor/plc.aprol.uanodeset loaded”
$arlogconn:EventID 1076899306 (INFO, 48, 11754), lpBin=0x00000000, “tOpcUaComm”, “NodeSet ./ADDONS/DATA/OPCUA/NodeSet/Vendor/plc.br.pv.uanodeset loaded”
$arlogconn:EventID 1076899306 (INFO, 48, 11754), lpBin=0x00000000, “tOpcUaComm”, “NodeSet ./ADDONS/DATA/OPCUA/NodeSet/Vendor/plc.plcopen.pv.uanodeset loaded”
$arlogconn:EventID 1076899306 (INFO, 48, 11754), lpBin=0x00000000, “tOpcUaComm”, “NodeSet ./ADDONS/DATA/OPCUA/NodeSet/Generated/OpcUaMap.uar.gz loaded”
$arlogconn:EventID 3157478 (SUCCESS, 48, 11750), lpBin=0x00000000, “tOpcUaComm”, “”
$arlogsys:EventID 10561 (SUCCESS, 0, 10561), lpBin=0x0305fc24, “ROOT”, “ARsim: ACOPOS Simulation”
$visu:EventID 1086390772 (INFO, 193, 500), lpBin=0x5d60c680, “mapp View Server”, “”
$visu:EventID 1086391292 (INFO, 193, 1020), lpBin=0x0f274d10, “mapp View Server”, “”
$visu:EventID 1086391294 (INFO, 193, 1022), lpBin=0x0f274c48, “mapp View Server”, “”
$visu:EventID 1086390773 (INFO, 193, 501), lpBin=0x5d60c680, “mapp View Server”, “”

In regard to the firewall…

I turned it back on, and then restarted Arsim… I get no firewall messages when arsim started up as per the example you reference. I am well aware of that popup with other apps trying to get past the firewall… but arsim, did not trigger the popup

Okay, very strange that no firewall message pops up, it should.

What I can see out of the console is, that

  • OPC UA server starts up completely without errors (EventID 3157478)
  • mappView server starts up completely without errors (EventID 1086390773)

… from the the simulation runtime side, everything looks fine: no errors on the TCP servers startup?!

What I can also see is, that the SNMP service cannot be bound to the interface 127.0.0.1, but since SNMP is not needed for the mappView functionality, this isn’t a problem here - but I have to cross-check if I get the same message on my system, because if not, it points into the direction that “something from outside” is prohibiting the binding of network functionality to the ArSim process.

Unfortunately I don’t use Windows 11 (until now, I’m using Windows 10), so I can’t check again this OS.
But could you please try to start the ar000loader.exe as admin? I don’t think that this will make a big difference, but at least it would be interesting if then any popup / error message appears?

HI,
Firsts thanks for all your help on this… it cause our work to come to a complete stop as we can test anything… so again … thanks

I restart running as admin and no difference…

Hi,
I checked with my W10 system the startup of a ArSim (I even used the same runtime version C4.72) - on my system, the SNMP binding error does not happen on my test system.

So this binding error entry in your log (again: SNMP is not neccessary for your use-case) shows me that something is going wrong with the network bindings on your system / on W11, but I’m sorry, I don’t have any idea what’s blocking it.

Maybe one more idea: can you please check the exe files’ file properties in Windows explorer, to have a look if there’s an additional security checkbox where you can grant access?

I only have a german screenshot, but more or less it’s about "Security: the file is from a different computer … "
image

Hi @heath.dillon

I’d recommend to go one step back:
Check if mapp View is actually ready to answer requests.
Open a “cmd.exe” (Windows-r, “cmd”) and execute this command:

netstat -ano | findstr :81

You should get something like this:

C:\Users\name>netstat -ano | findstr :81

TCP 127.0.0.1:81 0.0.0.0:0 LISTENING 37704

If you get this, check the number at the end (in my case 37704) - this is the ProcessID of the process listening on port 81 … You can identify the process in windows’s task manager - in the “Details” tab, sort by “PID” and search for the number you got. The name of the process should be “AR000.exe”.

If this is the case, check in your extracted folder structure of ARsim the folder “ADDONS” - in this folder you should have a subfolder “DATA\IAT_Data\wwwRoot” - with at least an index.html file.

Regarding you firewall:
You can try to stop ARsim - and then rename the folder, where you have extracted everything … then restart ARsim (in the renamed folder). This way the windows firewall would detect a new service and ask again if you want to permit the access …

1 Like

Hi All,

I have had the same problem for a long time on my computer and it is still present.
It seems not related to the firewall, probably the ports are not open because the Automation run time never boot.

I guess this is the real problem to find.

Hi,

I agree that in your case maybe the ArSim does not finish boot for whatever reason, at least it looks like that because of the yellow text panel in the ArSim control panel.
Maybe you could share some of the information described above from the Console Window and from the logfile?

But I don’t think it’s exactly the same behavior, because in the description from Heath we can at least see that ArSim has finished booting (green text panel).

Best regards!

@heath.dillon,

I’m really curious about, and it looks like others are too:
do you have any update on this topic? Have you found out more?

Thanks in advance, Alex

@heath.dillon, What is the status of your topic? Is it solved? Can you share a summary with us?

Hi. Sorry I have do to focus on other stuff… however that said… for no apparent reason… its just started to work again… Magic !!!

Thanks to all… sorry I can’t shed any light on what happened to fix this…

1 Like