Comments (9)
I was able to reproduce dead lock here https://github.com/dekart-xyz/dekart/blob/v0.7.0/src/server/report/report.go#L36
Getting my head around it
from dekart.
Some example errors (with identifying data removed):
googleapi: Error 403: Access Denied
googleapi: Error 404: Not found
googleapi: Error 400: Unrecognized name
these errors caused the self-hosted website to crash.
from dekart.
Hey @philipmargeotab will try to help you. I'm running Dekart instance on GCP for the Playground, so it should be possible.
Can you please tell:
- which version do you use
- copy here
app.yaml
(without sensitive details of course)
Also can you please set DEKART_LOG_DEBUG: "1"
in env_variables
and share here logs
from dekart.
Version is 0.7
###
# https://cloud.google.com/appengine/docs/flexible/custom-runtimes/configuring-your-app-with-app-yaml#intro
service: dekart-test
runtime: custom
env: flex
manual_scaling:
instances: 1 # important as dekart designed to work on single instance
resources:
memory_gb: 64.0 # recommended to handle up to 1M points
cpu: 16
disk_size_gb: 100
env_variables:
DEKART_LOG_DEBUG: "1"
DEKART_POSTGRES_DB: "xxxxxx"
DEKART_POSTGRES_USER: "xxxxxx"
DEKART_POSTGRES_PASSWORD: "xxxxxx"
DEKART_POSTGRES_PORT: "xxxx"
# see https://cloud.google.com/sql/docs/mysql/connect-app-engine-flexible
DEKART_POSTGRES_HOST: "10.x.x.x" # UNKNOWN
DEKART_CLOUD_STORAGE_BUCKET: "geotab-dekart-test" # "$BUCKET"
DEKART_BIGQUERY_PROJECT_ID: "test-xx" # "$PROJECT_ID"
DEKART_MAPBOX_TOKEN: "pk.eyxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" #
# "$MAPBOX_TOKEN"
beta_settings:
# see https://cloud.google.com/sql/docs/mysql/connect-app-engine-flexible
cloud_sql_instances: "test-xx:europe-west1:dekart-db=tcp:xxxx"
# "$PROJECT_ID:europe-west1:$DB_INSTANCE_NAME=tcp:xxxx"
###
from dekart.
Hey I think I did manage to reproduce problem, will keep you posted here
from dekart.
Hey so I believe that problem was with a deadlock. In Dekart there is of course a lot error handling but deadlock formally is not an error. It's not easy to reproduce locally.
I found few potential issues in the code and address them d4395ce
@philipmargeotab could you pease update Dekart to 0.7.2
and share a feedback if issue still reproducing
from dekart.
Yes it appears to work now; no more deadlock. Thank you!
from dekart.
Great!
from dekart.
Fixed in 0.7.2
from dekart.
Related Issues (20)
- Connecting multiple sources at the same time
- AI queries (generate query based on AI request and db schema) HOT 4
- Time series
- Embed map in Confluence
- Concurrent Map read and map write
- [Feature] Add in hatched and dotted symbology
- [Feature] Add labels to polygons
- Illegal base64 data at input byte 326
- Select Project ID and Storage Bucket over UI
- Save maps annotations
- [Bug] Slack link is no longer active
- [Bug] Because of the Button spinner, user can't choose the team plan again
- [Bug] query names lost upon forking report
- [Bug] kepler.gl layers are reordered when a query is refreshed
- [Feature] option to not change map view upon query refresh
- [Feature] scheduled auto-refresh
- [Bug] can't invite more than 1 team member HOT 1
- Add DuckDb support MVP
- Config Name Is Incorrect For Data Source In Documentation HOT 5
- [Feature] Provide Support for Uploading Json files HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dekart.