Printing Error when RDP

There are some printing errors when printing from RDP. I was able to change the name to document printing thanks to bitnami and guacamole. The diver is able automatically added on the RDP side, which is impressive but the following errors pop up.

and the 2nd doc will show as printer is offline

Any idea or what solution can solve this issue?

Hi @chewkheng,

Thanks for using Bitnami. Can you give us more information about what are you trying to achieve? I understand you are printing a document, but where is the printer installed, in the Windows machine you are connecting to with RDP or in your local machine from which you are connecting? Sorry for the dummy question, but I’m not a Guacamole specialist.

We also have a Support Tool that will gather relevant information for us to analyze your configuration and logs. Could you please execute it on the machine where the stack is running by following the steps described in the guide below?

Please note that you need to paste the code ID that is shown at the end.

Hi @gongomgra

Thanks for reply, the printer driver is created by guacamole itself and mapped on the RDP windows server, as this configuration are made in guacamole > “connection” setting side.

The achievement that we would like to have a RDP session and make available the file to be download/ print thru the web browser and save it as .pdf file and the local user are able to print direct locally or attached the .pdf file to email.

The message that pop up as showed is from the remote side on the windows server 2012, and it was unable to create the .pdf and download by the web browser.

Hi @chewkheng,

Can you check the logs for any error related to this? Can you also run the bnsupport tool as mentioned in my previous post?

@gongomgra

We did run the bnsuuport tool and the code is 6592f285-b2c6-ec2c-a098-38a04bde08a5

Hope the information is able to help

Hi @chewkheng,

Thanks for sending the bnsupoprt code. According to it, your services aren’t running (which is weird). Can you try to restart them?

-----------------------------------
Get the ctlscript status
-----------------------------------
Running: ./ctlscript.sh status
In: /opt/bitnami

Output:

postgresql not running
apache not running
tomcat not running
guacd not running

Run the next command

sudo /opt/bitnami/ctlscript.sh restart

Apart from that, I see the next errors related to Guacamole in the Tomcat logs. Can you check the file as well? I don’t see any reference to RDP, but I’m afraid I don’t know how the Guacamole app works internally

14:10:34.337 [http-nio-8080-exec-5] INFO  o.a.g.r.auth.AuthenticationService - User "admin" successfully authenticated from _REDACTED_IP_ADDRESS_.
14:10:34.338 [http-nio-8080-exec-5] WARN  o.a.g.e.AuthenticationProviderFacade - User data retrieval attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs.
14:10:34.338 [http-nio-8080-exec-5] WARN  o.a.g.e.AuthenticationProviderFacade - User data retrieval attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs.
14:10:34.384 [http-nio-8080-exec-5] WARN  o.a.g.e.AuthenticationProviderFacade - User data retrieval attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs.
14:10:34.384 [http-nio-8080-exec-5] WARN  o.a.g.e.AuthenticationProviderFacade - User data retrieval attempt ignored because the relevant authentication provider could not be loaded. Please check for errors earlier in the logs.
14:10:37.643 [http-nio-8080-exec-10] INFO  o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is "/opt/bitnami/guacamole".
14:10:39.459 [http-nio-8080-exec-3] INFO  o.a.g.tunnel.TunnelRequestService - User "admin" connected to connection "3".
Exception in thread "Thread-5" 14:10:42.788 [http-nio-8080-exec-2] INFO  o.a.g.tunnel.TunnelRequestService - User "admin" disconnected from connection "3". Duration: 3324 milliseconds
java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
    at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:430)
    at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:309)
    at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:250)
    at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:191)
    at org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText(WsRemoteEndpointBasic.java:37)
    at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.sendInstruction(GuacamoleWebSocketTunnelEndpoint.java:152)
    at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.access$200(GuacamoleWebSocketTunnelEndpoint.java:53)
    at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:253)

As this seems to be an internal error in the application, can you ask for help to the official Guacamole team? Note they are the app expert, and they have further knowledge of how the application works. Maybe there is an additional step required to make the printing feature properly work using RDP or they can, at least, help you to properly debug your issue

http://guacamole.apache.org/support/

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.