rendrom / rosreestr2coord

Вычисление координат участка по кадастровому номеру с сайта https://pkk.rosreestr.ru
MIT License
167 stars 79 forks source link

Error 503: Backend fetch failed #40

Closed shadz3rg closed 2 years ago

shadz3rg commented 4 years ago

При получении тайлов часто начала сыпаться эта ошибка, причем открывая ссылку на тайл вручную в браузере повторить ее не удалось. На средство блокировки также не похоже, т.к. никакой закономерности проследить не удается, наблюдается на разных ПК / сетях. Есть ли у кого похожая ситуация?

DEBUG:rosreestr2coord.logger:https://pkk.rosreestr.ru/api/features/1/50:30:50107:271
DEBUG:rosreestr2coord.logger:https://pkk.rosreestr.ru/arcgis/rest/services/PKK6/CadastreSelected/MapServer/export?dpi=96&transparent=false&format=png&layers=show%3A0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19&bbox=4355138.124402791%2C7407400.774352831%2C4354138.124402791%2C7406400.774352831&bboxSR=102100&imageSR=102100&size=1000%2C1000&layerDefs=%7B%270%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%271%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%272%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%273%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%274%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%275%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%276%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%277%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%278%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%279%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2710%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2711%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2712%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2713%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2714%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2715%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2716%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2717%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2718%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2719%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%7D&f=json
DEBUG:rosreestr2coord.logger:https://pkk.rosreestr.ru/arcgis/rest/services/PKK6/CadastreSelected/MapServer/export?dpi=96&transparent=false&format=png&layers=show%3A0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19&bbox=4356138.124402791%2C7407400.774352831%2C4355138.124402791%2C7406400.774352831&bboxSR=102100&imageSR=102100&size=1000%2C1000&layerDefs=%7B%270%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%271%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%272%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%273%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%274%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%275%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%276%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%277%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%278%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%279%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2710%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2711%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2712%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2713%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2714%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2715%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2716%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2717%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2718%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2719%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%7D&f=json
DEBUG:rosreestr2coord.logger:https://pkk.rosreestr.ru/arcgis/rest/services/PKK6/CadastreSelected/MapServer/export?dpi=96&transparent=false&format=png&layers=show%3A0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19&bbox=4357138.124402791%2C7408400.774352831%2C4356138.124402791%2C7407400.774352831&bboxSR=102100&imageSR=102100&size=1000%2C1000&layerDefs=%7B%270%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%271%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%272%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%273%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%274%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%275%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%276%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%277%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%278%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%279%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2710%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2711%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2712%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2713%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2714%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2715%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2716%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2717%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2718%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2719%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%7D&f=json
DEBUG:rosreestr2coord.logger:https://pkk.rosreestr.ru/arcgis/rest/services/PKK6/CadastreSelected/MapServer/export?dpi=96&transparent=false&format=png&layers=show%3A0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19&bbox=4358138.124402791%2C7408400.774352831%2C4357138.124402791%2C7407400.774352831&bboxSR=102100&imageSR=102100&size=1000%2C1000&layerDefs=%7B%270%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%271%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%272%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%273%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%274%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%275%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%276%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%277%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%278%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%279%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2710%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2711%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2712%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2713%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2714%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2715%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2716%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2717%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2718%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2719%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%7D&f=json
WARNING:rosreestr2coord.logger:HTTP Error 503: Backend fetch failed
WARNING:rosreestr2coord.logger:https://pkk.rosreestr.ru/arcgis/rest/services/PKK6/CadastreSelected/MapServer/export?dpi=96&transparent=false&format=png&layers=show%3A0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19&bbox=4355138.124402791%2C7407400.774352831%2C4354138.124402791%2C7406400.774352831&bboxSR=102100&imageSR=102100&size=1000%2C1000&layerDefs=%7B%270%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%271%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%272%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%273%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%274%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%275%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%276%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%277%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%278%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%279%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2710%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2711%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2712%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2713%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2714%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2715%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2716%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2717%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2718%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2719%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%7D&f=json
WARNING:rosreestr2coord.logger:the JSON object must be str, bytes or bytearray, not bool
DEBUG:rosreestr2coord.logger:https://pkk.rosreestr.ru/arcgis/rest/services/PKK6/CadastreSelected/MapServer/export?dpi=96&transparent=false&format=png&layers=show%3A0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19&bbox=4355138.124402791%2C7406400.774352831%2C4354138.124402791%2C7405400.774352831&bboxSR=102100&imageSR=102100&size=1000%2C1000&layerDefs=%7B%270%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%271%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%272%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%273%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%274%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%275%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%276%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%277%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%278%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%279%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2710%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2711%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2712%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2713%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2714%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2715%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2716%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2717%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2718%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2719%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%7D&f=json
DEBUG:rosreestr2coord.logger:https://pkk.rosreestr.ru/arcgis/rest/services/PKK6/CadastreSelected/MapServer/export?dpi=96&transparent=false&format=png&layers=show%3A0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19&bbox=4357138.124402791%2C7407400.774352831%2C4356138.124402791%2C7406400.774352831&bboxSR=102100&imageSR=102100&size=1000%2C1000&layerDefs=%7B%270%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%271%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%272%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%273%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%274%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%275%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%276%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%277%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%278%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%279%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2710%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2711%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2712%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2713%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2714%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2715%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2716%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2717%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2718%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2719%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%7D&f=json
DEBUG:rosreestr2coord.logger:https://pkk.rosreestr.ru/arcgis/rest/services/PKK6/CadastreSelected/MapServer/export?dpi=96&transparent=false&format=png&layers=show%3A0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19&bbox=4356138.124402791%2C7408400.774352831%2C4355138.124402791%2C7407400.774352831&bboxSR=102100&imageSR=102100&size=1000%2C1000&layerDefs=%7B%270%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%271%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%272%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%273%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%274%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%275%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%276%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%277%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%278%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%279%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2710%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2711%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2712%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2713%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2714%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2715%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2716%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2717%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2718%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2719%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%7D&f=json
WARNING:rosreestr2coord.logger:HTTP Error 503: Backend fetch failed
WARNING:rosreestr2coord.logger:https://pkk.rosreestr.ru/arcgis/rest/services/PKK6/CadastreSelected/MapServer/export?dpi=96&transparent=false&format=png&layers=show%3A0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19&bbox=4358138.124402791%2C7408400.774352831%2C4357138.124402791%2C7407400.774352831&bboxSR=102100&imageSR=102100&size=1000%2C1000&layerDefs=%7B%270%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%271%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%272%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%273%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%274%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%275%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%276%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%277%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%278%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%279%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2710%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2711%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2712%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2713%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2714%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2715%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2716%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2717%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2718%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2719%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%7D&f=json
WARNING:rosreestr2coord.logger:the JSON object must be str, bytes or bytearray, not bool
DEBUG:rosreestr2coord.logger:https://pkk.rosreestr.ru/arcgis/rest/services/PKK6/CadastreSelected/MapServer/export?dpi=96&transparent=false&format=png&layers=show%3A0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19&bbox=4358138.124402791%2C7407400.774352831%2C4357138.124402791%2C7406400.774352831&bboxSR=102100&imageSR=102100&size=1000%2C1000&layerDefs=%7B%270%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%271%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%272%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%273%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%274%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%275%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%276%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%277%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%278%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%279%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2710%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2711%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2712%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2713%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2714%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2715%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2716%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2717%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2718%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2719%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%7D&f=json
WARNING:rosreestr2coord.logger:HTTP Error 503: Backend fetch failed
WARNING:rosreestr2coord.logger:https://pkk.rosreestr.ru/arcgis/rest/services/PKK6/CadastreSelected/MapServer/export?dpi=96&transparent=false&format=png&layers=show%3A0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19&bbox=4355138.124402791%2C7406400.774352831%2C4354138.124402791%2C7405400.774352831&bboxSR=102100&imageSR=102100&size=1000%2C1000&layerDefs=%7B%270%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%271%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%272%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%273%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%274%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%275%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%276%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%277%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%278%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%279%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2710%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2711%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2712%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2713%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2714%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2715%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2716%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2717%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2718%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2719%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%7D&f=json
WARNING:rosreestr2coord.logger:the JSON object must be str, bytes or bytearray, not bool
DEBUG:rosreestr2coord.logger:https://pkk.rosreestr.ru/arcgis/rest/services/PKK6/CadastreSelected/MapServer/export?dpi=96&transparent=false&format=png&layers=show%3A0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19&bbox=4355138.124402791%2C7408400.774352831%2C4354138.124402791%2C7407400.774352831&bboxSR=102100&imageSR=102100&size=1000%2C1000&layerDefs=%7B%270%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%271%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%272%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%273%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%274%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%275%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%276%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%277%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%278%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%279%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2710%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2711%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2712%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2713%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2714%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2715%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2716%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2717%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2718%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2719%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%7D&f=json
DEBUG:rosreestr2coord.logger:https://pkk.rosreestr.ru/arcgis/rest/services/PKK6/CadastreSelected/MapServer/export?dpi=96&transparent=false&format=png&layers=show%3A0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19&bbox=4356138.124402791%2C7406400.774352831%2C4355138.124402791%2C7405400.774352831&bboxSR=102100&imageSR=102100&size=1000%2C1000&layerDefs=%7B%270%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%271%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%272%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%273%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%274%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%275%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%276%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%277%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%278%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%279%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2710%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2711%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2712%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2713%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2714%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2715%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2716%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2717%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2718%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2719%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%7D&f=json
DEBUG:rosreestr2coord.logger:https://pkk.rosreestr.ru/arcgis/rest/services/PKK6/CadastreSelected/MapServer/export?dpi=96&transparent=false&format=png&layers=show%3A0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19&bbox=4358138.124402791%2C7406400.774352831%2C4357138.124402791%2C7405400.774352831&bboxSR=102100&imageSR=102100&size=1000%2C1000&layerDefs=%7B%270%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%271%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%272%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%273%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%274%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%275%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%276%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%277%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%278%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%279%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2710%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2711%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2712%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2713%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2714%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2715%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2716%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2717%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2718%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2719%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%7D&f=json
WARNING:rosreestr2coord.logger:HTTP Error 503: Backend fetch failed
WARNING:rosreestr2coord.logger:https://pkk.rosreestr.ru/arcgis/rest/services/PKK6/CadastreSelected/MapServer/export?dpi=96&transparent=false&format=png&layers=show%3A0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19&bbox=4358138.124402791%2C7406400.774352831%2C4357138.124402791%2C7405400.774352831&bboxSR=102100&imageSR=102100&size=1000%2C1000&layerDefs=%7B%270%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%271%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%272%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%273%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%274%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%275%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%276%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%277%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%278%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%279%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2710%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2711%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2712%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2713%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2714%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2715%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2716%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2717%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2718%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%2C+%2719%27%3A+%22ID+%3D+%2750%3A30%3A50107%3A271%27%22%7D&f=json
WARNING:rosreestr2coord.logger:the JSON object must be str, bytes or bytearray, not bool
rashn commented 4 years ago

