Czech Republic
Asked — Edited

Http Server

I am not able to connect via HTTP Server. When I connect from tablet via recommended IP adress text in Debug Windows is written. Thanks for your help.

User-inserted image


ARC Pro

Upgrade to ARC Pro

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

United Kingdom
#1  

Is the tablet on the same network as the PC running ARC? Are you using the correct internal IP address if it is? Is Port 80 open on the PC running ARC (check firewall and anti virus software) What error is given when you try to connect to 192.168.2.12?

Czech Republic
#2  

Yes the same. Yes I do. Yes because I am using another services with 80 port. The page is not available, ip config finds 192.168.2.17.

United Kingdom
#3  

You are using the services which use port 80 on the same PC which you are trying to use HTTP server on port 80?

Try changing the port number in the HTTP Server config. Technopro mentioned the other day he could only get it working with a 4 digit port so try 8080 or something similar.

Czech Republic
#4  

This is the error log, when I am trying connect from another computer, not from the same PC. I stopped all firewalls and intivirus prgms: 26. 10. 2014 22:43 - TCP Server stopped 26. 10. 2014 22:43 - TCP Server stopped 26. 10. 2014 22:43 - TCP Server stopped 26. 10. 2014 22:43 - TCP Server stopped 26. 10. 2014 22:44 - HTTP Error: System.OverflowException: Value was either too large or too small for an unsigned byte.

Czech Republic
#5  

And yet these rows are shown too...

at .() at ?.(NetworkStream , , Int32 ) at ?.(NetworkStream , , String ) at ?.(Object )

Czech Republic
#6  

Complete error log, when I am trying to log from Android tablet:

26.10.2014 23:12 - HTTP Error: System.OverflowException: Value was either too large or too small for an unsigned byte. .

v System.Convert.ToByte(Char value) v System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() v System.Linq.Buffer1..ctor(IEnumerable1 source) v System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source) v .() v ?.(NetworkStream , , Int32 ) v ?.(NetworkStream , , String ) v ?.(Object )

PRO
Synthiam
#7  

At what point do you get that error? I am unable to reproduce it. Can you try a reinstall of ARC?

#8  

Try changing the port, and putting your ip:port you changed to. Make it 4 digits.

PRO
Synthiam
#9  

Technopro, you probably can't run it on port 80 because there is already a web server running. Check your DEBUG message when STARTing the http server

Czech Republic
#10  

To DJ Sures: At the same moment when I type ip address of http server and then push enter. OK I will reinstall EZB.

PRO
Synthiam
#11  

The latest version of ARC contains more detailed logging information - perhaps that will help identify the issue with your installation.

Czech Republic
#12  

Log after stop of finding http server is: 28.10.2014 11:20 - HTTP Error: System.OverflowException: Pro typ bajt bez znaménka byla hodnota bud príli velká, nebo príli malá. v System.Convert.ToByte(Char value) v System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() v System.Linq.Buffer1..ctor(IEnumerable1 source) v System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source) v .() v ?.(NetworkStream , , Int32 ) v ?.(NetworkStream , , String ) v ?.(Object ) URL: /, Header: GET / HTTP/1.1 Accept: text/html, application/xhtml+xml, / Accept-Language: cs-CZ User-Agent: Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; NOKIA; 909) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537 UA-CPU: ARM Accept-Encoding: gzip, deflate Host: 192.168.2.10 DNT: 1 Connection: Keep-Alive

, Path: /, IP Address: 192.168.2.7

and in the phone Explorer message is written: Unable to find server or DNS issue

Czech Republic
#13  

and from another Windows 8.1 computer:

EZB 0: EZB 1: EZB 2: EZB 3: EZB 4: 28.10.2014 11:28 - TCP Server stopped 28.10.2014 11:28 - TCP Server stopped 28.10.2014 11:28 - TCP Server stopped 28.10.2014 11:28 - TCP Server stopped 28.10.2014 11:28 - TCP Server stopped 28.10.2014 11:28 - HTTP Error: System.OverflowException: Pro typ bajt bez znaménka byla hodnota bud príli velká, nebo príli malá. v System.Convert.ToByte(Char value) v System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() v System.Linq.Buffer1..ctor(IEnumerable1 source) v System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source) v .() v ?.(NetworkStream , , Int32 ) v ?.(NetworkStream , , String ) v ?.(Object ) URL: /, Header: GET / HTTP/1.1 Accept: text/html, application/xhtml+xml, / Accept-Language: en-GB,en;q=0.7,cs;q=0.3 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; Touch; LCJB; rv:11.0) like Gecko Accept-Encoding: gzip, deflate Host: 192.168.2.10 DNT: 1 Connection: Keep-Alive

, Path: /, IP Address: 192.168.2.17 28.10.2014 11:28 - HTTP Error: System.OverflowException: Pro typ bajt bez znaménka byla hodnota bud príli velká, nebo príli malá. v System.Convert.ToByte(Char value) v System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() v System.Linq.Buffer1..ctor(IEnumerable1 source) v System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source) v .() v ?.(NetworkStream , , Int32 ) v ?.(NetworkStream , , String ) v ?.(Object ) URL: /currentsetting.htm, Header: GET /currentsetting.htm HTTP/1.1 Connection: Keep-Alive Host: 192.168.2.10

, Path: /currentsetting.htm, IP Address: 192.168.2.17

Czech Republic
#14  

Does nobody know what is wrong ?

Trinidad/Tobago
#15  

Are you typing in the ip address on the tablet/computer with the correct port after you've changed it in ARC?

For example: 192.168.2.17:8080

Czech Republic
#16  

Yes, I tried everything. I changed ports in router too and I had tried once more with another ports incl. default port :80

Czech Republic
#18  

Yes tried both, Czech, also American and UK English...:-(

Trinidad/Tobago
#19  

can you access the http webserver from the computer that is hosting it?

Czech Republic
#20  

No, I cannot. I tried another two PCs without any success with installed EZB in English environment.