abonec
8/30/2016 - 10:11 AM

gistfile1.txt

Aug 29, 2016 07:58:37
Определение названия сети
Поиск подходящего алгоритма для сети MosMetro_Free
Версия приложения: 1.6.2-37
Подключение к сети MosMetro_Free
Проверка доступа в интернет
java.net.UnknownHostException: Unable to resolve host "wi-fi.ru": No address associated with hostname
	at java.net.InetAddress.lookupHostByName(InetAddress.java:427)
	at java.net.InetAddress.getAllByNameImpl(InetAddress.java:252)
	at java.net.InetAddress.getAllByName(InetAddress.java:215)
	at okhttp3.Dns$1.lookup(Dns.java:39)
	at okhttp3.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:173)
	at okhttp3.internal.http.RouteSelector.nextProxy(RouteSelector.java:139)
	at okhttp3.internal.http.RouteSelector.next(RouteSelector.java:81)
	at okhttp3.internal.http.StreamAllocation.findConnection(StreamAllocation.java:174)
	at okhttp3.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:127)
	at okhttp3.internal.http.StreamAllocation.newStream(StreamAllocation.java:97)
	at okhttp3.internal.http.HttpEngine.connect(HttpEngine.java:289)
	at okhttp3.internal.http.HttpEngine.sendRequest(HttpEngine.java:241)
	at okhttp3.RealCall.getResponse(RealCall.java:240)
	at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:198)
	at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:160)
	at okhttp3.RealCall.execute(RealCall.java:57)
	at pw.thedrhax.mosmetro.httpclient.clients.OkHttp.get(OkHttp.java:66)
	at pw.thedrhax.mosmetro.httpclient.Client.requestWithRetries(Client.java:37)
	at pw.thedrhax.mosmetro.httpclient.Client.get(Client.java:25)
	at pw.thedrhax.mosmetro.authenticator.networks.MosMetro.isConnected(MosMetro.java:133)
	at pw.thedrhax.mosmetro.authenticator.networks.MosMetro.connect(MosMetro.java:37)
	at pw.thedrhax.mosmetro.authenticator.Authenticator.start(Authenticator.java:62)
	at pw.thedrhax.mosmetro.activities.DebugActivity$AuthTask.doInBackground(DebugActivity.java:153)
	at pw.thedrhax.mosmetro.activities.DebugActivity$AuthTask.doInBackground(DebugActivity.java:119)
	at android.os.AsyncTask$2.call(AsyncTask.java:292)
	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
	at java.lang.Thread.run(Thread.java:818)

Ошибка: Сеть недоступна или не отвечает
Перезапуск Wi-Fi…
Aug 29, 2016 07:58:47
Aug 29, 2016 07:59:08
Определение названия сети
Поиск подходящего алгоритма для сети MosMetro_Free
Версия приложения: 1.6.2-37
Подключение к сети MosMetro_Free
Проверка доступа в интернет
<html>
 <head>
  <title> Web Authentication Redirect</title>
  <meta http-equiv="Cache-control" content="no-cache">
  <meta http-equiv="Pragma" content="no-cache">
  <meta http-equiv="Expires" content="-1">
  <meta http-equiv="refresh" content="1; URL=http://login.wi-fi.ru/am/UI/Login?rand=KukkkaiK&amp;org=mac&amp;service=test&amp;client_mac=64-cc-2e-ec-7c-7a&amp;ForceAuth=true">
 </head>
 <body> 
 </body>
