Thumbnail

HTTP Server

+ How To Add This Control To Your Project (Click to Expand)
  1. Load the most recent release of ARC.
  2. Press the Project tab from the top menu bar in ARC.
  3. Press Add Control from the button ribbon bar in ARC.
  4. Choose the General category tab.
  5. Press the HTTP Server icon to add the control to your project.
Remote control the ARC Application (and your desktop) over a web browser. Use the Config button to load the configuration window. Specify the TCP Port and usernames for authentication. The default port of the HTTP server is set for 80. If you already have an HTTP server listening on port 80, there will be an error message in the status window when starting the ARC http server.

Main Menu Features

  • Remote Control: View the ARC screen and interact with it via left mouse clicks. Using this feature on the same PC as ARC will produce unusable results. Only use this feature on remote devices.
  • Movement: Provides a simple movement interface that controls which ever movement panel is added to your project.
  • Camera List: Lists the cameras currently added to your project and links to view them.
  • Script Console: A console to send EZ-Script commands to the HTTP Server and interact with other controls using the ControlCommand() syntax. Information on how to send ez-script via the HTTP URL is also provided on this page.
  • Session List: Displays the sessions interacting with this HTTP server instance by IP Address and username.
  • About: Information about the HTTP Server and ARC.

Internet Access

To access your http server remotely over the internet with a router, consult the routers instruction manual on port forwarding.

Custom

This HTTP Server control provides static web pages for interacting with ARC. For custom web pages, use the HTTP Server (Custom) control.

Video

Canada
#1  
Hello

I am trying to access my IoTiny board over the internet but am getting this:

Attempting connection on http://.................
Connection Failed: System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Int16.Parse(String s, NumberStyles style, NumberFormatInfo info)
at System.Convert.ToInt16(String value)
at EZ_B.EZB.Connect(String hostname, Int32 baudRate)
Disconnected
EZB Not Responding:Unable to connect to ...................... 

N.B:  I can connect with Telnet so I know my port forwarding is ok.

Thanks
PRO
Synthiam
#2   — Edited
What web browser are you using to connect to this robot skill?

did either of the videos in this manual page help you?
Canada
#3  
Chrome on Windows7x64.
PRO
Synthiam
#4  
What error are you seeing in the web browser when you type in the IP address to connect to this robot skill?

I believe the error you posted appears to be from an ARC connection control, which isn’t part of this robot skill.  So I’ll need to see the error from the web browser 

did the videos help at all to use this robot skill?
Canada
#5   — Edited
I do not have a static IP address, so I connect via DynDNS.  I only need to specify the port to differentiate between devices (I have 6 so far).  I know the port I set for this board in the router is right because Telnet works.
No, the videos aren't specific enough for this.

Chrome gives:
This page isn’t working
..........<DynDns>........ sent an invalid response.
ERR_INVALID_HTTP_RESPONSE
PRO
Synthiam
#6  
Telnet is not the same port as http. HTTP is port 80. You’ll need to open port 80. Start the web server robot skill on the correct port. And then in your web browser visit the IP address. 

im unable to diagnose your specific network configuration. However, use the http server from your web browser locally first. If it works locally, then you’ll have to figure out why it doesn’t work with port forwarding remotely. 

do the videos help at all?
Canada
#7   — Edited
You are talking about default ports.  In all cases, it is possible to specify another port.
I open one port for each device on my network; doesn't matter if its telnet or a browser.
If my port was incorrect, I would get no reply at all.

Of coarse everything works locally; that is a basic first step.
Anyway, this is not the issue. The problem is remote access.
Do you know anyone who has this working?
PRO
Synthiam
#8   — Edited
To clarify, on your local network you can connect to this ARC robot skill using a web browser? Are you on the same computer as ARC or a different computer (or phone)?

if you can use this robot skill from a different computer, this robot skill will also work with router tcp port forwarding. Ensure the port forward is setup with the correct port for the source and destination. 

When you watch the videos, are you able to produce the same result? On the local network, you can successfully use this robot skill?

if you’re having networking issues, an alternative remote access that doesn’t require network configuration would be to use Exosphere. Here’s the manual: https://synthiam.com/Support/Skills/Machine-Learning/Exosphere?id=18753