How to connect to the virtual controller?

I have a RobotStudio simulation station on my desktop, and I want to use AppStudio to connect to the virtual controller using the controller IP 127.0.0.1. However, every time I try to connect, I get the error "Failed to login!" Do I need to configure anything else in my RobotStudio?

Best Answers

  • Janette
    Janette
    Answer ✓
    Hi,
    I have same issue trying to connect AppStudio to virtual controller. I did check that no VPN is connected, even turned off wifi, but still "Failed to login!"....
  • GuilhermeLorenzi
    Answer ✓
    I solved the problem by connecting with my machine's IP instead of 127.0.0.1.
  • wibban
    wibban
    edited March 10 Answer ✓
    od1 said:
    Check if you have the World Wide Web Publishing Service running.
    It will show as SYSTEM in resource monitor test above.
    If it is running (and don't need it), disable it or set it to manual in the services MMC
    You should then be able to connect.
    This solved the problem for me!

    To clarify for others:
    1. Check if port 80 is "occupied. For me "System" was occupied port 80.
    2. Open MMC (Computer Management)
    3. Inside "Services" list find World Wide Web Publishing Service.
    4. Rightclick and Stop.
    5. Restart appstudio and robotstudio.

Answers

  • I think you can try the following two methods to see if the issue can be resolved.
    1. Please check the version of RobotWare, should be 7.12 or later.
    2. Please check there is NO VPN connection in PC.
    If it still doesn't work, Please provide more specific system information and details about the issue. Thank you.
  • GuilhermeLorenzi
    edited January 24
    I am using a RobotWare version higher than this one and I do not have a VPN connection. However, I am still experiencing a failure. This is what appears in my log:

    |INFO|Login|The current used port is 80|INFO|Login|No tsl cert is found!
    |ERROR|MainView|failed to get ssl https://127.0.0.1:80 fingerprint System.InvalidOperationException: This operation is only allowed using a successfully authenticated context.
       at System.Net.Security.SslStream.ThrowNotAuthenticated()   at System.Net.Security.SslStream.get_RemoteCertificate()   at AppStudio.Views.MainView.ParseMessageGetServerSSLFingerprint(String url, String messageType, String messageFlag)

  • I have the same problem, impossible to connect to the virtual controller...
  • I have the same issues. I reported this to the AppStudio team, but no response from them.
  • Any update on this? I got the same problem. 
  • I solved the problem by connecting with my machine's IP instead of 127.0.0.1.
    I solved it by doing this.
  • Hi GuilhermeLorenzi,

    Great to hear You solved this problem, please share some more details, I don't understand which IP You refer to?

    I'm tying to connect to virtual controller with RW7.15 in RobotStudio.
    I did connect AppStudio to real Omnicore robot and it works perfect, but I cannot connect AppStudio to virtual Omnicore robot.
  • Run an ipconfig in your command prompt and you will have more information.
  • Same problem here tried following 
    - no vpn
    - disabled firewall
    - 127.0.0.1 and local ip address
    - loggin to computer without network access (no ip)
    Per Svensson
    Robotics and Vision Specialist
    Consat Engineering
  • Hi again Guilherme Lorenzi,
    How is it possible to use wifi or ethernet adaptor to connect to virtual controller? I tested that I can get connected to RobotStudio VC by C# application and VC is visible to my software, but I still have no connection when I use AppStudio.

    BR. Janette
  • Hello everyone,

    I just wanted you to know that R&D here at ABB are investigating this issue as well.

    Maxim Riabichev
    PC Software Support Engineer
  • The reason why you cannot connect to virtual controller via AppStudio is possibly that the 80 port is occupied. you can check if it is occupied via "Resource Monitor" and then try it again after disabling the service that occupies 80 port and restart RSThe “Vrchost64.exe” is the virtual controller.


  • Thanks for tip, in my computer port 80 is occupied by SYSTEM and I don't want to shut down SYSTEM. Is it possible to change port instead inside AppStudio?

  • od1
    od1
    Check if you have the World Wide Web Publishing Service running.
    It will show as SYSTEM in resource monitor test above.
    If it is running (and don't need it), disable it or set it to manual in the services MMC
    You should then be able to connect.
  • Hi! I solved by stop the WWW publishing service!
    Great and thanks for the tips!!