kartoza / docker-qgis-desktop

A docker project that will run your QGIS desktop app inside a docker container
GNU General Public License v2.0
98 stars 46 forks source link

Plugin installation failed: Connection closed #21

Closed ksketo closed 7 years ago

ksketo commented 7 years ago

I am not able to install python plugins. I get either a connection timeout or connection closed error.

I am using version 2.14 and the status for plugin repositories is 'connected'.

Edit: How can I at least install a plugin manually if not possible through the GUI?

timlinux commented 7 years ago

Can you share how you are running QGIS in docker? (please paste the command line used to launch it)

ksketo commented 7 years ago

That's my docker-compose.yml:

db:
  image: kartoza/postgis:9.4-2.1
  environment:
    - USERNAME=docker
    - PASS=docker

qgisdesktop:
  image: kartoza/qgis-desktop:2.14
  hostname: qgis-server
  volumes:
    # Wherever you want to mount your data from
    - ./gis:/root/gis
    - ./qgis_sample_data:/root/qgis_sample_data
    # Unix socket for X11
    - /tmp/.X11-unix:/tmp/.X11-unix
  links:
    - db:db
  ports:
    - 8888:8888
  environment:
    - DISPLAY=192.168.200.28:0
  command: /usr/bin/qgis

I am running it on Mac os x btw.

ksketo commented 7 years ago

This issue is probably related to the plugin website. Tried to download plugins through the browser and I can't. Created a new issue here https://github.com/qgis/QGIS-Django/issues/50.

ksketo commented 7 years ago

It was due to the network. Was fixed when I connected to a different network.