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

The tile can't load! #7

Open
zxzfcsu opened this issue Jul 2, 2018 · 2 comments
Open

The tile can't load! #7

zxzfcsu opened this issue Jul 2, 2018 · 2 comments

Comments

@zxzfcsu
Copy link

zxzfcsu commented Jul 2, 2018

Hello! I installed an started as the document, and here is my status below.
status
But when I use the server,something were wrong.

  1. when I visit 127.0.0.1:3000
    3000
    3000-npm-status
    3000-status

  2. when I visit 127.0.0.1:3000/taiwanout/1/1/1.png
    the node.js command line print:
    {"body":{},"ip":"::ffff:127.0.0.1","method":"GET","url":"/taiwanout/1/1/1.png","query":{},"params":{}}
    The browser is waiting for a response.

  3. when I visit http://127.0.0.1:3000/taiwanout/1/1/1
    the node.js command line print:
    {"body":{},"ip":"::ffff:127.0.0.1","method":"GET","url":"/taiwanout/1/1/1","query":{},"params":{}}
    The browser is waiting for a response.

Could anyone can solve this problem?Thanks in advance!

@georgbachmann
Copy link

georgbachmann commented Mar 6, 2019

I am having the same issue... did you solve it?

mbtiles-server --verbose --port 3001

MBTiles Server

  cache:         /Users/georgbachmann/mbtiles
  protocol:      http
  port:          3001
  domain:        127.0.0.1
  verbose:       true
  watch:         undefined

{"body":{},"ip":"::1","method":"GET","url":"/testmap/13/2893/4422.jpg","query":{},"params":{}}
^CTypeError: Cannot read property '0' of null
    at Object.headers (/usr/local/lib/node_modules/mbtiles-server/node_modules/@mapbox/tiletype/index.js:54:15)
    at GetTileRESTful.mbtiles.findOne.then.data (/usr/local/lib/node_modules/mbtiles-server/routes/wmts.js:131:24)

In my mbtiles database, the tile exists...

@DenisCarriere do you have any idea?

@DenisCarriere
Copy link
Owner

This library is no longer being maintained, feel free to send a PR with a fix if anyone does solve this issue.

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

3 participants