Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Can't connect to webvisu, ERR_CONNECTION_REFUSED

peterned
2022-02-25
2022-08-14
  • peterned - 2022-02-25

    Hi,

    I have a project with web visualization, but can't connect to it.
    PLC is ABB AC_500v3 PM5630-2ETH, Codesys version is 3.5.15 (ABB Automation builder 2.4).
    I tried connecting from different computers with different browsers, but it doesn't work. Chrome shows ERR_CONNECTION_REFUSED, other browsers show similar messages. I tried all possible forms of webvisu URL with port 8080 or without port, http:// or https:// , with or without webvisu. htm at the end etc.
    Time of PLC and PCs is correct.

    It's not a connectivity problem, I can ping the PLC, go online from Codesys IDE etc. From the same computer, I can connect to the webvisu of another Codesys PLC(Festo) without problems. Tried with firewall off, no change.

    There is WebServerTask running in the PLC, and it the log(attached) everything seems OK except for this line:
    TlsCreateContext: The given namespace 'WebServer' was not found in config file.

    What the problem could be?
    Thanks for any hints.

     

    Last edit: peterned 2022-02-25
  • peterned - 2022-02-28

    Okay I found the problem. In case someone else has it ..

    I had to add a webserver component under one of the ethernet adapters (and OPC-UA server also has to be added manually). I can't remember that being necessary in any other brand of PLC, adding a webvisu usually adds whatever is necessary.
    But it's mentioned in the docs. So that's just another RTFM case.

     
    • sveto - 2022-08-14

      Hi, I have a same problem. I'm using Eurotherm E+PLC 100 and codesys V3.5 SP15 patch3. Cannot get webvisu to work.
      Could you please help me how to add webserver and OPC-UA into my program?

       

Log in to post a comment.