I believe there are cases where this error can appear due to WebSocket being inadvertently blocked by a network device or proxy. If the WebSocket connection attempt fails due to certain kinds of interference, the browser will abruptly abort the connection attempt and server-side resources for that connection will not be released by the time the client retries using HTTP.
Do you see any warnings in the logs regarding WebSocket and the HTTP fallback? Anything on the network that might be interfering? - Mike On Fri, Sep 24, 2021, 08:00 Stratton, Craig <[email protected]> wrote: > Hi Nick, > > Guacd version 1.3.0 running native on Ubuntu 20.04 > > > > Apologies, I had read and understood that guacd should not be the problem > and did not need restarting, but wrote that anyway for some reason. > > I had recently restarted it to change the loglevel. > > > > Client has been complied with Postgres, RADIUS and LDAP authentication, > although could not get RADIUS to work and is disabled. > > User is authenticated against LDAP, and database Groups match defined LDAP > groups, so no users defined in local database, they see database defined > connections based on LDAP group membership. This all works as expected. > > > > Thank you, > > Craig > > > > > > *From:* Nick Couchman <[email protected]> > *Sent:* 24 September 2021 14:42 > *To:* [email protected] > *Subject:* Re: Exhausted simultaneous connection error > > > > *This message originated from outside your organization* > ------------------------------ > > On Fri, Sep 24, 2021 at 7:48 AM Stratton, Craig < > [email protected]> wrote: > > Hi, > > I am continually running into this error and cannot seem to resolve it. > > > > “The Guacamole server is denying access to this connection because you > have exhausted the limit for simultaneous connection use by an individual > user. Please close one or more connections and try again.” > > > > There are no connections listed for the user when I look to close them. > > > > I have some connections set with default blank number of connections per > user, some with 1 some with 10, but it happens on all of them. > > > > I can connect, disconnect, reconnect fine after creating a new connection, > then if I try again the following day I get that error, even after closing > properly. > > > > I have not set any of the guacamole.properties file entries to override > any defaults on number of connections, as the way I read the manual, there > are no limits by default. > > > > If I stop and restart guacd and tomcat, it makes no difference and still > cannot connect, it will just randomly start working again after some > undetermined timeout? > > > > Just to note, here, guacd is not related to this issue, as the connection > tracking, including simultaneous connections, is done by Tomcat/Guacamole > Client. I say that only to note that restarting guacd isn't going to do > anything for this. Restarting Tomcat should clear things out, but you > shouldn't need to mess with guacd. That said, guacd logs may help you to > determine if an unexpected connection is coming through, so might not be a > bad idea to pay attention to those. > > > > What version of Guacamole are you running? What configuration - Docker or > native, MySQL, Postgres, etc.? > > > > -NIck > Public Sector Partnership Services Limited (PSPS) is a Local Authority > Trading Company, wholly owned by East Lindsey District Council, South > Holland District Council and Boston Borough Council in Lincolnshire. PSPS > delivers services to and on behalf of the three District Councils. > Registered Company details: Public Sector Partnership Services Limited, 2 > New Bailey, 6 Stanley Street, Salford, Greater Manchester M3 5GS Registered > in England, Number – 07289357 Confidentiality: This e-mail and its > attachments are intended for the above named only and may contain > confidential and privileged information. If you are not the intended > recipient or the person responsible for delivering the email to the > intended recipient, be advised that you have received this email in error > and that any use, dissemination, forwarding, printing, or copying of this > email is strictly prohibited. If you have received this email in error, > please notify the sender. The views expressed in this message are my own, > and any negotiations by email are subject to formal contract. Any > correspondence with the sender will be subject to automatic monitoring for > inappropriate content. Your information will be processed in accordance > with the law, in particular current Data Protection legislation. If you > have contacted Public Sector Partnership Services for a service then your > personal data will be processed in order to provide that service or answer > your enquiry. For full details of our Privacy Policy and your rights please > go to our website at https://www.pspsl.co.uk/privacy. The information > that you provide will only be used for Company purposes unless there is a > legal authority to do otherwise. The contents of e-mails may have to be > disclosed to a request under the Data Protection Act and the Freedom of > Information Act 2000. >
