Giter VIP home page Giter VIP logo

Comments (15)

acalcutt avatar acalcutt commented on June 13, 2024 1

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.

hutec avatar hutec commented on June 13, 2024

Ah just realized that this might be related to #1006?

from tileserver-gl.

acalcutt avatar acalcutt commented on June 13, 2024

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.

acalcutt avatar acalcutt commented on June 13, 2024

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.

hutec avatar hutec commented on June 13, 2024

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.

acalcutt avatar acalcutt commented on June 13, 2024

Are the macs failing arm64? maybe the arm docker image failed

from tileserver-gl.

hutec avatar hutec commented on June 13, 2024

Yes, indeed, both are arm64

from tileserver-gl.

acalcutt avatar acalcutt commented on June 13, 2024

looks like maybe it had a network error building the arm64 version
image

from tileserver-gl.

hutec avatar hutec commented on June 13, 2024

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.

MichielMortier avatar MichielMortier commented on June 13, 2024

I have the same issue with arm64 on my mac

from tileserver-gl.

MichielMortier avatar MichielMortier commented on June 13, 2024

Btw, version 4.4.10 still works as a current workaround

from tileserver-gl.

acalcutt avatar acalcutt commented on June 13, 2024

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.

acalcutt avatar acalcutt commented on June 13, 2024

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.

hutec avatar hutec commented on June 13, 2024

Works now! Thank you very much for looking into it.

from tileserver-gl.

acalcutt avatar acalcutt commented on June 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.