pbootcms网站模板|日韩1区2区|织梦模板||网站源码|日韩1区2区|jquery建站特效-html5模板网

    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="3tzuqy7" 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 經(jīng)常發(fā)送網(wǎng)關(guān)超時錯誤

      OpenStreetMap often sends Gateway Timeout error(OpenStreetMap 經(jīng)常發(fā)送網(wǎng)關(guān)超時錯誤)

          • <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="vg8dk2c" 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 經(jīng)常發(fā)送網(wǎng)關(guān)超時錯誤的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                問題描述

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

                <style><link rel="stylesheet"  integrity="sha512-Rksm5RenBEKSKFjgI3a41vrjkw4EVPlJ3+OiI65vTjIdo9brlAacEuKOiQ5OFh7cOI1bkDwLqdLw3Zg0cRJAAQ=="crossorigin@import url(//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.2/leaflet.css);#地圖 {寬度:960px;高度:500px;}</風(fēng)格><身體><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(網(wǎng)關(guān)超時)

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

                解決方案

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

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

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

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

                <塊引用>

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

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

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

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

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

                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).

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

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

                相關(guān)文檔推薦

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

                <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="pelvmox" id='hDqXR'><tfoot id='hDqXR'></tfoot><dl id='hDqXR'><fieldset id='hDqXR'></fieldset></dl></div>
                        • 主站蜘蛛池模板: 聚丙烯酰胺PAM-聚合氯化铝PAC-絮凝剂-河南博旭环保科技有限公司 巨野电机维修-水泵维修-巨野县飞宇机电维修有限公司 | 学校用栓剂模,玻璃瓶轧盖钳,小型安瓿熔封机,实验室安瓿熔封机-长沙中亚制药设备有限公司 | 小型UV打印机-UV平板打印机-大型uv打印机-UV打印机源头厂家 |松普集团 | 干培两用箱-细菌恒温培养箱-菲斯福仪器| 污水提升器,污水提升泵,污水提升装置-德国泽德(zehnder)水泵系统有限公司 | 特种阀门-调节阀门-高温熔盐阀-镍合金截止阀-钛阀门-高温阀门-高性能蝶阀-蒙乃尔合金阀门-福建捷斯特阀门制造有限公司 | 西子馋火锅鸡加盟-太原市龙城酉鼎餐饮管理有限公司 | 讲师宝经纪-专业培训机构师资供应商_培训机构找讲师、培训师、讲师经纪就上讲师宝经纪 | 吹塑加工_大型吹塑加工_滚塑代加工-莱力奇吹塑加工有限公司 | 汽液过滤网厂家_安平县银锐丝网有限公司 | 光照全温振荡器(智能型)-恒隆仪器 | 铝单板_铝窗花_铝单板厂家_氟碳包柱铝单板批发价格-佛山科阳金属 | 生物风-销售载体,基因,质粒,ATCC细胞,ATCC菌株等,欢迎购买-百风生物 | 杭州代理记账多少钱-注册公司代办-公司注销流程及费用-杭州福道财务管理咨询有限公司 | 防潮防水通风密闭门源头实力厂家 - 北京酷思帝克门窗 | 24位ADC|8位MCU-芯易德科技有限公司 | 液晶拼接屏厂家_拼接屏品牌_拼接屏价格_监控大屏—北京维康 | 低温柔性试验仪-土工布淤堵-沥青车辙试验仪-莱博特(天津)试验机有限公司 | 锂辉石检测仪器,水泥成分快速分析仪-湘潭宇科分析仪器有限公司 | 安徽合肥项目申报咨询公司_安徽合肥高新企业项目申报_安徽省科技项目申报代理 | 在线钠离子分析仪-硅酸根离子浓度测定仪-油液水分测定仪价格-北京时代新维测控设备有限公司 | 便民信息网_家电维修,家电清洗,开锁换锁,本地家政公司 | 杭州成人高考_浙江省成人高考网上报名 | 瓶盖扭矩测试仪-瓶盖扭力仪-全自动扭矩仪-济南三泉中石单品站 | 冷藏车-东风吸污车-纯电动环卫车-污水净化车-应急特勤保障车-程力专汽厂家-程力专用汽车股份有限公司销售二十一分公司 | 环境模拟实验室_液体-气体控温机_气体控温箱_无锡双润冷却科技有限公司 | 广州展览制作|展台制作工厂|展览设计制作|展览展示制作|搭建制作公司 | 代做标书-代写标书-专业标书文件编辑-「深圳卓越创兴公司」 | 电动高压冲洗车_价格-江苏速利达机车有限公司 | 瓶盖扭矩仪(扭力值检测)-百科| 苹果售后维修点查询,苹果iPhone授权售后维修服务中心 – 修果网 拼装地板,悬浮地板厂家,悬浮式拼装运动地板-石家庄博超地板科技有限公司 | 广东机电安装工程_中央空调工程_东莞装饰装修-广东粤标建设有限公司 | pbt头梳丝_牙刷丝_尼龙毛刷丝_PP塑料纤维合成毛丝定制厂_广州明旺 | 低气压试验箱_高低温低气压试验箱_低气压实验箱 |林频试验设备品牌 | 螺杆式冷水机-低温冷水机厂家-冷冻机-风冷式-水冷式冷水机-上海祝松机械有限公司 | 河南砖机首页-全自动液压免烧砖机,小型砌块水泥砖机厂家[十年老厂] | 砂石生产线_石料生产线设备_制砂生产线设备价格_生产厂家-河南中誉鼎力智能装备有限公司 | 打包箱房_集成房屋-山东佳一集成房屋有限公司 | lcd条形屏-液晶长条屏-户外广告屏-条形智能显示屏-深圳市条形智能电子有限公司 | 深圳货架厂_仓库货架公司_重型仓储货架_线棒货架批发-深圳市诺普泰仓储设备有限公司 | 板式换热器_板式换热器价格_管式换热器厂家-青岛康景辉 |