</html>
http://login.wi-fi.ru/am/UI/Login?rand=KukkkaiK&org=mac&service=test&client_mac=64-cc-2e-ec-7c-7a&ForceAuth=true
Получение страницы авторизации
<!doctype html>
<html class="no-js">
 <head>
  <meta http-equiv="Pragma" content="no-cache">
  <meta http-equiv="Expires" content="-1">
  <meta http-equiv="Cache-Control" content="no-cache,no-store,must-revalidate">
  <meta name="robots" content="noindex, nofollow"> 
  <meta charset="utf-8"> 
  <title>Авторизация Wi-Fi. Войти в Интернет</title> 
  <meta name="referrer" content="origin">  
  <link rel="dns-prefetch" href="//matchid.adfox.yandex.ru"> 
  <link rel="dns-prefetch" href="//static0.wi-fi.ru"> 
  <link rel="dns-prefetch" href="//creative.wi-fi.ru">        
  <meta content="width=device-width, initial-scale=1.0, user-scalable=no" name="viewport"> 
  <meta content="ЗАО «МаксимаТелеком»" name="author"> 
  <link rel="icon" href="/am/favicon.ico" type="image/x-icon"> 
  <link rel="shortcut icon" href="/am/favicon.ico" type="image/x-icon"> 
 </head> 
 <body> 
  <ul id="header" class="nav"> 
   <li class="nav__i nav__i_agreement">
    <!--
      --><a href="http://login.wi-fi.ru/docs/offers/offer_auth.pdf" class="nav__link">Нажимая кнопку «Войти в Интернет», вы принимаете условия оферты</a></li> 
   <li class="nav__i">
    <!--
      --><a href="http://login.wi-fi.ru/vmetro/faq?lang=ru&amp;client_mac=64-cc-2e-ec-7c-7a" class="nav__link">Поддержка</a> </li> 
   <li class="nav__i nav__i_lang">
    <!--
      --><a class="nav__link" href="?rand=KukkkaiK&amp;org=mac&amp;service=test&amp;client_mac=64-cc-2e-ec-7c-7a&amp;ForceAuth=true&amp;lang=en"> <span class="flag-icon flag-icon-uk"></span> English </a> </li> 
  </ul> 
  <div id="root"> 
   <div id="content">
    <!--
        -->
    <h1 class="welcome"> Добро пожаловать в Wi‑Fi зону Московского Метрополитена </h1> 
   </div> 
   <div id="footer"> 
    <form id="auth-form" autocomplete="off" method="post"> 
     <input id="promogoto" type="hidden" value="" name="promogoto"> 
     <input id="IDButton" name="IDButton" type="hidden" value="Confirm"> 
     <button id="btnDefault" type="submit" class="btn">Войти в Интернет</button> 
     <input type="hidden" name="csrf.sign" value="16153a3113b7d56deb801e8a186765d5d4438e54e3e59b5b738fed299f5ede43">
     <input type="hidden" name="csrf.ts" value="1472446749744">
    </form> 
    <a id="join-internet" class="btn" href="#">Войти в Интернет</a> 
    <a id="premium" href="https://pay.wi-fi.ru/" class="btn btn_premium">Отключить авторизацию</a> 
   </div> 
  </div> 
  <div id="alert" class="l-alert"> 
   <div class="alert"> 
    <div class="alert__title">
     Ошибка авторизации
    </div> Повторите попытку позже, или обратитесь в&nbsp;
    <a href="http://login.wi-fi.ru/vmetro/faq?lang=ru&amp;client_mac=64-cc-2e-ec-7c-7a" class="alert__link">службу поддержки.</a> 
   </div> 
  </div> 
  <div id="loader" class="l-loader active">
   <div class="loader"></div>
  </div> 
  <div id="adfoxEvents"></div> 
  <noscript> 
   <iframe src="//ads.adfox.ru/220463/getCode?p1=buxxf&amp;p2=v&amp;p3=a&amp;p4=a&amp;pct=a&amp;plp=a&amp;pli=a&amp;pop=a&amp;pfc=a&amp;pfb=a" class="nojs" frameborder="0" width="1" height="1">&lt;img src="//ads.adfox.ru/220463/getDefaultImage?p1=buxxf&amp;amp;p2=v" alt=""&gt;</iframe> 
  </noscript>   
 </body>
