On Thu, Oct 19, 2023 at 9:01 AM miao <[email protected]> wrote: > Thx a lot. > I have read some guacamole client source code. I feel uncertain about the > error code in file named ‘en.json’ . > > ``` > > ERROR_CLIENT_202 > > ERROR_CLIENT_207 > > ``` > > The code like 207 is means guac_code? There is enum named as > GuacamoleStatus. Am I right? >
Yes, these are Guacamole protocol errors. The translation between these and the upstream (VNC, for example) errors is done in the guacd source code, within the source code for each protocol (src/protocols/vnc/vnc.c, in the case of VNC). The ability to do that translation relies on the client library, libvncclient in the case of VNC, as Mike mentioned, being able to provide meaningful feedback on what has gone wrong in the actual connection to the server. Since, as Mike mentioned, libvncclient's "rfbInitClient" function provides no detail at all on why the connection failed, we have no way of knowing what actually failed and so cannot provide any meaningful error message translation between VNC and Guacamole. -Nick
