NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

My tile server is randomly not loading certain tiles, with the error message (failed) net::ERR_CERT_DATE_INVALID.

Here is a picture that shows that the issue.

I tried the site on multiple devices and browsers, and the issue is the same. So something is happening server-side on the tile server.

This issue happens sporadically. In fact, the same tiles that didn't load initially would load just fine after I refresh the page.

But it is definitely very annoying to have to refresh the page constantly because certain tiles are not loading.

Anyone know why this problem is happening? It happens randomly and I haven't been able to pinpoint it so far, apart from the fact that the problem is happening in the 158th line in TileLayer.js, which is the following line:

tile.src = this.getTileUrl(coords);

asked 02 Aug '20, 06:34

valachio's gravatar image

valachio
418913
accept rate: 0%

edited 02 Aug '20, 06:35


This is probably due to time issues on your server or the client, check that both are set correctly and are synchronized, for example with NTP. It could very well be that the time offsets are just so that things some time fails some time not.

permanent link

answered 02 Aug '20, 09:17

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×204
×57

question asked: 02 Aug '20, 06:34

question was seen: 1,537 times

last updated: 02 Aug '20, 09:17

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum