Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layer loading issue #300

Open
hrishiballal opened this issue Oct 14, 2024 · 3 comments
Open

Layer loading issue #300

hrishiballal opened this issue Oct 14, 2024 · 3 comments

Comments

@hrishiballal
Copy link

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
Copy link
Author

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

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

@giovanniborella
Copy link
Contributor

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,
  },

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

@hrishiballal
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants