[ https://issues.apache.org/jira/browse/GUACAMOLE-919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17073761#comment-17073761 ]
Douglas Heriot commented on GUACAMOLE-919: ------------------------------------------ [~mechanix] socketTimeout is not a setting on pgBouncer - it's a setting on Guacamole that I've added in to pass through to the pgjdbc driver. It looks like by your test that pgBouncer isn't actually solving the issue - the socketTimeout setting is essential to fix this. Can you try building guacamole with my pull request, and running with POSTGRES_SOCKET_TIMEOUT=5 ? > An I/O error occurred while sending to the backend > -------------------------------------------------- > > Key: GUACAMOLE-919 > URL: https://issues.apache.org/jira/browse/GUACAMOLE-919 > Project: Guacamole > Issue Type: Bug > Components: guacamole-auth-jdbc-postgresql > Affects Versions: 1.0.0 > Reporter: Mechanix > Assignee: Nick Couchman > Priority: Minor > Attachments: image-2020-01-27-15-19-26-634.png > > > Hi, > we use guacamole with postgresql and openid extension. Guacamole and guacd is > deployed inside a k8s cluster. > For some reason, the authentication doesn't succeed sporadically; there is > only a blank page and this error message in the guacamole log: > *[pool-1-thread-1] WARN o.a.i.d.pooled.PooledDataSource - Execution of ping > query 'SELECT 1' failed: An I/O error occurred while sending to the backend.* > I suspect there is a weird timeout happening between guacamole and postgresql > but couldn't figure out why. > Any hints are much appreciated. Thanks > > -- This message was sent by Atlassian Jira (v8.3.4#803005)