NoRulesJustFeels / Fling

Fling media to a ChromeCast device
351 stars 53 forks source link

CC gives Brain Freeze error #21

Open HalifBakri opened 10 years ago

HalifBakri commented 10 years ago

Hi,

First of thanks for creating this handy app.

I keep getting Brain Freeze error when I try to start a video.

I have received a APP ID from google and added it to index.html and FlingFrame.java. I've changed my CC settings to send the serial number to google for updates. I've tried the url that i provided for my whitelisting to see that it works.

Finally I've tried to debug and find out when it fails. I came to the conclusion that in the file HttpServer.java (ln: 697). CC changes to brain freeze when it tries to write the data to the output stream.

If you could help me I would appreciate it. :)

Here is the log btw.

Fling: Fling version 0.6 Fling: Windows 8 Fling: Found VLC at C:\Program Files\VideoLAN\VLC Fling: VLC available Fling: set to system default LaF Fling: createAndShowGUI FileDrop: Hierarchy changed. FileDrop: Drop target added to component. FileDrop: Hierarchy changed. FileDrop: Drop target added to component. FileDrop: Hierarchy changed. FileDrop: Drop target added to component. FileDrop: Hierarchy changed. FileDrop: Drop target added to component. FileDrop: Hierarchy changed. FileDrop: Drop target added to component. FileDrop: Hierarchy changed. FileDrop: Drop target added to component. FlingFrame: Started web server on port 8080 okt 16, 2013 11:06:14 EM com.entertailion.java.fling.Log i INFO: BroadcastDiscoveryClient: Starting client on address /192.168.0.101 okt 16, 2013 11:06:14 EM com.entertailion.java.fling.Log i INFO: BroadcastDiscoveryClient: Broadcast client thread starting. FileDrop: Hierarchy changed. FileDrop: Drop target added to component. FileDrop: Hierarchy changed. FileDrop: Drop target added to component. FileDrop: Hierarchy changed. FileDrop: Drop target added to component. FileDrop: Hierarchy changed. FileDrop: Drop target added to component. FlingFrame: size=0 okt 16, 2013 11:06:29 EM com.entertailion.java.fling.Log i INFO: BroadcastDiscoveryClient: Exiting client loop. FileDrop: dragEnter event. FileDrop: normal border saved. FileDrop: drag border set. FileDrop: event accepted. FileDrop: dragExit event. FileDrop: normal border restored. FileDrop: dragEnter event. FileDrop: normal border saved. FileDrop: drag border set. FileDrop: event accepted. FileDrop: drop event. FileDrop: file list accepted. DragHereIcon: C:\Users\HalifBakri\Videos\Unpacked\video.mp4 FlingFrame: sendMediaUrl=C:\Users\HalifBakri\Videos\Unpacked\video.mp4 FlingFrame: prefix=192. FlingFrame: interface=lo FlingFrame: address=/127.0.0.1 FlingFrame: address=/0:0:0:0:0:0:0:1 FlingFrame: interface=net0 FlingFrame: interface=net1 FlingFrame: interface=net2 FlingFrame: interface=net3 FlingFrame: interface=ppp0 FlingFrame: interface=eth0 FlingFrame: interface=eth1 FlingFrame: interface=eth2 FlingFrame: interface=eth3 FlingFrame: interface=ppp1 FlingFrame: interface=eth4 FlingFrame: address=/192.168.0.107 FlingFrame: networkAddress=/192.168.0.107 RampClient: device=http://192.168.0.101:8008 RampClient: apps url=http://192.168.0.101:8008/apps/ RampClient: get response code=200 RampClient: lastUrl=http://192.168.0.101:8008/apps/00000000-0000-0000-0000-00000 0000000 RampClient: get response=<?xml version="1.0" encoding="UTF-8"?>

00000000-0000-0000-0000-000000000000 running http://192.168.0.101:8008/connection/00000000-0000-0000-00 00-000000000000 com.google.chromecast.home RampClient: Content-Type=application/xml RampClient: Content-Length=531 RampClient: delete response code=200 RampClient: delete response= RampClient: get response code=200 RampClient: get response= 8319bd0c-b12a-4388-8359-98eb04c4e191_1 stopped RampClient: state=stopped RampClient: post response code=201 RampClient: post response= RampClient: post response location=http://192.168.0.101:8008/apps/8319bd0c-b12a- 4388-8359-98eb04c4e191_1/web-161 RampClient: Access-Control-Allow-Methods=GET, POST, DELETE, OPTIONS RampClient: Access-Control-Expose-Headers=Location RampClient: Location=http://192.168.0.101:8008/apps/8319bd0c-b12a-4388-8359-98eb 04c4e191_1/web-161 RampClient: Access-Control-Allow-Origin=chrome-extension://boadgeojelhgndaghljhd icfkmllpafd RampClient: Content-Length=0 RampClient: get response code=200 RampClient: get response= 8319bd0c-b12a-4388-8359-98eb04c4e191_1 running RampClient: state=running RampClient: connectionServiceUrl=null RampClient: protocol=null EmbeddedServer: GET '/' RampClient: get response code=200 RampClient: get response= 8319bd0c-b12a-4388-8359-98eb04c4e191_1 stopped RampClient: state=stopped RampClient: connectionServiceUrl=null RampClient: protocol=null okt 16, 2013 11:06:43 EM com.entertailion.java.fling.Log i INFO: RampClient: connectionServiceUrl is null FileDrop: drop complete. FileDrop: normal border restored.
NoRulesJustFeels commented 10 years ago

Restart your Chromecast device to make sure the serial number is sent to Google.

HalifBakri commented 10 years ago

I have rebooted the ChromeCast in my previous attempts as well. Still gives me the same error though.