My Arduino Web Server v2.0

Still have problems: Website loads for a few seconds ( also shows parts of the site), and then firefox shows "connection lost".

Sorry, but I have tried multiple Internet Providers on multiple browsers, and never have I been able to recreate or find any problems. If anyone has a possible solution, please tell.

Yeah, I had that too, when I was visiting my grandparents... It would load fully, and as soon as it was there, it would tell me "unable to establish connection" or something like that... my guess is, that my grandparents and MichaelP08's providers have some security feature that your server doesnt pass...

but... to be honest, I really dont know anything about these things... I will check it out when I visit my grandparents again though... If you are interested in solving the problem (if us two are the only ones who ever had issues, it really doesnt seem that pressing...) and if there is something specific I can check, tell me and I will try that next tim I have the opportunity.

hmm my provider is t-com germany. what browser do your grandparents have? i always get the error @ firefox 3.6

its not a browser issue. well, probably not.
i have firefox 3.6 as well, and it works perfectly fine.

i used the same laptopt, same browser etc. at my grandparents - same error, you had. I tried different browser, same error.

btw@physicsdude. I am in no way trying to diminish the coolness of your project - I find it your webserver awesome... I feel a bit bad that all the discussion in this thread has settled down to be about an odd bug... I guess its just human nature that instead of pointing out all the things that work, talking about something that doesnt work seems to be more interesting.

btw@physicsdude. I am in no way trying to diminish the coolness of your project - I find it your webserver awesome... I feel a bit bad that all the discussion in this thread has settled down to be about an odd bug... I guess its just human nature that instead of pointing out all the things that work, talking about something that doesnt work seems to be more interesting.

I understand and I'm fine with it. I just wish I had a soulition.

Try using a different browser - I usually use Firefox on Linux and was getting "The connection to the server was reset while the page was loading."

Just downloaded Chromium and the page loads fine! :slight_smile: Seems like a Firefox problem.

Ok, a new update is out.
By somewhat popular demand, I have added a feature where the server now outputs sensor data (with a photocell)!! XD

Imusing Firefox 3.6.10
This time it loadedpartof the page and hung on "About server line"
Second time it got through and lost connection
Third it hung again
I have a screenshot of it and will try to attach it here

Just plain awesome!

Congratulations physics-dude, and thanks for sharing!

Cheers,

Wow, very cool 8)
I might think about to build one for myself to have access to my data when I am not at home.
How about to use it as an download server (i mean just some sketches, nothing very big)

BTW, I am using Firefox 4.0 and the page is working fine. Just "About The Server" page is blank gray but no error message. (just fixed this since i blocked scripts :smiley: :blush:

lumi:
Wow, very cool 8)
I might think about to build one for myself to have access to my data when I am not at home.
How about to use it as an download server (i mean just some sketches, nothing very big)

BTW, I am using Firefox 4.0 and the page is working fine. Just "About The Server" page is blank gray but no error message. (just fixed this since i blocked scripts :smiley: :blush:

Thanks!

You can very well use an Arduino web server to download files like sketches and stuff, but of course it will be fairly slow with anything over 100kb. Although I have successfully downloaded a 6MB file from the server in testing.

And I will try to reassess the problem with the web page's strangeness soon, now that I know it may be related to scripting.
Edit: Ok, I made a change to the pages, so I either made it worse or maybe I fixed it. Please don't hesitate to tell me if a page fails to load, or if you were one of the few who previously encountered a problem, try again to see it its fixed.

physics-dude:
Edit: Ok, I made a change to the pages, so I either made it worse or maybe I fixed it. Please don't hesitate to tell me if a page fails to load, or if you were one of the few who previously encountered a problem, try again to see it its fixed.

Thanks for your quick reply. I will build my own one after my holidays 8)

Now after your changes i just can see the "About The Server" page. All other pages are blank.
Maybe i was to quick...pages are loading fine now...

No change forme still loads then immediately resets page

Ok, I made some changes, again. :sweat_smile:
Please try again if you experienced the bug, and say whether it works now or not.

Sorry -No change

For me all pages are working fine..no problems at all.

lumi:
For me all pages are working fine..no problems at all.

What are you looking at it with ?

I am using
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10) Gecko/20101005 Fedora/3.6.10-1.fc14 Firefox/3.6.10

And I have AddBlock on
I'll just turn off addBlock in case that interferes with it
No its not that either

I used Firefox 4.0 and Firefox 3.6 something and IE 8

Love this one! Thanks for sharing, I'm gonna try out your code tonight.