久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    1. <small id='k1z2m'></small><noframes id='k1z2m'>

      <i id='k1z2m'><tr id='k1z2m'><dt id='k1z2m'><q id='k1z2m'><span id='k1z2m'><b id='k1z2m'><form id='k1z2m'><ins id='k1z2m'></ins><ul id='k1z2m'></ul><sub id='k1z2m'></sub></form><legend id='k1z2m'></legend><bdo id='k1z2m'><pre id='k1z2m'><center id='k1z2m'></center></pre></bdo></b><th id='k1z2m'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='k1z2m'><tfoot id='k1z2m'></tfoot><dl id='k1z2m'><fieldset id='k1z2m'></fieldset></dl></div>

    2. <tfoot id='k1z2m'></tfoot>
      • <bdo id='k1z2m'></bdo><ul id='k1z2m'></ul>
      <legend id='k1z2m'><style id='k1z2m'><dir id='k1z2m'><q id='k1z2m'></q></dir></style></legend>

      OpenStreetMap 經常發送網關超時錯誤

      OpenStreetMap often sends Gateway Timeout error(OpenStreetMap 經常發送網關超時錯誤)

          • <bdo id='uOpty'></bdo><ul id='uOpty'></ul>

          • <i id='uOpty'><tr id='uOpty'><dt id='uOpty'><q id='uOpty'><span id='uOpty'><b id='uOpty'><form id='uOpty'><ins id='uOpty'></ins><ul id='uOpty'></ul><sub id='uOpty'></sub></form><legend id='uOpty'></legend><bdo id='uOpty'><pre id='uOpty'><center id='uOpty'></center></pre></bdo></b><th id='uOpty'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='uOpty'><tfoot id='uOpty'></tfoot><dl id='uOpty'><fieldset id='uOpty'></fieldset></dl></div>
          • <legend id='uOpty'><style id='uOpty'><dir id='uOpty'><q id='uOpty'></q></dir></style></legend>
                <tbody id='uOpty'></tbody>
              1. <tfoot id='uOpty'></tfoot>

                <small id='uOpty'></small><noframes id='uOpty'>

                本文介紹了OpenStreetMap 經常發送網關超時錯誤的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                我在程序中使用帶有以下代碼的傳單地圖:

                <style><link rel="stylesheet"  integrity="sha512-Rksm5RenBEKSKFjgI3a41vrjkw4EVPlJ3+OiI65vTjIdo9brlAacEuKOiQ5OFh7cOI1bkDwLqdLw3Zg0cRJAAQ=="crossorigin@import url(//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.2/leaflet.css);#地圖 {寬度:960px;高度:500px;}</風格><身體><div id="地圖"/><腳本類型="文本/javascript">var osmUrl = 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',osmAttrib = '&copy;<a >OpenStreetMap</a>貢獻者,osm = L.tileLayer(osmUrl, {maxZoom: 20, attribution: osmAttrib});var map = L.map('map').setView([37.5, -115], 6).addLayer(osm);</身體>

                但是,我在地圖上的隨機位置不斷看到一些灰色方塊,并且在 javascript 控制臺中收到以下 Leaflet 錯誤代碼:

                http://a.tile.openstreetmap.org/6/8/25.png 504(網關超時)

                有人知道出了什么問題以及如何解決嗎?

                解決方案

                來自 OpenStreetMap 瓦片服務器的 50x 錯誤是 OSM 方面的問題,而不是您使用(或誤用)OSM 瓦片引起的問題在您的網站或應用程序中.

                從您提出問題的具體時間和日期來看,我會做出一個瘋狂的假設,并說您在網絡瞬時過載期間訪問了一個 squid 代理服務器,而系統- 從 squid 2 到 squid 3 的全面升級在過去的幾天里一直在進行(注意下面的截圖是 git repo 的

                請記住,OSM 磁貼服務器和代理服務器由(了不起的)志愿者系統管理員團隊維護,雖然他們盡最大努力保持一切正常運行,但 OSM 基金會對服務質量做出任何保證.

                在 https://operations.osmfoundation.org/ 了解更多相關信息,特別是在 https://operations.osmfoundation.org/policies/tiles/

                <塊引用>

                有誰知道出了什么問題以及如何解決它?

                一般來說,OSMF 服務的暫時故障可以通過以下方式解決:

                • 耐心等待系統管理員解決問題.
                • 潛伏在 OFTC #OSM-dev IRC 頻道(此處了解更多信息)具體了解出了什么問題,禮貌地問.如果你這樣做了,不要對那里的人造成滋擾;它只會減慢速度.
                • 向 OSMF 捐款,以提高其運營能力.
                • 自愿加入 OSMF 運營工作組,或為鏡像硬件做出貢獻服務器等.

                如果您不想受 OSMF 的限制,有幾個常見的替代方案:

                • 使用商業磁貼提供商(其中一些提供商在此處列出)
                • 托管您自己的磁貼(此處了解更多信息)
                • 緩存圖塊.與大多數商業供應商不同,OSM 允許您以幾乎任何您想要的方式存儲、代理和緩存切片.事實上,我們鼓勵任何可以減輕 OSMF 服務器負載的事情,只要您稍加注意(即不要為緩存設置種子,否則會觸發批量下載).

                I am using a leaflet map in program with the following code:

                <style>
                     <link rel="stylesheet"  integrity="sha512-Rksm5RenBEKSKFjgI3a41vrjkw4EVPlJ3+OiI65vTjIdo9brlAacEuKOiQ5OFh7cOI1bkDwLqdLw3Zg0cRJAAQ==" crossorigin=""/>
                    @import url(//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.2/leaflet.css);
                    #map {
                        width: 960px;
                        height: 500px;
                    }
                </style>
                
                <body>
                   <div id="map"/>
                   <script type="text/javascript">
                        var osmUrl = 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
                            osmAttrib = '&copy; <a >OpenStreetMap</a> contributors',
                            osm = L.tileLayer(osmUrl, {maxZoom: 20, attribution: osmAttrib});
                
                        var map = L.map('map').setView([37.5, -115], 6).addLayer(osm);
                
                </body>
                

                However, I keep seeing some grey square on my maps at random positions and I get the following Leaflet error code in the javascript console:

                http://a.tile.openstreetmap.org/6/8/25.png 504 (Gateway Timeout)
                

                Would anyone know what's wrong and how to solve it?

                解決方案

                A 50x error from the OpenStreetMap tile servers is a problem caused on the OSM side of things, not a problem caused by your use (or misuse) of OSM tiles in your website or application.

                Judging by the specific time and date of your question, I'll make a wild assumption and say that you were hitting one of the squid proxy servers during a momentary overload of the network while a system-wide upgrade from squid 2 to squid 3 has been going on for the past few days (note the screenshot below is for the git repo holding the chef devops recipes for the OSM servers, and also the fact that I can see the status of the OSM servers is awesome).

                Please keep in mind that the OSM tile servers and proxy servers are maintained by a team of (awesome) volunteer system administrators and, while they do their best to keep everything up and running, the OSM Foundation can not make any guarantees about the quality of service.

                Read more about this at https://operations.osmfoundation.org/ and specifically at https://operations.osmfoundation.org/policies/tiles/

                Would anyone know what's wrong and how to solve it?

                In general, temporarily failures of the OSMF services can be solved by:

                • Having patience and waiting for the sysadmins to fix things.
                • Lurking at the OFTC #OSM-dev IRC channel (more info here) to know specifically what's wrong and politely asking. If you do so, do not be a nuisance to the people there; it will only slow things down.
                • Donating money to the OSMF so it can increase its operational capabilities.
                • Volunteering to be a part of the OSMF Operations Working Group, or contributing with hardware for mirror servers or the like.

                If you do not want to be bound by the limitations of the OSMF, there are a couple common alternatives:

                • Use a commercial tile provider (some of the providers are listed here)
                • Host your own tiles (more information here)
                • Cache the tiles. Unlike most commercial vendors, OSM allows you to store, proxy, and cache the tiles in pretty much whatever way you want. In fact, anything that will lessen the load on the OSMF servers is encouraged, as long as you take a modicum of care (i.e. do not seed your cache, which would trigger bulk downloads).

                這篇關于OpenStreetMap 經常發送網關超時錯誤的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                Check if a polygon point is inside another in leaflet(檢查一個多邊形點是否在傳單中的另一個內部)
                Changing leaflet markercluster icon color, inheriting the rest of the default CSS properties(更改傳單標記群集圖標顏色,繼承其余默認 CSS 屬性)
                Trigger click on leaflet marker(觸發點擊傳單標記)
                How can I change the default loading tile color in LeafletJS?(如何更改 LeafletJS 中的默認加載磁貼顏色?)
                Add external geojson to leaflet layer(將外部geojson添加到傳單層)
                Adding Leaflet layer control to sidebar(將 Leaflet 圖層控件添加到側邊欄)

                <small id='hDqXR'></small><noframes id='hDqXR'>

                  <tbody id='hDqXR'></tbody>

                <legend id='hDqXR'><style id='hDqXR'><dir id='hDqXR'><q id='hDqXR'></q></dir></style></legend>
              2. <tfoot id='hDqXR'></tfoot>

                        <bdo id='hDqXR'></bdo><ul id='hDqXR'></ul>
                        • <i id='hDqXR'><tr id='hDqXR'><dt id='hDqXR'><q id='hDqXR'><span id='hDqXR'><b id='hDqXR'><form id='hDqXR'><ins id='hDqXR'></ins><ul id='hDqXR'></ul><sub id='hDqXR'></sub></form><legend id='hDqXR'></legend><bdo id='hDqXR'><pre id='hDqXR'><center id='hDqXR'></center></pre></bdo></b><th id='hDqXR'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='hDqXR'><tfoot id='hDqXR'></tfoot><dl id='hDqXR'><fieldset id='hDqXR'></fieldset></dl></div>
                        • 主站蜘蛛池模板: 情侣黄网站免费看 | 干干干操操操 | 91日韩| 99精品国产一区二区青青牛奶 | 成人免费视频播放 | 日韩福利一区 | 国产成人福利在线观看 | 精品国产一区二区三区久久影院 | 亚洲国产免费 | 欧美成人精品在线 | 国产精品高潮呻吟久久av黑人 | 亚洲一区二区三区 | 国产9999精品 | 国产精品日韩 | 国内自拍视频在线观看 | 亚洲精品一区二区三区丝袜 | 特黄毛片 | 亚洲国产aⅴ成人精品无吗 国产精品永久在线观看 | 国产欧美日韩在线一区 | 自拍中文字幕 | 久久久久国产一区二区三区四区 | 人人干人人玩 | 91精品国产综合久久久久久蜜臀 | 成人在线观看免费 | 日韩在线看片 | 欧美一级淫片免费视频黄 | 日韩av电影在线观看 | 99热99| 精品一区二区三区在线观看 | 欧美日本在线观看 | 国产成人综合在线 | 亚洲欧洲精品在线 | 欧美性一区二区三区 | 欧美精品福利 | 国产欧美视频一区二区三区 | 久久综合久 | 99久久精品国产一区二区三区 | 国产精品精品久久久 | 国产在线精品免费 | 亚洲一区 中文字幕 | 精品视频久久久 |