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

mlgl error, raster error #1315

Open
asukachiharu opened this issue Jul 16, 2024 · 1 comment
Open

mlgl error, raster error #1315

asukachiharu opened this issue Jul 16, 2024 · 1 comment

Comments

@asukachiharu
Copy link

asukachiharu commented Jul 16, 2024

  • tileserver-gl v4.11.1
  • CentOS 7

The source J exists in the data, and the copied tilejson is like: http://localhost:10000/data/J.json.
However, the console outputs an error, so when rendering raster, it shows a 500 error on the console. The docker logs show [ParseError: The document is empty. at offset 0].

mlgl: {
  class: 'Style',
  severity: 'ERROR',
  text: 'Failed to load source J: The document is empty. at offset 0'
}
@asukachiharu asukachiharu closed this as not planned Won't fix, can't repro, duplicate, stale Jul 17, 2024
@asukachiharu asukachiharu reopened this Jul 17, 2024
@MaRaSu
Copy link

MaRaSu commented Oct 27, 2024

@asukachiharu I ran into this same error when my style had a sprite URL that did not exist (I had screwed up migration to new sprite URL and removed old one before all my map styles had been updated). Your problem might be the same, might be different, but the point is that sometimes the error messages from the server can be somewhat cryptic and you should perhaps investigate multiple reasons for the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants