Processing Forum
java.io.IOException: Server returned HTTP response code: 406 for URL: http://www.teamliquid.net/video/streams/?xml=1&filter=liveat sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436)at java.net.URL.openStream(URL.java:1010)at processing.core.PApplet.createInputRaw(PApplet.java:7001)at processing.core.PApplet.createInput(PApplet.java:6969)at processing.core.PApplet.createReader(PApplet.java:6763)at processing.core.PApplet.loadXML(PApplet.java:6105)at processing.core.PApplet.loadXML(PApplet.java:6095)at HTTPClient.setup(HTTPClient.java:18)at processing.core.PApplet.handleDraw(PApplet.java:2280)at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:243)at processing.core.PApplet.run(PApplet.java:2176)at java.lang.Thread.run(Thread.java:662)http://www.teamliquid.net/video/streams/?xml=1&filter=live does not exist or could not be readjava.net.MalformedURLExceptionat java.net.URL.<init>(URL.java:601)at java.net.URL.<init>(URL.java:464)at java.net.URL.<init>(URL.java:413)at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:648)at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186)at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:772)at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:232)at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)at processing.data.XML.<init>(XML.java:170)at processing.core.PApplet.loadXML(PApplet.java:6105)at processing.core.PApplet.loadXML(PApplet.java:6095)at HTTPClient.setup(HTTPClient.java:18)nullat processing.core.PApplet.handleDraw(PApplet.java:2280)at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:243)at processing.core.PApplet.run(PApplet.java:2176)at java.lang.Thread.run(Thread.java:662)
I also tried to use saveStrings(); - still not working.java.net.UnknownHostException: http://www.teamliquid.net/video/streams/?xml=1&filter=liveat java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195)at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)at java.net.Socket.connect(Socket.java:529)at java.net.Socket.connect(Socket.java:478)at java.net.Socket.<init>(Socket.java:375)at java.net.Socket.<init>(Socket.java:189)at processing.net.Client.<init>(Unknown Source)at HTTPClient.setup(HTTPClient.java:42)at processing.core.PApplet.handleDraw(PApplet.java:2280)at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:243)at processing.core.PApplet.run(PApplet.java:2176)at java.lang.Thread.run(Thread.java:662)java.lang.NullPointerExceptionat processing.net.Client.write(Unknown Source)at processing.net.Client.write(Unknown Source)at HTTPClient.setup(HTTPClient.java:43)at processing.core.PApplet.handleDraw(PApplet.java:2280)at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:243)at processing.core.PApplet.run(PApplet.java:2176)at java.lang.Thread.run(Thread.java:662)java.lang.NullPointerExceptionat processing.net.Client.write(Unknown Source)at processing.net.Client.write(Unknown Source)at HTTPClient.setup(HTTPClient.java:44)at processing.core.PApplet.handleDraw(PApplet.java:2280)at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:243)at processing.core.PApplet.run(PApplet.java:2176)at java.lang.Thread.run(Thread.java:662)