[Qgis-user] Problems on PostGIS disconnect

Christian Yrrman yrrman at gmail.com
Tue Nov 8 04:52:44 PST 2016


Hi Arni,


when you defined the database connection, did you opt for "Saving the
password"? If not, this might be the error, as you will likely not pe
prompted for the password again (happened to me when trying to add rasters
to the canvas).


Best! Christian


On Tue, Nov 8, 2016 at 12:16 PM, Árni Geirsson <arni at alta.is> wrote:

> Hi
> When I connect to PostGIS, the connection gets closed after a while if
> there is no activity. The problem is that the connection is not
> reestablished successfully. If I try to load a PostGIS layer with DB
> Manager after what looks like a reconnect, QGIS complains that the layer is
> invalid, even though it loaded successfully when the connection was
> properly alive. The only way I have found is to close QGIS and open it
> again, reconnect to the database and then everything is fine - meanwhile
> nothing has changed in the project or the data. Closing DB Manager and
> opening it again makes no difference.
> Can anyone shed some light on this?
>
> Arni
>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20161108/263359df/attachment.html>


More information about the Qgis-user mailing list