My holiday project: FEZ Cobra internet tree

Hey all!

Just finished my latest project a internet controlled RGB internet tree.
Before putting it online for the big crowd, I would like to show it to you guys and let you test it.

There is a strange bug since today. All of a sudden the tree just stops working and needs to be reset.
I believe this is either a bug in the webserver extension or in the wifi connection.

There is a page reload now, but that also does not fix it.

You can find it here:
http://robertjacobs.eu/ledtree/

A project discription can be found here:
http://robertjacobs.eu/v2/projects/rgb-internet-tree/

The colors are a little strange when looking with the webcam, but here it looks just fine! :slight_smile:

Happy holidays and merry christmas to you all!

Looks like everybody jumped on it. Can’t even load the page - timeout!

Well, that’s probably because the connection just stops sometime… :frowning:
I have no idea what is causing the bug. All of a sudden the connection is gone, while the board is still running.

I saw you for a brief moment :smiley:

Grr now it stops every freaking few minutes :’(
Let me try if a network cable will fix it …

No luck here either. I could see the webcam using Chrome but with IE9 the add-in doesn’t seem to be happy. I can’t see the top part of the screen on either.

Are you familiar with #cheerlights?

Hmm took the site offline for a while.
Now even a ethernet cable does not work anymore. ???

My head is smoking. lol :smiley:

After looking at the debug info, I discovered the following. Any ideas?

The thread ‘’ (0x2) has exited with code 0 (0x0).
#### Exception System.Net.ProtocolViolationException - 0x00000000 (3) ####
#### Message: Invalid HTTP request String:
#### System.Net.HttpListenerRequest::ParseHTTPRequest [IP: 003e] ####
#### System.Net.HttpListenerContext::get_Request [IP: 000d] ####
#### FastloadMedia.NETMF.Http.WebServer::ThreadProc [IP: 002f] ####
A first chance exception of type ‘System.Net.ProtocolViolationException’ occurred in System.Http.dll
Socket already closed
#### Exception System.Net.Sockets.SocketException - CLR_E_FAIL (4) ####
#### Message:
#### Microsoft.SPOT.Net.SocketNative::poll [IP: 0000] ####
#### System.Net.Sockets.Socket::Poll [IP: 0011] ####
#### System.Net.Sockets.Socket::Accept [IP: 0017] ####
#### System.Net.HttpListener::AcceptThreadFunc [IP: 0020] ####
#### SocketException ErrorCode = -1728053248
#### SocketException ErrorCode = -1728053248
A first chance exception of type ‘System.Net.Sockets.SocketException’ occurred in Microsoft.SPOT.Net.dll
#### SocketException ErrorCode = -1728053248
#### SocketException ErrorCode = -1728053248
The thread ‘’ (0x4) has exited with code 0 (0x0).
#### Exception System.Net.ProtocolViolationException - 0x00000000 (3) ####
#### Message: Invalid HTTP request String:
#### System.Net.HttpListenerRequest::ParseHTTPRequest [IP: 003e] ####
#### System.Net.HttpListenerContext::get_Request [IP: 000d] ####
#### FastloadMedia.NETMF.Http.WebServer::ThreadProc [IP: 002f] ####
A first chance exception of type ‘System.Net.ProtocolViolationException’ occurred in System.Http.dll
Socket already closed
#### Exception System.Net.Sockets.SocketException - CLR_E_FAIL (5) ####
#### Message:
#### Microsoft.SPOT.Net.SocketNative::poll [IP: 0000] ####
#### System.Net.Sockets.Socket::Poll [IP: 0011] ####
#### System.Net.Sockets.Socket::Accept [IP: 0017] ####
#### System.Net.HttpListener::AcceptThreadFunc [IP: 0020] ####
#### SocketException ErrorCode = -1728053248
#### SocketException ErrorCode = -1728053248
A first chance exception of type ‘System.Net.Sockets.SocketException’ occurred in Microsoft.SPOT.Net.dll
#### SocketException ErrorCode = -1728053248
#### SocketException ErrorCode = -1728053248
The thread ‘’ (0x5) has exited with code 0 (0x0).
#### Exception System.Net.ProtocolViolationException - 0x00000000 (3) ####
#### Message: Invalid HTTP request String:
#### System.Net.HttpListenerRequest::ParseHTTPRequest [IP: 003e] ####
#### System.Net.HttpListenerContext::get_Request [IP: 000d] ####
#### FastloadMedia.NETMF.Http.WebServer::ThreadProc [IP: 002f] ####
A first chance exception of type ‘System.Net.ProtocolViolationException’ occurred in System.Http.dll
Socket already closed
#### Exception System.Net.Sockets.SocketException - CLR_E_FAIL (6) ####
#### Message:
#### Microsoft.SPOT.Net.SocketNative::poll [IP: 0000] ####
#### System.Net.Sockets.Socket::Poll [IP: 0011] ####
#### System.Net.Sockets.Socket::Accept [IP: 0017] ####
#### System.Net.HttpListener::AcceptThreadFunc [IP: 0020] ####
#### SocketException ErrorCode = -1728053248
#### SocketException ErrorCode = -1728053248
A first chance exception of type ‘System.Net.Sockets.SocketException’ occurred in Microsoft.SPOT.Net.dll
#### SocketException ErrorCode = -1728053248
#### SocketException ErrorCode = -1728053248
The thread ‘’ (0x6) has exited with code 0 (0x0).

Is that an empty string? Put try catch block and discard invalid requests?

I might have an idea why.
When the webserver code was just released I pointed Wouter Huysentruit to a error with google chrome.
Chrome caused socket exceptions back then. It had to do with how chrome sends packets.

I think this might be the error again.
I’ll see if I can contact wouter.

Jup, it’s clearly a chrome issue.
I tested the axis plugin on my girlfriend’s computer and it installed fine.
What problems did you experience with the axis plugin?

For me it was just very slow on Chrome.

In Chrome I could see video but very slow. On IE all I get is a placeholder image.

Probably because there were multiple users online and my upload is only 400kb/sec.

Did you install the plugin?

Previous bug had something to do when posting data with a dev edition of chrome. Which posted data in chunks.

Now you get an exception on this line: request = context.Request;
It’s the HttpListenerRequest class that throws an error.

Maybe you have some obscure url on your website, that isn’t supported by the HttpListener.

Hey Wouter, thanks for stopping by!
The urls are as following:

server.AddEvent("/", sendResource);
server.AddEvent("/send", analyseForm);

And the full address would be:
84.25.82.57:4444

Thanks

I gave it permission to… Apparently, it was unsuccessful. Now all I get is permission denied so I assume you’re doing something.

Oh yeah, and my chrome version is:
17.0.963.12 dev-m

Thanks.

I’m getting this when trying the URL (http://robertjacobs.eu/ledtree/):

[quote]Forbidden

You do not have permission to access this document[/quote]

can’t access the page. Permission denied.