</html>
Отправка формы авторизации
<html>
 <head>
  <title> Web Authentication Redirect</title>
  <meta http-equiv="Cache-control" content="no-cache">
  <meta http-equiv="Pragma" content="no-cache">
  <meta http-equiv="Expires" content="-1">
  <meta http-equiv="refresh" content="1; URL=http://login.wi-fi.ru/am/UI/Login?rand=KukkkaiK&amp;org=mac&amp;service=test&amp;client_mac=64-cc-2e-ec-7c-7a&amp;ForceAuth=true">
 </head>
 <body> 
 </body>
</html>
Проверка доступа в интернет
<html>
 <head>
  <title> Web Authentication Redirect</title>
  <meta http-equiv="Cache-control" content="no-cache">
  <meta http-equiv="Pragma" content="no-cache">
  <meta http-equiv="Expires" content="-1">
  <meta http-equiv="refresh" content="1; URL=http://login.wi-fi.ru/am/UI/Login?rand=KukkkaiK&amp;org=mac&amp;service=test&amp;client_mac=64-cc-2e-ec-7c-7a&amp;ForceAuth=true">
 </head>
 <body> 
 </body>
</html>
http://login.wi-fi.ru/am/UI/Login?rand=KukkkaiK&org=mac&service=test&client_mac=64-cc-2e-ec-7c-7a&ForceAuth=true
Ошибка: доступ в интернет отсутствует
Aug 29, 2016 07:59:10
Aug 29, 2016 07:59:12
Определение названия сети
Поиск подходящего алгоритма для сети MosMetro_Free
Версия приложения: 1.6.2-37
Подключение к сети MosMetro_Free
Проверка доступа в интернет
<!doctype html>
<html prefix="">
 <head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  <meta charset="utf-8">
  <meta content="width=device-width, initial-scale=1.0, user-scalable=no" name="viewport">
  <meta content="Wi-Fi.ru" name="description">
  <meta name="csrf-param" content="authenticity_token"> 
  <meta name="csrf-token" content="z22ys8c9PCPa9i1jQhIBagxPE1u9r/lPuJOWeui5kRI5MsWsIwBafWDqmd+Dbh6ep2uAXEodFGACuxW6eww/Vg==">
  <link rel="shortcut icon" type="image/x-icon" href="/assets/favicons/favicon-927d528c5168708d25d88f158399b7e5.ico">
  <title>Wi-Fi.ru</title>
  <link rel="stylesheet" media="all" href="/assets/smartphone/application-665aa4bcc63c5b65d26ca49d8438c933.css">
 </head>
 <body class="  ">
  <div id="root">
   <div class="b-header" data-header="">
    <a class="b-header__button is-on-left-side" href="https://cabinet.wi-fi.ru/"><i class="icon-user"></i></a>
    <a class="b-header__button is-on-right-side is-menu is-colored" data-open-menu="" href="javascript:void(0)" onclick="divolteTools.signal('buttonClick', {ObjName: 'menu', ObjEventType: 'show'});">
     <div class="b-header__button__bar"></div>
     <div class="b-header__button__bar"></div>
     <div class="b-header__button__bar"></div></a>
    <div class="b-header__title b-header__content" data-page-title="">
     <div id="headerBanner"></div>
     <div id="headerContent">
      <ul class="b-header__widget">
       <li class="weather"><a href="/weather">+18</a></li>
       <li class="usd"><a href="/currencies">64,63</a></li>
       <li class="euro"><a href="/currencies">72,45</a></li>
      </ul>
     </div>
    </div>
   </div>
   <div class="content-blocker"></div>
   <div class="b-menu b-popup" data-menu="">
    <div data-menu-block="">
     <div class="b-header__inner">
      <div class="b-header__button is-on-left-side is-fake"></div>
      <a class="b-header__button is-on-right-side is-colored" data-hide-popup="" href="javascript:void(0)"><i class="icon-close"></i></a>
      <div class="b-header__content b-header__title">
        МЕНЮ
      </div>
     </div>
     <div class="b-popup__content">
      <ul class="nav-menu">
       <li class="nav-menu__element "><a class="nav-menu__link" data-divolte-id="metro" data-yacounter="menu_metro" href="/metro"><span class="icon icon-metro"></span>Карта метро</a></li>
       <li class="nav-menu__element info"><a class="nav-menu__link" data-divolte-id="troika" data-yacounter="troika_menu" href="https://pay.wi-fi.ru/troika?utm_source=wi-fi.ru&amp;utm_medium=knopka&amp;utm_campaign=troika"><span class="icon icon-troika"></span>Пополнить «Тройку»</a></li>
       <li class="nav-menu__element warning"><a class="nav-menu__link" data-divolte-id="premium" data-yacounter="menu_noadv" href="https://pay.wi-fi.ru"><span class="icon icon-remove"></span>Отключить рекламу</a></li>
       <li class="nav-menu__element "><a class="nav-menu__link" data-divolte-id="pik" data-main-link="true" href="https://ads.adfox.ru/220463/goLink?p1=bvhsy&amp;p2=v&amp;p5=dubzu"><span class="icon icon-realty"></span>Недвижимость</a></li>
       <li class="nav-menu__element "><a class="nav-menu__link" data-divolte-id="news" data-main-link="true" href="/#read"><span class="icon icon-earth"></span>Новости</a></li>
       <li class="nav-menu__element "><a class="nav-menu__link" data-divolte-id="tv" href="/tv"><span class="icon icon-pc"></span>ТВ</a></li>
       <li class="nav-menu__element "><a class="nav-menu__link" data-divolte-id="videos" data-main-link="true" href="/#watch"><span class="icon icon-video"></span>Видео</a></li>
       <li class="nav-menu__element "><a class="nav-menu__link" data-divolte-id="radio" data-main-link="true" href="/#listen"><span class="icon icon-radio"></span>Радио</a></li>
       <li class="nav-menu__element "><a class="nav-menu__link" data-divolte-id="skidki" href="http://skidki.wi-fi.ru/"><span class="icon icon-discounts"></span>Скидки</a></li>
       <li class="nav-menu__element "><a class="nav-menu__link" data-divolte-id="market" href="/market"><span class="icon icon-goods"></span>Маркет</a></li>
       <li class="nav-menu__element "><a class="nav-menu__link" data-divolte-id="weather" href="/weather"><span class="icon icon-weather"></span>Погода</a></li>
       <li class="nav-menu__element "><a class="nav-menu__link" data-divolte-id="search" data-menu-search="true" href="/#search"><span class="icon icon-search"></span>Поиск в интернете</a></li>
       <li class="nav-menu__element "><a class="nav-menu__link" data-divolte-id="info" href="/info"><span class="icon icon-information"></span>Информация</a></li>
      </ul>
      <ul class="social-menu">
       <li class="social-menu__element"><a class="icon_social icon-vk" href="https://vk.com/maximatelecom"></a></li>
       <li class="social-menu__element"><a class="icon_social icon-fb" href="https://www.facebook.com/MaximaTelecom"></a></li>
       <li class="social-menu__element"><a class="icon_social icon-twitter" href="https://twitter.com/maximatelecom"></a></li>
      </ul>
     </div>
    </div>
    <div class="hide" data-menu-feedback="">
     <div class="b-header">
      <a class="b-header__button is-on-left-side" data-menu-back="" href="javascript:void(0)"><i class="b-header__button-back-2 icon-arrow-left"></i></a>
      <a class="b-header__button is-on-right-side is-colored" data-hide-popup="" href="javascript:void(0)"><i class="icon-close"></i></a>
      <div class="b-header__content b-header__title t-a-center">
       Обратная связь
      </div>
     </div>
     <div class="b-popup__content">
      <form action="/feedback" id="feedback-form" method="POST">
       <div class="b-feedback">
        <div class="b-feedback__fields">
         <div class="b-feedback__field base-input">
          <input name="email" placeholder="Электронная почта" type="email">
         </div>
         <div class="b-feedback__field base-input">
          <input name="subject" placeholder="Тема сообщения" type="text">
         </div>
         <div class="b-feedback__field _textarea base-textarea">
          <textarea name="message" placeholder="Сообщение"></textarea>
         </div>
        </div>
        <div class="b-block-bottom b-feedback__btns">
         <button class="b-block-bottom__li nav-menu__elementnk b-feedback__btn has-active" type="reset"> отмена</button>
         <button class="b-block-bottom__li nav-menu__elementnk b-feedback__btn has-active" type="submit"> отправить</button>
        </div>
       </div>
       <input name="authenticity_token" type="hidden">
      </form>
     </div>
    </div>
   </div>
   <div class="b-button-up"></div>
   <div class="b-page">
    <div id="flowButton"></div>
    <div id="fullscreenBanner"></div>
    <div id="topBanner"></div>
    <div id="curtainBanner"></div>
    <div id="yandexSearch_container" style="position:relative;">
     <form action="https://www.yandex.ru/yandsearch">
      <input style="display:none;" type="submit">
      <div class="ya-site-form ya-site-form_inited_no" onclick="return {'action':'https://yandex.ru/yandsearch?lat=&amp;lon=','arrow':false,'bg':'transparent','fontsize':15,'fg':'#000000','language':'ru','logo':'rb','publicname':'Поиск на wi-fi.ru','suggest':true,'target':'_self','tld':'ru','type':2,'usebigdictionary':true,'clid':2107847,'webopt':true,'websearch':true,'input_fg':'#000000','input_bg':'#ffffff','input_fontStyle':'normal','input_fontWeight':'normal','input_placeholder':'Поиск','input_placeholderColor':'#333','input_borderColor':'#00c675'}">
       <input name="l10n" type="hidden" value="ru">
       <input name="reqenc" type="hidden" value="">
       <input name="clid" type="hidden" value="2107847">
       <input autocomplete="off" class="b-search__field__input" name="text" type="search" value="">
      </div>
     </form>
    </div>
    <div id="undersearchBanner"></div>
    <div class="b-slider b-mini-goods__wrapper swiper-container">
     <div class="swiper-wrapper">
      <div class="swiper-slide">
       <a data-divolte-id="promo_gift" data-yacounter="bbp_promo_gift" class="b-slider__el b-mini-goods has-active" href="https://pay.wi-fi.ru/promo/gift/buy"><img class="b-mini-goods__img" src="/assets/fast-services/promo_gift-bb0ed5782f6ab6c5e5bea6cc4e1fb9ad.svg"></a>
      </div>
      <div class="swiper-slide">
       <a data-divolte-id="wagon" data-yacounter="bbp_wagon" class="b-slider__el b-mini-goods has-active" onclick="pageExported.imitateWagonClick();" href="#"><img class="b-mini-goods__img" src="/assets/fast-services/wagon-e0b0670057b82939a21c91416509b5d9.png"></a>
      </div>
      <div class="swiper-slide">
       <a data-divolte-id="metro" data-yacounter="bbp_metro" class="b-slider__el b-mini-goods has-active" href="metro"><img class="b-mini-goods__img" src="/assets/fast-services/metro-bf177862cccb475a942187c86b28fe7d.svg"></a>
      </div>
      <div class="swiper-slide">
       <a data-divolte-id="premium" data-yacounter="bbp_premium" class="b-slider__el b-mini-goods has-active" href="https://pay.wi-fi.ru"><img class="b-mini-goods__img" src="/assets/fast-services/premium-ac09cccc50deb07b721f549d6b06c50d.svg"></a>
      </div>
      <div class="swiper-slide">
       <a data-divolte-id="restaurants" data-yacounter="bbp_restaurants" class="b-slider__el b-mini-goods has-active" href="/places/restaurants?category=394"><img class="b-mini-goods__img" src="/assets/fast-services/restaurants-af16cd0bd1f03153cdde09d5325d6d7f.svg"></a>
      </div>
      <div class="swiper-slide">
       <a data-divolte-id="radio" data-yacounter="bbp_radio" class="b-slider__el b-mini-goods has-active" onclick="pageExported.imitateListenClick();" href="#listen"><img class="b-mini-goods__img" src="/assets/fast-services/radio-8327bf70cd75f6db95983e655e37a43f.svg"></a>
      </div>
      <div class="swiper-slide">
       <a data-divolte-id="weather" data-yacounter="bbp_weather" class="b-slider__el b-mini-goods has-active" href="weather"><img class="b-mini-goods__img" src="/assets/fast-services/weather-74a05fa6a34eb402023909362b3bd295.svg"></a>
      </div>
      <div class="swiper-slide">
       <a data-divolte-id="currencies" data-yacounter="bbp_currencies" class="b-slider__el b-currency-oil has-active" href="currencies">
        <div class="content">
         <div class="title">
          Валюта
         </div>
         <div class="arrow"></div>
         <div class="row">
          <div class="fl_l">
           <span>$64.63</span>
           <span class="arrow_down"></span>
          </div>
          <div class="fl_l">
           <span>€72.45</span>
           <span class="arrow_down"></span>
          </div>
          <div style="clear:both;"></div>
         </div>
         <div class="title last">
          Нефть
         </div>
         <div class="row">
          <div class="fl_l">
           Brent
          </div>
          <div class="fl_l">
           <span>$49.72</span>
           <span class="arrow_up"></span>
          </div>
          <div style="clear:both;"></div>
         </div>
        </div></a>
      </div>
      <div class="swiper-slide">
       <a data-divolte-id="recipes" data-yacounter="bbp_recipes" class="b-slider__el b-mini-goods has-active" href="recipes"><img class="b-mini-goods__img" src="/assets/fast-services/recipes-4fb05b002a6fa9a5b8ccb1a1ba35b6fc.svg"></a>
      </div>
      <div class="swiper-slide">
       <a data-divolte-id="audio" data-yacounter="bbp_audio" class="b-slider__el b-mini-goods has-active" href="audio"><img class="b-mini-goods__img" src="/assets/fast-services/audio-e4e51f8074921a6d05cfcdca9c4b061f.svg"></a>
      </div>
      <div class="swiper-slide">
       <div class="b-slider__el b-mini-goods has-active" data-divolte-id="mayor">
        <div class="b-mini-goods_mayor">
         <a class="mayor__social-link mayor__social-link_instagram" href="https://www.instagram.com/mossobyanin/"></a>
         <a class="mayor__social-link mayor__social-link_twitter" href="https://twitter.com/MosSobyanin"></a>
         <a class="mayor__social-link mayor__social-link_vk" href="http://vk.com/mossobyanin"></a>
         <div class="mayor__cta-text"></div>
        </div>
       </div>
      </div>
      <div class="swiper-slide">
       <a data-divolte-id="discounts" data-yacounter="bbp_discounts" class="b-slider__el b-mini-goods has-active" href="http://skidki.wi-fi.ru/"><img class="b-mini-goods__img" src="/assets/fast-services/discounts-240611236f1c35d3b7cf4779c7573967.svg"></a>
      </div>
      <div class="swiper-slide">
       <a data-divolte-id="troika" data-yacounter="troika_b" class="b-slider__el b-mini-goods has-active" href="https://pay.wi-fi.ru/troika"><img class="b-mini-goods__img" src="/assets/fast-services/troika-44743d1f4a35c73693c1ff677e711a08.png"></a>
      </div>
      <div class="swiper-slide">
       <a data-divolte-id="market" data-yacounter="bbp_market" class="b-slider__el b-mini-goods has-active" href="market"><img class="b-mini-goods__img" src="/assets/fast-services/market-d8f800df95a7176bb46b5328dda860d0.svg"></a>
      </div>
      <div class="swiper-slide">
       <a data-divolte-id="pik" data-yacounter="bbp_pik" class="b-slider__el b-mini-goods has-active" href="https://ads.adfox.ru/220463/goLink?p1=bvhsy&amp;p2=v&amp;p5=dubzq"><img class="b-mini-goods__...