аналогичная проблема, попробовал сделать 15 секунд между запросами - на третьем запросе пошла ошибка

всё же похоже на блокировку со стороны карты

shadz3rg commented 4 years ago

@rashn методом тыка выяснилось что серваки РосРеестра видимо не справляются с нагрузкой, т.к. перебои с запросами зависят от времени суток; например вечером-ночью ошибки появляются очень редко.

В качестве временной заплатки локально модифицировал этот метод https://github.com/rendrom/rosreestr2coord/blob/master/rosreestr2coord/utils.py#L59

def make_request(url, with_proxy=False):
    retry = 0
    trying = True

    # original function
    if url:
        while trying:
            retry += 1
            logger.debug(url)
            if with_proxy:
                return make_request_with_proxy(url)
            try:
                headers = get_rosreestr_headers()
                request = Request(url, headers=headers)
                context = ssl._create_unverified_context()
                with urlopen(request, context=context, timeout=3000) as response:
                    read = response.read()
                is_error = is_error_response(url, read)
                if is_error:
                    raise Exception(is_error)
                return read
            except Exception as er:
                logger.warning(er)
                logger.warning(url)
                print(er)
                # raise TimeoutException()

            if retry == 100:
                trying = False
                print('Drop item after 100 retries')

    return False
MrChebur commented 4 years ago

@shadz3rg Помогло, спасибо!

rashn commented 4 years ago

Да, способ работает!

Anastasia937 commented 4 years ago

Как тяжело быть девочкой :(((((((((((((((((((((((((((( Ничего не понимаю. как скачать эту программу ?

rendrom commented 4 years ago

Для запуска и работы с этой библиотеки у вас должен быть установлен Python 3, и должны быть навыки работы в консоли. Далее по инструкции из Readme https://github.com/rendrom/rosreestr2coord#%D1%83%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BA%D0%B0