Hi Srijan as you guessed there was a bug in the http library (32bit systems only), it should work now, please let us know. Thank you!
Best Regards Alfredo On Jun 11, 2013, at 5:02 PM, Srijan Choudhary <[email protected]> wrote: > Hi Luca, > > I tried to look deeper into this, and found out the following: > > If I try to get some static files from the ntopng server via curl, I get > a CURLE_PARTIAL_FILE error[1]. This might be responsible for the browser > not being able to display stuff correctly. > > $ curl http://localhost:3000/login.html > <!DOCTYPE html> > <html> > ... > ... > </body> > </html> > > curl: (18) transfer closed with 1 bytes remaining to read > > Note that I am getting the whole file, but the content-length reported > by the server does not match, so curl reports an error. > > As both my and Steve's systems are 32 bit, this might be a bug in > mongoose which incorrectly calculates file size in 32 bit systems. I > won't have access to a 64 bit system to test this on till next week, > so I cannot be sure until then. > > [1]: http://curl.haxx.se/libcurl/c/libcurl-errors.html#CURLEPARTIALFILE > > On Tue, Jun 11, 2013 at 05:12:34PM +0530, Srijan Choudhary wrote: >> Hi Luca, >> >> I can confirm that I get the same outputs on Arch Linux i686 >> 3.9.4-1-ARCH with chromium browser Version 27.0.1453.110 (202711). >> >> Also, on Firefox 21.0 (on the same machine), I get the login >> screen on alternate refreshes, but on logging in, I get the same >> unformatted output as chromium. >> >> On Tue, Jun 11, 2013 at 07:18:51AM -0400, Steve Clark wrote: >>> Hi Luca, >>> >>> I understand. As of r6387 on Fedora 14 i686 with chome browser >>> google-chrome-stable.i386 0:27.0.1453.110-202711 >>> sudo ./ntopng -v -s -i eth0 -c none -w 3000 -n 2 -m 172.16.0.0/12,10.0.0.0/ >>> 8,192.168.0.0/16 >>> >>> This is what I get: >>> nothing! >>> >>> running with the -l flag I get all text: >>> Home >>> Flows >>> Hosts >>> Hosts List >>> Local Matrix >>> About >>> >>> >>> >>> IMPORTANT: This is a development version of ntopng: all features have NOT >>> been >>> implemented YET ! >>> Top Flow Talkers >>> >>> Top Hosts (Send+Receive) >>> >>> Top Application Protocols >>> >>> Top ASNs >>> >>> >>> >>> On 06/10/2013 11:32 AM, Luca Deri wrote: >>> >>> Steve >>> as you have seen we had to change the HTTP server as this was a nightmare >>> to compile on Windows (this is a requirement as we want to keep ntop also >>> on Windows). There are still some open issues as you can see but we're >>> solving them. >>> >>> Thanks for reporting them, Luca >>> >>> >>> >>> >>> -- >>> Stephen Clark >>> NetWolves >>> Director of Technology >>> Phone: 813-579-3200 >>> Fax: 813-882-0209 >>> Email: [email protected] >>> http://www.netwolves.com >> >> >>> _______________________________________________ >>> Ntop-dev mailing list >>> [email protected] >>> http://listgateway.unipi.it/mailman/listinfo/ntop-dev >> >> >> -- >> Srijan Choudhary >> http://www.srijn.net/ > > > > -- > Srijan Choudhary > http://www.srijn.net/ > _______________________________________________ > Ntop-dev mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-dev _______________________________________________ Ntop-dev mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
