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).
On Tue, Nov 8, 2016 at 12:16 PM, Árni Geirsson <a...@alta.is> wrote:
> 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?
> Qgis-user mailing list
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Qgis-user mailing list
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user