Public published map are not loading

37 views
Skip to first unread message

Olivier Vernin

unread,
Jun 25, 2020, 9:20:07 AM6/25/20
to cartodb
Hi,

I have an instance installed with the development setup (builder on 3000, Mapsapi on 8181 and SQLapi on 8080) on a remote server. I created a dev user and was able to log in, import a dataset and create a map. Both the map and dataset are public. However, when sharing the public URL of this map, the map part of the page stays grey. Any idea why it is happening, some idea below?

1- Could it be a network configuration issue even though the builder is working correctly?
2- Is it because the dev user has to be configured in a certain way?
3- Is it because an organization is needed to start viewing published maps?

Thank you


Screenshot 2020-06-25 at 15.13.33.png


Olivier Vernin

unread,
Jun 25, 2020, 4:00:11 PM6/25/20
to cartodb

I found a 404 error in the logs related to named_getMapConfig when trying to view the map.

...
Jun 25 19:55:49 geo.meridia.land node[9819]: [2020-06-25 19:55:49.848] [INFO] [default] - undefined GET meridia.geo.meridia.land:8181/api/v1/map/named/tpl_7b948d76_cbf8_4ecb_8fea_58a3d85a74b1/jsonp?config=%7B%22buffersize%22%3A%7B%22mvt%22%3A0%7D%2C%22styles%22%3A%7B%221%22%3A%22%23layer%5B%27mapnik%3A%3Ageometry_type%27%3D1%5D%20%7B%5Cn%20%20marker-width%3A%207%3B%5Cn%20%20marker-fill%3A%20%23EE4D5A%3B%5Cn%20%20marker-fill-opacity%3A%200.9%3B%5Cn%20%20marker-line-color%3A%20%23FFFFFF%3B%5Cn%20%20marker-line-width%3A%201%3B%5Cn%20%20marker-line-opacity%3A%201%3B%5Cn%20%20marker-placement%3A%20point%3B%5Cn%20%20marker-type%3A%20ellipse%3B%5Cn%20%20marker-allow-overlap%3A%20true%3B%5Cn%7D%5Cn%23layer%5B%27mapnik%3A%3Ageometry_type%27%3D2%5D%20%7B%5Cn%20%20line-color%3A%20%234CC8A3%3B%5Cn%20%20line-width%3A%201.5%3B%5Cn%20%20line-opacity%3A%201%3B%5Cn%7D%5Cn%23layer%5B%27mapnik%3A%3Ageometry_type%27%3D3%5D%20%7B%5Cn%20%20polygon-fill%3A%20%23826DBA%3B%5Cn%20%20polygon-opacity%3A%200.9%3B%5Cn%20%20%3A%3Aoutline%20%7B%5Cn%20%20%20%20line-color%3A%20%23FFFFFF%3B%5Cn%20%20%20%20line-width%3A%201%3B%5Cn%20%20%20%20line-opacity%3A%200.5%3B%5Cn%20%20%7D%5Cn%7D%22%2C%222%22%3A%22%23layer%5B%27mapnik%3A%3Ageometry_type%27%3D1%5D%20%7B%5Cn%20%20marker-width%3A%207%3B%5Cn%20%20marker-fill%3A%20%23EE4D5A%3B%5Cn%20%20marker-fill-opacity%3A%200.9%3B%5Cn%20%20marker-line-color%3A%20%23FFFFFF%3B%5Cn%20%20marker-line-width%3A%201%3B%5Cn%20%20marker-line-opacity%3A%201%3B%5Cn%20%20marker-type%3A%20ellipse%3B%5Cn%20%20marker-allow-overlap%3A%20true%3B%5Cn%7D%5Cn%23layer%5B%27mapnik%3A%3Ageometry_type%27%3D2%5D%20%7B%5Cn%20%20line-color%3A%20%234CC8A3%3B%5Cn%20%20line-width%3A%201.5%3B%5Cn%20%20line-opacity%3A%201%3B%5Cn%7D%5Cn%23layer%5B%27mapnik%3A%3Ageometry_type%27%3D3%5D%20%7B%5Cn%20%20polygon-fill%3A%20%23826DBA%3B%5Cn%20%20polygon-opacity%3A%200.9%3B%5Cn%20%20%3A%3Aoutline%20%7B%5Cn%20%20%20%20line-color%3A%20%23FFFFFF%3B%5Cn%20%20%20%20line-width%3A%201%3B%5Cn%20%20%20%20line-opacity%3A%200.5%3B%5Cn%20%20%7D%5Cn%7D%22%7D%7D&callback=_cdbc_2078946992_1 200 2 ms -> text/jav
Jun 25 19:55:49 geo.meridia.land node[9819]: ascript; charset=utf-8 ({"named_getMapConfig":1,"mapType":"named","total":1}) ({"mainError":{"statusCode":404,"message":"Template  tpl 7b948d76 cbf8 4ecb 8fea 58a3d85a74b1  of user  meridia  not found","name":"Error","label":"NAMED MAP LAYERGROUP"},"moreErrors":[]})
...

Olivier Vernin

unread,
Jun 30, 2020, 6:06:39 AM6/30/20
to cartodb
Moving to a production deployment fixed the issue https://github.com/sverhoeven/docker-cartodb/issues/22
Reply all
Reply to author
Forward
0 new messages