hbz / lobid-organisations

Transformation, web frontend, and API for lobid-organisations
http://lobid.org/organisations
Eclipse Public License 2.0
13 stars 3 forks source link

Tiles not shown #430

Closed acka47 closed 3 years ago

acka47 commented 4 years ago

Currently, no tiles are shown in detail entries, see e.g. http://lobid.org/organisations/DE-605

dr0i commented 4 years ago

Currently it's working again. Seems at least not very reliable. Maybe we want to setup our own tile server.

dr0i commented 4 years ago

Firefox->web_developer->network reveals: 429 Too Many Requests

dr0i commented 4 years ago

See https://github.com/hbz/lobid/issues/421 and #434.

dr0i commented 3 years ago

Reverted the use of lobid's tileserver proxy. Deployed to staging, see https://test.lobid.org/organisations/DBS-HH882.

acka47 commented 3 years ago

Doesn't work for me.

dr0i commented 3 years ago

Impossible. Oh, wait: have a look at the webconsole->network. Do you see "too many requests"? I see those not. Note that these requests ar done from within your browser, and your IP (or what) is counted and if this exceeds the tileservers threshold you are blocked (because of this lobid's tileserver proxy was a bad idea for it accumulates all requests coming from one IP instead of what is done now: decentralized requests.)

acka47 commented 3 years ago

Do you see "too many requests"

Yes, I see 429 with this response:

 <!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<title>Wikimedia Error</title>
<style>
* { margin: 0; padding: 0; }
body { background: #fff; font: 15px/1.6 sans-serif; color: #333; }
.content { margin: 7% auto 0; padding: 2em 1em 1em; max-width: 640px; }
.footer { clear: both; margin-top: 14%; border-top: 1px solid #e5e5e5; background: #f9f9f9; padding: 2em 0; font-size: 0.8em; text-align: center; }
img { float: left; margin: 0 2em 2em 0; }
a img { border: 0; }
h1 { margin-top: 1em; font-size: 1.2em; }
.content-text { overflow: hidden; overflow-wrap: break-word; word-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; hyphens: auto; }
p { margin: 0.7em 0 1em 0; }
a { color: #0645ad; text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: sans-serif; }
.text-muted { color: #777; }
</style>
<div class="content" role="main">
<a href="https://www.wikimedia.org"><img src="https://www.wikimedia.org/static/images/wmf-logo.png" srcset="https://www.wikimedia.org/static/images/wmf-logo-2x.png 2x" alt="Wikimedia" width="135" height="101">
</a>
<h1>Error</h1>
<div class="content-text">
<p>Our servers are currently under maintenance or experiencing a technical problem.

Please <a href="" title="Reload this page" onclick="window.location.reload(false); return false">try again</a> in a few&nbsp;minutes.</p>

<p>See the error message at the bottom of this page for more&nbsp;information.</p>
</div>
</div>
<div class="footer"><p>If you report this error to the Wikimedia System Administrators, please include the details below.</p><p class="text-muted"><code>Request from 2a02:908:5c2:c720:e59c:1695:b4ad:7fd5 via cp3059 frontend, Varnish XID 969834860<br>Upstream caches: cp3059 int<br>Error: 429, Too Many Requests at Thu, 24 Sep 2020 08:31:42 GMT</code></p>
</div>
</html>
dr0i commented 3 years ago

Well, time to deploy our own tileserver. I am gonna to close this issue, since we cannot do anything about your erratically problem getting tiles.

dr0i commented 3 years ago

Sorry - should be closed when deplyoed to production ;P - reopened.

dr0i commented 3 years ago

Deployed to production, closing.