diff --git a/cmd/rdpgw/protocol/server.go b/cmd/rdpgw/protocol/server.go
index 0a7fe8fd2c407aff5fffb34f1e87491a32b21dc1..11e231ec3ba0159bb4fd5b6b13f1361d3f103fe0 100644
--- a/cmd/rdpgw/protocol/server.go
+++ b/cmd/rdpgw/protocol/server.go
@@ -152,7 +152,7 @@ func (s *Server) Process(ctx context.Context) error {
 				return err
 			}
 			log.Printf("Connection established")
-			msg := s.channelResponse(E_PROXY_INTERNALERROR)
+			msg := s.channelResponse(ERROR_SUCCESS)
 			s.Session.TransportOut.WritePacket(msg)
 
 			// Make sure to start the flow from the RDP server first otherwise connections