← Back to team overview

sikuli-driver team mailing list archive

[Question #816154]: VNC: Exception in ZlibInStream. How to set the encoding to RAW?

 

New question #816154 on SikuliX:
https://answers.launchpad.net/sikuli/+question/816154

Hello, 

I encountered an exception when trying to connect a server VNC. 

CConnection: Server supports RFB protocol version 3.8
CConnection: Using RFB protocol version 3.8
Exception in thread "Thread-27" com.tigervnc.rdr.Exception: ZlibInStream: inflate failed
	at com.tigervnc.rdr.ZlibInStream.decompress(ZlibInStream.java:128)
	at com.tigervnc.rdr.ZlibInStream.overrun(ZlibInStream.java:97)
	at com.tigervnc.rdr.InStream.check(InStream.java:37)
	at com.tigervnc.rdr.InStream.check(InStream.java:44)
	at com.tigervnc.rdr.InStream.check(InStream.java:45)
	at com.tigervnc.rdr.InStream.readS8(InStream.java:55)
	at com.tigervnc.rdr.InStream.readU8(InStream.java:64)
	at com.tigervnc.rfb.ZRLEDecoder.readRect(ZRLEDecoder.java:49)
	at com.tigervnc.rfb.CMsgReader.readRect(CMsgReader.java:110)
	at com.tigervnc.rfb.CMsgReaderV3.readMsg(CMsgReaderV3.java:91)
	at com.tigervnc.rfb.CConnection.processMsg(CConnection.java:67)
	at com.sikulix.vnc.VNCClient.processMessages(VNCClient.java:242)
	at org.sikuli.vnc.VNCScreen$1.run(VNCScreen.java:88)
	at java.base/java.lang.Thread.run(Thread.java:829)

>From my understanding it is because of a problem when decompress pixels in FrameBuffer. Is there a way  to specify that I want the encoding RAW to the server ?  Thank you so much for help !
 

I'm using the ready to use SikulixIDE 2.0.5, Windows 10 and java 11. 


-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.