Comments (15)
I made v4.6.5 which seems to have worked with all releases. unfortunately I'm not sure I have found a real solution. maxsockets seems to help but I'm not sure if it is just a intermittent network issue caused by QEMU or slowness from emulation. I tried several ideas to fix the ECONNRESET errors on random packages, but not much seemed to help.
I'm going to close this for now, but I think it is going to pop up again on future releases since it seems to happen at random.
from tileserver-gl.
Ah just realized that this might be related to #1006?
from tileserver-gl.
This shouldn't be related to #1006 , that has not been implemented yet. request should still exists, it is strange it doesn't.
from tileserver-gl.
I tested it here and it works for me.
# docker run --rm -it -v $(pwd):/data -p 8080:8080 maptiler/tileserver-gl
Unable to find image 'maptiler/tileserver-gl:latest' locally
latest: Pulling from maptiler/tileserver-gl
96d54c3075c9: Pull complete
49e0f754ecbd: Pull complete
db68d9848126: Pull complete
986720b257fb: Pull complete
2f9101524c54: Pull complete
a24c8b36d351: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:b2f83d8a650c7b2279049beec0a485285c43ccf9b1d19e936354c08c9b7127bc
Status: Downloaded newer image for maptiler/tileserver-gl:latest
Starting tileserver-gl v4.6.2
No input file specified, using zurich_switzerland.mbtiles
[INFO] Automatically creating config file for zurich_switzerland.mbtiles
[INFO] Only a basic preview style will be used.
[INFO] See documentation to learn how to create config.json file.
Run with --verbose to see the config file here.
Starting server
Listening at http://[::]:8080/
Startup complete
maybe run with the version specified to make sure it is using the latest components?
docker run --rm -it -v $(pwd):/data -p 8080:8080 maptiler/tileserver-gl:v4.6.2
one thing to note, I see you have 8080:80 in your command, which is out of date. the internal docker port is now 8080 also, so you should have 8080:8080 in you command, as noted in https://maptiler-tileserver.readthedocs.io/en/latest/installation.html#docker
from tileserver-gl.
Thanks for checking. :)
I tried on two other machines. On another Mac I get the same issue, on a Linux machine it worked.
Strangely, when I build the Docker image locally, it also works on the original machine.
I will investigate a bit more and see whether this is a general issue or a problem with my local setups.
Slightly related, during debugging I saw a deprectation warning for the Node install script in the CI logs.
from tileserver-gl.
Are the macs failing arm64? maybe the arm docker image failed
from tileserver-gl.
Yes, indeed, both are arm64
from tileserver-gl.
looks like maybe it had a network error building the arm64 version
from tileserver-gl.
However, this error wasn't only happening in the last build, but also some of the previous ones.
nautobot/nautobot#4479 sounds like a similar thing
from tileserver-gl.
I have the same issue with arm64 on my mac
from tileserver-gl.
Btw, version 4.4.10 still works as a current workaround
from tileserver-gl.
I tested using 'npm install' instead of 'npm ci' but that doesn't seem to have helped. I also tried moving to an older release of ubuntu docker image but that didn't seem to help either....
from tileserver-gl.
Can you try v4.6.3 and tell me if it works for you. I tried it here on a raspberry pi and it seemed to work as expected.
I tried a bunch of things to fix this, but I think in the end what did it was adding "--maxsockets 1" to the npm ci command. It seemed without that, the arm64 builder kept failing on the install of random npm components. Perhaps npm was making to many connections for this emulated arm64 environment.
from tileserver-gl.
Works now! Thank you very much for looking into it.
from tileserver-gl.
This re-emerged with the last release v4.6.4 trying to fix the light version ...so I guess I haven't found a solution yet. v4.6.3 should work for the full version
from tileserver-gl.
Related Issues (20)
- min/maxRendererPoolSizes in config have no effect HOT 8
- Multiple mbtiles serving on tileserver-gl HOT 1
- maptiler-server & nginx proxy to a URL with sub-folder HOT 3
- Texts are cut off in raster maps and static maps HOT 5
- maxScaleFactor @4x and more does not work HOT 3
- Maptiler retaining Renderer after each process.
- Question about cache. Fast loading of tiles. HOT 1
- MBtiles data with static png images lead to erroneous URLs in index.json HOT 3
- Unhandled exception when pmtiles is used and GeoJSON is requested HOT 5
- Provided Tilejson file's "tiles" attribute uses "HTTP" instead of "HTTPS" HOT 3
- Add cache bust feature HOT 3
- style paths with (null) in sources
- Serving multiple maps (.MBTiles) in th same server. HOT 2
- Multiple mbtiles in dir (docker) HOT 2
- Zombie processes after recent update HOT 11
- Raster tiles file recognized as vector tiles HOT 3
- Map Fonts: 400 Bad Request HOT 10
- Unknown expression "pitch" in layers filter HOT 4
- Failed to open X display when running in docker HOT 9
- libicu60 dependancy is not available with ubuntu 24 HOT 2
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 tileserver-gl.