<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>33236</bug_id>
          
          <creation_ts>2017-03-13 17:16:29 +0300</creation_ts>
          <short_desc>Непонятная ошибка при использовании proxy</short_desc>
          <delta_ts>2019-06-05 17:32:24 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>apt</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergey Novikov">sotor</reporter>
          <assigned_to name="darktemplar@altlinux.org">darktemplar</assigned_to>
          <cc>BcTpe4HbIu</cc>
    
    <cc>boyarsh</cc>
    
    <cc>cas</cc>
    
    <cc>evg</cc>
    
    <cc>glebfm</cc>
    
    <cc>grenka</cc>
    
    <cc>grenka</cc>
    
    <cc>imz</cc>
    
    <cc>ldv</cc>
    
    <cc>mike</cc>
    
    <cc>placeholder</cc>
    
    <cc>rider</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>162490</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey Novikov">sotor</who>
    <bug_when>2017-03-13 17:16:29 +0300</bug_when>
    <thetext>При задании неправильной пары логин/пароль при использовании прокси-сервера, apt падает со следующим сообщением:
# apt-get update
0% [Waiting for headers]terminate called after throwing an instance of &apos;std::out_of_range&apos;
  what():  basic_string::substr: __pos (which is 18446744073709551615) &gt; this-&gt;size() (which is 9)
E: Method http has died unexpectedly!
W: Невозможно получить или проверить файлы описания некоторых репозиториев. Эти репозитории будут игнорироваться.
E: Tried to dequeue a fetching object
E: Tried to dequeue a fetching object
E: Tried to dequeue a fetching object
E: Tried to dequeue a fetching object
E: Tried to dequeue a fetching object
E: Tried to dequeue a fetching object

Нужно более понятное пользователю сообщение при невозможности аутентифицироваться на прокси-сервере.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>163982</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2017-06-07 12:25:19 +0300</bug_when>
    <thetext>ping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>167994</commentid>
    <comment_count>2</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2017-12-16 16:07:20 +0300</bug_when>
    <thetext>Ср. https://bugzilla.altlinux.org/show_bug.cgi?id=18925 ; там сообщения при умирании метода загрузки http улучшаются с приложенным исправлением, но, наверное, не в этом случае.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>168134</commentid>
    <comment_count>3</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2017-12-22 19:03:51 +0300</bug_when>
    <thetext>К сожалению, из этого описания сходу непонятно, как воспроизвести ситуацию.

Как задаются пользователь и пароль для apt для прокси?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>168271</commentid>
    <comment_count>4</comment_count>
    <who name="Grigory Ustinov">grenka</who>
    <bug_when>2017-12-28 15:58:20 +0300</bug_when>
    <thetext>(In reply to comment #0)
&gt; Нужно более понятное пользователю сообщение при невозможности
&gt; аутентифицироваться на прокси-сервере.

Не могли бы вы приложить содержимое своего /etc/apt/apt.conf ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>182235</commentid>
    <comment_count>5</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2019-06-05 16:32:01 +0300</bug_when>
    <thetext>apt-0.5.15lorg2-alt66 -&gt; sisyphus:

Wed Jun 05 2019 Aleksei Nikiforov &lt;darktemplar@altlinux&gt; 0.5.15lorg2-alt66
- Fortified https method (Closes: #33732)
- Dropped processing Realm name in http/https methods (Closes: #33236)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>