vidi icon indicating copy to clipboard operation
vidi copied to clipboard

Layer loading issue

Open hrishiballal opened this issue 1 year ago • 3 comments

I am seeing a new error recently, I installed a fresh deployment and uploaded a couple of simple geometries in the public schema. When I use Vidi and try to turn on any layer, it goes in loop with the console error below. Any help would be appreciated.

image

hrishiballal avatar Oct 14 '24 20:10 hrishiballal

Just to add more context: getting this error during initialization: image

Where to define gc2host? I am using the default docker compose file

hrishiballal avatar Oct 18 '24 17:10 hrishiballal

gc2host should resolve to the gc2 container defined in compose if u remember correttly. check yout config.js - and ensure that the container is reachable

i'm thinking it is looking for this part:

// ===============================================
  // Following settings are set under build/startup.
  // They can not be altered in run-time.
  // ===============================================

  // ========================================
  // Which back-end is used. "gc2" or "carto"
  // ========================================

  backend: "gc2",

  // ==========================================
  // GC2 host. Both HTTP and HTTPS is supported
  // Carto is hardcoded to carto.com
  // ==========================================

  gc2: {
    host: "http://gc2core",
  },
  redis: {
    host: "redis:6379",
    db: 3,
  },

  // ===============================================================

giovanniborella avatar Oct 21 '24 06:10 giovanniborella

Thank you, I am checking this, I am using the default docker compose, I am trying to use other ports e..g 127.0.0.1:9000 or http://host.docker.internal:9000 , I also tried to change the networking. More shortly, thanks again!

BTW I am using Ubuntu 22.04 and Docker

hrishiballal avatar Oct 21 '24 08:10 hrishiballal