Меню

Ошибка cannot establish connection with the update server

Автор Сообщение
 

Прилепленное (важное) сообщение

СообщениеДобавлено: 30.01.2010 12:01 

[профиль]

Member

Статус: Не в сети
Регистрация: 03.03.2006
Откуда: Москва

#77
MSI Afterburner – самая известная и широко используемая утилита для разгона видеокарт.
Помимо этого, она служит для получения подробной информации об аппаратных компонентах компьютера и предлагает дополнительные функции, такие как регулировка вентиляторов, тестирование производительности, видеозапись.

ОФИЦИАЛЬНЫЙ САЙТ | ОФИЦИАЛЬНЫЙ ФОРУМ
Последняя версия (финальная) MSI Afterburner 4.6.4

MSI Afterburner:
Релиз: MSI Afterburner 4.6.4 Final (Build 16255)
Бета: MSI Afterburner 4.6.5 Beta 4 (Build 16358)

RivaTuner Statistics Server:
Релиз: RTSS 7.3.3 Final (Build 26004)
Бета: RTSS 7.3.4 Beta 7 (Build 27504)

MINI FAQ

1. Для разблокировки разгона в файле MSIAfterburner.cfg (Находится в папке, где установлена программа) необходимо прописать следующие значения:
UnofficialOverclockingEULA = I confirm that I am aware of unofficial overclocking limitations and fully understand that MSI will not provide me any support on it
UnofficialOverclockingMode = 1
2. Для разблокировки напряжения и его мониторинга в том же файле прописываем следующие значения:
UnlockVoltageControl = 1
UnlockVoltageMonitoring = 1
(!)В драйвере Catalyst 12.2+ не хватает пары файлов, скачиваем здесь
3. Программа так же «умеет» отображать энергопотребление CPU и GPU в играх.
~ Для этого в Настройках (Настройки > Мониторинг) нужно активировать пункты «Энергопотребление» и «Энергопотребление ЦП».
4. После перезагрузки или включения компьютера слетает профиль разгона. Как сделать, чтобы он грузился вместе с Windows?
~ Одно из решений тут — настройка автозапуска
~ Или штатный метод попробовать, описанный здесь
5. Выскакивает ошибка «В данный момент невозможно произвести внедрение в Diretc3D12 компоненты. Строго рекомендуется перезапустить приложение»
Решение описано в этом посте
6. Шпаргалка по оформлению оверлейного дисплея от камрада y0121ck — ОСНОВЫ и ДОПОЛНЕНИЕ

ПОЛЕЗНАЯ ИНФОРМАЦИЯ

  • MSI AfterBurner — инструкция по применению
  • Видео-руководство
  • Наглядное пособие по работе с «редактором кривой» программы MSI Afterburner (MSI) — автор aggression.

Шапка в процессе редактирования! Все вопросы по наполнению шапки, интересные ссылки по программе или faq просьба отписать в ЛС James_on

Последний раз редактировалось ParKur 23.11.2022 17:19, всего редактировалось 81 раз(а).
RTSS 7.3.4 Beta 7 (Build 27504)
Реклама

Партнер
 
Dream39

Member

Статус: Не в сети
Регистрация: 24.10.2006
Фото: 9

Ребята, столкнулся с проблемкой. Всё работало отлично и тут прога начала вешать комп на старте. причина оказалась в задаче расписания. Изменил значение в конфиге на 0 и зависания прекратились. Но как и до этого при нажатии «применить настройки» цифры сваливаются в одну кучу и прога просто тупит. Сталкивался ктонибудь ? Дрова последние стоят, удалял msi и ставил заного финальную версию.


_________________
Cougar MAX-G; 10700K@5.0; MSI Z490 Gaming EDGE wifi; Palit 3080ti GameRock OC; G.Skill TRIDENT Z 32Gb 3200cl14@cl16/4000; LG GL2783A 144Hz

 
Bromka

Member

Статус: Не в сети
Регистрация: 10.04.2016
Откуда: Tatarstan
Фото: 0

KillHunter
у неё свой биос? в биосе мамки ни найду ни чего похожего

 
KillHunter

Member

Статус: Не в сети
Регистрация: 02.03.2009
Откуда: Украина, Сумы

Bromka писал(а):

у неё свой биос? в биосе мамки ни найду ни чего похожего

ой не трогайте тогда ничего от греха раз вы даж не в курсе что у видика всегда есть свой биос, пастройте температурную кривую в афтебурнер и все

 
Ferch

Member

Статус: Не в сети
Регистрация: 05.05.2010
Откуда: Москва
Фото: 4

Riva выдает «cannot establish connection with the update server» как исправить? ставил старую версию, новую, винду переустанавливал — нет результата.


_________________
i5 4460 / B85 / 16GB / GTX 1060

 
Яков

Member

Статус: Не в сети
Регистрация: 08.02.2012
Откуда: Алтай Бийск
Фото: 1

Ferch писал(а):

выдает «cannot establish connection with the update server» как исправить?

«машинный» перевод — не удается установить соединение с сервером обновлений, отключите

автоматический поиск обновлений RTSS

#77

(Проверять наличие обновлений — Никогда) и все!


_________________
ASUS Z77-M Pro|i5-2500K@4.0|4×4 Samsung 1600|1070 GameRock|Chieftec APS 650W|Zalman Z9U3|LG 24MP88HV-S

 
Ferch

Member

Статус: Не в сети
Регистрация: 05.05.2010
Откуда: Москва
Фото: 4

Спасибо большое!!!


_________________
i5 4460 / B85 / 16GB / GTX 1060

 
Яков

Member

Статус: Не в сети
Регистрация: 08.02.2012
Откуда: Алтай Бийск
Фото: 1

Ferch не стОит благодарностей !

Цитата:

винду переустанавливал — нет результата.

ради этого что-ли ОС переустанавливали ?


_________________
ASUS Z77-M Pro|i5-2500K@4.0|4×4 Samsung 1600|1070 GameRock|Chieftec APS 650W|Zalman Z9U3|LG 24MP88HV-S

Последний раз редактировалось Яков 12.05.2016 5:49, всего редактировалось 1 раз.

 
Ferch

Member

Статус: Не в сети
Регистрация: 05.05.2010
Откуда: Москва
Фото: 4

Нет, необходимость была.


_________________
i5 4460 / B85 / 16GB / GTX 1060

 
4e_alex

Advanced guest

Статус: Не в сети
Регистрация: 03.12.2004

С какой-то версии драйвера nvidia появился противный баг. Если выделенный сервер кодирования 64-битный, то при окончании записи драйвер видеокарты попросту вылетает и перезагружается. Кодек NVENC на 980, windows 7. Почти всегда это приводит к невозможности еще что-то записать до перезапуска AB, а некоторые игры еще и сами падают вслед за драйвером. Долго ломал голову, пока нашел виновника, при 32-битном сервере бага нет.


_________________
Enough expository banter! Now we fight like men! And ladies! And ladies who dress like men!

 
Shinkirou

Member

Статус: Не в сети
Регистрация: 20.03.2014
Откуда: NCH

привет. по какой-то причине снимается активность с кнопки авторегулировки оборотов кулера, для меня это проблема, так как у меня модифицированная референсная карта и вентиляторы регулируются афтерберненром, и при высокой нагрузке без активности кнопки вентиляторы крутятся на минималках. в общем, как-то исправить можно, может сталкивался кто?


_________________
celeron 1100 -> athlon xp 2500+ -> athlon ii x2 250 -> phenom ii x4 965 be -> fx8300 -> r7 1700 ->10700kf

 
Kuwabara

Member

Статус: Не в сети
Регистрация: 21.05.2008
Откуда: Рига

Всем хай.Как вывести частоту CPU в оверлей?В мониторинге я такой галочки не обнаружил,но видел на ютабе, у народа есть.


_________________
— А почему Логан умирает от взрывной волны?
— Так ведь спецназовец же.

ZeroZone>Kuwabara

 
Parazit1987

Member

Статус: Не в сети
Регистрация: 16.01.2015
Откуда: Санкт-Петербург

Kuwabara писал(а):

Как вывести частоту CPU в оверлей?

Через HWiNFO64


_________________
i7-10700 / RTX 3070Ti Palit GP / Gigabyte Z490M Gaming X / 16Gb RAM

 
Radja73

Member

Статус: Не в сети
Регистрация: 04.05.2011
Откуда: Чеб-ы City
Фото: 15

Это разве не частота cpu?
#77


_________________
Если я тебе не нравлюсь — застрелись, я не исправлюсь!

 
Яков

Member

Статус: Не в сети
Регистрация: 08.02.2012
Откуда: Алтай Бийск
Фото: 1

Radja73 писал(а):

Это разве не частота cpu?

нет, это частота ядра ВК (GPU), а Kuwabara как я понимаю интересует частота ядер процессора (CPU), я у себя в MSI Afterburner вижу только оверлеи загрузки и температуры проца, а вот частоты ядер нет в ОЭД, может в новых версиях MSI AB и есть, у меня старенькая v3.0.0…


_________________
ASUS Z77-M Pro|i5-2500K@4.0|4×4 Samsung 1600|1070 GameRock|Chieftec APS 650W|Zalman Z9U3|LG 24MP88HV-S

 
wolik

Member

Статус: Не в сети
Регистрация: 30.03.2008
Откуда: Germany
Фото: 10

Причину вычислить не могу, но возможно после инстала EVGA Prezision (аналог MSI) происходит следующий баг. При изменении такта гпу и мемори автоматом ставятся максимальные значения ползунком. Типа 1944999999. Естественно при закрытии настройки сохраняются и при старте активируются. Комп мёртво виснет, с графическими артефаками.


_________________
MSI Unify x570 3900X RTX 3090 TUF 2x16Gb P1700M Lepa Samsung 4K UE65KS9500

 
Артём

Member

Статус: Не в сети
Регистрация: 15.08.2004
Откуда: Красноярск

Яков писал(а):

может в новых версиях MSI AB и есть, у меня старенькая v3.0.0

Нет, и в актуальной только температура + загрузка.

 
olob

Member

Статус: Не в сети
Регистрация: 28.11.2008
Откуда: Минск

в проге MSI Afterburner как сделать чтобы отображалась частота CPU (нагрузка на проц, на ядра — это я нашел — но в обзорах видел что еще может указывать частоту CPU — правда там был i7-6700)

p.s. Странно — почитал — ни у кого не показывает — получается что? мне померещилось? да нет? еще ведущий обзора указывал что частота ЦПУ меняется и я обратил внимание на показание OSD в группе CPU — действительно частота меняется в зависимости от нагрузки!

 
MAUZERISLT

Member

Статус: Не в сети
Регистрация: 31.03.2008
Откуда: LithuaniaJonava
Фото: 3

olob, насколько знаю с АМД процами это не работает.


_________________
i7-7700k@4.7MSI Z270 GAMING PRO CARBONDDR4 Kingston HyperX Predator 2x8GB 3200MHz CL16Samsung SSD 750 EVO 250GBMSI GTX1070 GAMING X 8GOCZ ZS 650W

 
olob

Member

Статус: Не в сети
Регистрация: 28.11.2008
Откуда: Минск

MAUZERISLT писал(а):

olob, насколько знаю с АМД процами это не работает.

дай скрин настройки MSI AB там где есть такой пунктик — вижу у тебя Интел — может у меня тоже есть этот пунктик — просто я не знаю как его вывести на экран в играх

 
Артём

Member

Статус: Не в сети
Регистрация: 15.08.2004
Откуда: Красноярск

olob, в оверлей rtss можно передавать данные из других программ, например из aida (или как это поделие там щас называется).

Кто сейчас на конференции

Сейчас этот форум просматривают: Bing [Bot] и гости: 6

Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Лаборатория

Новости

Whenever I open MSI afterburner, it gives a message saying «Cannot establish connection with the update server!». I can press OK and continue to use the software, why?

LastUpdate : Mon, 28 Aug 2017

Answer

Please connect your system to the internet via wifi or ethernet.

Models

  • GeForce GT 1030 2GH LP OC
  • GeForce GTX 1060 GAMING VR 6G
  • GeForce GTX 1070 SEA HAWK X
  • GeForce GTX 980 Ti 6GD5T OC
  • Radeon RX 480 ARMOR 4G OC
  • GeForce GTX 1080 GAMING Z 8G
  • GeForce GTX 1080 Ti LIGHTNING
  • Radeon RX 470 ARMOR 4G
  • Radeon RX 550 4GT LP OC
  • GeForce GTX 1070 AERO ITX 8G OC
  • GeForce GTX 1070 ARMOR 8G
  • GeForce GTX 1080 Ti AERO 11G
  • Radeon RX 580 GAMING X+ 8G
  • GeForce GTX 1070 GAMING X 8G
  • GeForce GTX 1080 SEA HAWK
  • Radeon RX 570 ARMOR 8G OC
  • GeForce GTX 1060 GAMING X+ 6G
  • GeForce GTX 1070 Quick Silver 8G
  • GeForce GTX 950 2GD5 OCV2
  • GeForce GTX 980 GAMING 4G LE
  • Radeon RX 570 ARMOR 4G
  • GeForce GTX 1060 ARMOR 6G V1
  • GeForce GTX 1060 GAMING VR 3G
  • GeForce GTX 1070 DUKE 8G OC
  • GeForce GTX 1080 Ti SEA HAWK X
  • Radeon RX 470 GAMING 8G
  • GeForce GTX 1080 Ti ARMOR 11G
  • GeForce GTX 1080 Ti GAMING X 11G
  • GeForce GTX 970 4GD5T
  • GeForce GTX 980 Ti SEA HAWK
  • Radeon RX 470 ARMOR 4G OC
  • Radeon RX 480 ARMOR 8G OC
  • Radeon RX 560 AERO ITX 2G OC
  • GeForce GTX 1060 GAMING 3G
  • GeForce GTX 1080 GAMING X+ 8G
  • GeForce GTX 960 GAMING 2G
  • GeForce GTX 970 4GD5
  • Radeon RX 580 GAMING+ 8G
  • GeForce GTX 1060 AERO ITX 3G OC
  • GeForce GTX 1080 Ti AERO 11G OC
  • GeForce GTX 1080 Ti SEA HAWK EK X
  • GeForce GTX 1050 GAMING 2G
  • GeForce GTX 1080 GAMING 8G
  • GeForce GTX 1080 SEA HAWK EK X
  • GeForce GTX 1080 Ti ARMOR 11G OC
  • GeForce GTX 1080 Ti GAMING 11G
  • GeForce GTX 960 2GD5
  • GeForce GT 1030 2GH LP OCV1
  • GeForce GTX 1050 Ti GAMING X 4G
  • GeForce GTX 1060 ARMOR 6G
  • GeForce GTX 960 GAMING 2G LE
  • GeForce GTX 960 GAMING LE 100ME
  • GeForce GTX 970 4GD5T OC
  • Radeon RX 560 4GT LP OC
  • GeForce GTX 1080 Ti SEA HAWK
  • Radeon RX 480 GAMING X 8G
  • Radeon RX 580 GAMING 8G
  • GeForce GTX 1060 AERO ITX 6G
  • GeForce GTX 1060 Camo Squad 6G
  • GeForce GTX 960 GAMING 2G MGSV
  • GeForce GTX 960 GAMING 4G
  • Radeon RX 570 GAMING X 4G
  • Radeon RX 580 ARMOR 4G OC
  • GeForce GTX 1070 ARMOR 8G OC
  • GeForce GTX 1070 Quick Silver 8G OC
  • GeForce GTX 980 4GD5T OC
  • GeForce GTX 980 Ti GAMING 6G GOLDEN EDITION
  • Radeon RX 470 GAMING X 4G
  • Radeon RX 550 AERO ITX 2G OC
  • GeForce GT 1030 2G LP OC
  • GeForce GTX 1050 GAMING X 2G
  • GeForce GTX 1080 AERO 8G OC
  • Radeon RX 470 GAMING X 8G
  • Radeon RX 480 ARMOR 4G
  • Radeon RX 580 ARMOR 8G OC
  • GeForce GTX 1060 GAMING+ 6G
  • GeForce GTX 1080 Ti LIGHTNING Z
  • GeForce GTX 950 2GD5 OC
  • GeForce GTX 950 GAMING 2G
  • GeForce GTX 970 GAMING 4G LE
  • GeForce GTX 980 4GD5 V1
  • Radeon RX 550 AERO ITX 4G OC
  • GeForce GTX 1060 3GT OCV2
  • GeForce GTX 960 2GD5 OCV1
  • GeForce GTX 960 4GD5T OCV2
  • GeForce GTX 960 GAMING 4G LE
  • GeForce GTX 980 Ti GAMING 6G LE
  • GeForce GTX 980 Ti LIGHTNING
  • Radeon RX 470 ARMOR 8G
  • Radeon RX 470 GAMING 4G
  • Radeon RX 560 AERO ITX 4G OC
  • GeForce GTX 1060 ARMOR 3G OCV1
  • GeForce GTX 1080 ARMOR 8G
  • GeForce GTX 960 GAMING 100ME
  • GeForce GTX 970 GAMING 4G Golden Edition
  • GeForce GTX 980 4GD5 OCV1
  • GeForce GTX 1060 GAMING X 6G
  • GeForce GTX 960 4GD5T OC
  • Radeon RX 580 GAMING X 8G
  • GeForce GTX 1070 SEA HAWK
  • GeForce GTX 1070 SEA HAWK EK X
  • GeForce GTX 1080 30th Anniversary
  • GeForce GTX 1080 GAMING+ 8G
  • GeForce GTX 1080 SEA HAWK X
  • GeForce GTX 950 2GD5T OCV3
  • GeForce GTX 960 4GD5 OCV1
  • Radeon RX 480 ARMOR 8G
  • Radeon RX 570 ARMOR 8G
  • GeForce GT 1030 AERO ITX 2G OC
  • GeForce GTX 1060 ARMOR 6G OC
  • GeForce GTX 1060 GAMING VR X 6G
  • GeForce GTX 1080 Ti DUKE 11G OC
  • GeForce GTX 970 4GD5 OC
  • GeForce GTX 980 Ti GAMING 6G
  • Radeon RX 480 GAMING 8G
  • GeForce GTX 1050 Ti GAMING 4G
  • GeForce GTX 1060 AERO ITX 3G
  • GeForce GTX 1060 ARMOR 3G V1
  • GeForce GTX 1060 GAMING X 3G
  • GeForce GTX 1080 Ti Founders Edition
  • Radeon RX 470 ARMOR 8G OC
  • GeForce GT 1030 2G LP OCV1
  • GeForce GTX 1070 AERO 8G OC
  • Radeon RX 550 2GT LP OC
  • Radeon RX 570 GAMING X 8G
  • Radeon RX 580 ARMOR 4G
  • Radeon RX 580 ARMOR 8G
  • GeForce GT 1030 2GH OC
  • GeForce GTX 1060 AERO ITX 6G OC
  • GeForce GTX 1070 GAMING 8G
  • GeForce GTX 1080 AERO 8G
  • GeForce GTX 950 2GD5 OCV1
  • GeForce GTX 960 2GD5T OC
  • GeForce GTX 970 GAMING 100ME
  • GeForce GTX 980 Ti LIGHTNING LE
  • GTX 950 2GD5 OCV3
  • Radeon RX 480 GAMING X 4G
  • Radeon RX 580 GAMING X 4G
  • GeForce GTX 1060 ARMOR 6G OCV1
  • GeForce GTX 950 2GD5T OCV2
  • GeForce GTX 1070 GAMING Z 8G
  • GeForce GTX 970 GAMING LE 100ME
  • GeForce GTX 980 4GD5
  • Radeon RX 570 ARMOR 4G OC
  • GeForce GTX 1060 GAMING 6G
  • GeForce GTX 1080 ARMOR 8G OC
  • GeForce GTX 1080 Ti DUKE 11G
  • GeForce GTX 960 2GD5 OCV2
  • GeForce GTX 970 GAMING 4G
  • GeForce GTX 980 GAMING 4G
  • GeForce GTX 980 Ti 6GD5
  • Radeon RX 570 GAMING 8G
  • GeForce GTX 1070 AERO 8G
  • GeForce GTX 1080 GAMING X 8G
  • GeForce GTX 960 2GD5T
  • GeForce GTX 960 2GD5T OCV2
  • Radeon RX 480 GAMING 4G
  • Radeon RX 560 2GT LP OC
  • Radeon RX 570 GAMING 4G
  • Radeon RX 580 8G
  • Radeon RX 580 GAMING 4G
  • GeForce GTX 1060 GAMING VR X 3G
  • GeForce GTX 1070 AERO ITX 8G
  • GeForce GTX 1080 Ti LIGHTNING X
  • GeForce GTX 980 Ti 6GD5 V1
  • GeForce GTX 950 2GD5T OC


  1. MrH

    MrH
    Ancient Guru

    Messages:
    2,811
    Likes Received:
    14
    GPU:

    Does anyone know how to stop this popping up? I’ve disabled updates in both RT and AB but it still pops up every time I boot.

  2. Check the settings. There should be an option to select if you want to check for updates on start up or not. It should be under the first tab.

  3. It’s doing it to me every time I boot my computer now. Started a few days ago. I’ve always had never check for updates «unchecked» plus never check for betas also. Me thinks Alex may need to tweak something someday.


  4. onemoar

    onemoar
    Master Guru

    Messages:
    294
    Likes Received:
    0
    GPU:

    its been doing it for going on 3 weeks here now
    I just figured the update server went down at @unwinder hasn’t had time to fix it

  5. I was getting it occasionally, probably the per week that was set, I set it to never check yesterday, and got the error this morning again

    Maybe the «Never» setting is bugged, gonna switch it to monthly and see what happens

  6. I set mine to monthly a few days ago and it didn’t make a difference for me.

  7. Weirdly, if I press the «Update now» button, it says I’m running the latest, so it’s definitely contacting the update server

  8. Just saying that I’m also having this issue, not sure what the problem is.

  9. Happened again this morning with updates set to check monthly


  10. Brama

    Brama
    Active Member

    Messages:
    87
    Likes Received:
    1
    GPU:

    MSI Afterburner checks correctly the update server. The error is coming from RTSS.
    Disable the update check if you are annoyed by the message pop-up. :)

  11. lol, I even read that on the title of the popup and completely ignored it :D

    Cheers

  12. ^^^ this

    Long time ago I’ve disabled check for updates both on MSI AB and RTSS, they have separate settings for update check.

  13. Totally missed it in RTSS myself.


  14. MrH

    MrH
    Ancient Guru

    Messages:
    2,811
    Likes Received:
    14
    GPU:

    Edit: Apparently I can’t read :D

  15. Breaking news: Since disabling the ‘correct’ update check setting, in the ‘correct’ program, I have not seen any further error popups lol

  16. Aren’t the 2 combined now so there is no need to check separately?Possibly why it errors on the RTSS check.

  17. Yeah we need to adres that, it’ll be fixed in the next build of RTSS.

  18. Nice thanks for the update :) i should have read this thread sooner instead of uninstalling then re-installing a couple of times …

  19. Same here, been getting the bugger for days :DCheers :)

    (never knew there was a one in RTSS either :p)


  20. HunterKiller

    HunterKiller
    New Member

    Messages:
    1
    Likes Received:
    0
    GPU:
    MSI R9-290-OC GDDR5 2GBVR

    My RiviaTuner hasn’t been update since Dec. 2015. Is there a way to update it or, not?

Share This Page


guru3D Forums

  • Home
  • VBForums
  • Visual Basic
  • Visual Basic .NET
  • My Updater is giving some problem…

  1. May 30th, 2015, 12:45 PM


    #1

    mnxford is offline

    Thread Starter


    Hyperactive Member


    My Updater is giving some problem…

    Hello,

    I have made an external updater for my software. But when it downloads the latest update some problem occurs. The updater doesn’t finish the download. It sometimes provide the download finished msg in 58% or sometimes in 34% without downloading the full update only for bigger updates. Maybe there is something wrong with the calculation I am doing to show the progressbar.

    My Updater Code:

    Code:

    Private Sub BackgroundWorker1_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles Update_BGW.DoWork
            Try
                Dim theResponse As WebResponse
                Dim theRequest As WebRequest
                Try
                    theRequest = WebRequest.Create(Me.txtFileName.ToString)
                    theResponse = theRequest.GetResponse
                Catch ex As Exception
                    MessageBox.Show("Error occurred while downloading updates. Possibe causes:" & ControlChars.CrLf & "1) File doesn't exist." & ControlChars.CrLf & "2) Update server not respoding." & ControlChars.CrLf & "3) Cannot connect to the update server." & ControlChars.CrLf & "4) Problem with your internet connection." & ControlChars.CrLf & "5) Remote server error.", "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Error)
                    Dim cancelDelegate As New DownloadCompleteSafe(AddressOf DownloadComplete)
                    Me.Invoke(cancelDelegate, True)
                    Exit Sub
                End Try
                Dim length As Long = theResponse.ContentLength
                Dim safedelegate As New ChangeTextsSafe(AddressOf ChangeTexts)
                Me.Invoke(safedelegate, length, 0, 0, 0)
                Dim writeStream As New IO.FileStream(Me.whereToSave, IO.FileMode.Create)
                Dim nRead As Integer
                Dim speedtimer As New Stopwatch
                Dim currentspeed As Double = -1
                Dim readings As Integer = 0
                Do
                    If Update_BGW.CancellationPending Then
                        Exit Do
                    End If
                    speedtimer.Start()
                    Dim readBytes(4095) As Byte
                    Dim bytesread As Integer = theResponse.GetResponseStream.Read(readBytes, 0, 4096)
                    nRead += bytesread
                    Dim percent As Short = CShort(((nRead / length) * 100))
                    Me.Invoke(safedelegate, length, nRead, percent, currentspeed)
                    If bytesread = 0 Then Exit Do
                    writeStream.Write(readBytes, 0, bytesread)
                    speedtimer.Stop()
                    readings += 1
                    If readings >= 5 Then
                        currentspeed = (4096 * 5 * 1000 / (speedtimer.ElapsedMilliseconds + 1))
                        speedtimer.Reset()
                        readings = 0
                    End If
                Loop
                theResponse.GetResponseStream.Close()
                writeStream.Close()
                If Me.Update_BGW.CancellationPending Then
                    IO.File.Delete(Me.whereToSave)
                    Dim cancelDelegate As New DownloadCompleteSafe(AddressOf DownloadComplete)
                    Me.Invoke(cancelDelegate, True) : Exit Sub
                End If
                Dim completeDelegate As New DownloadCompleteSafe(AddressOf DownloadComplete)
                Me.Invoke(completeDelegate, False)
            Catch ex As Exception
                MsgBox("ERROR #18: Downloading Updates Failed!!! Please report the error number to the developer.", MsgBoxStyle.Critical, "ERROR")
            End Try
        End Sub

    I also obsfucated my software with latest ConfuserEx. Something might also went wrong with my obsfucation protection level. But before obsfucation the software provides the same type or problem.

    Please help me out

    Thanks in advance….


  2. May 30th, 2015, 02:18 PM


    #2

    mnxford is offline

    Thread Starter


    Hyperactive Member


    Re: My Updater is giving some problem…


  3. May 30th, 2015, 09:06 PM


    #3

    robertx is offline


    Frenzied Member


    Re: My Updater is giving some problem…

    Where and how are you updating the progress bar?


  4. May 31st, 2015, 11:00 AM


    #4

    mnxford is offline

    Thread Starter


    Hyperactive Member


    Re: My Updater is giving some problem…

    My Full Updater Code:

    Code:

    Imports System
    Imports System.IO
    Imports System.Net
    Public Class updater
        Dim whereToSave As String = My.Application.Info.DirectoryPath & "CoD4X 1.8 Patch.exe"
        Dim txtFileName As String = "http://cod4.ugiclan.com/patches/CoD4X%201.8%20Patch.exe"
        Dim txtVersion As String = "http://cod4x.ugiclan.com/client/version.txt"
        Dim FileName As String
        Delegate Sub ChangeTextsSafe(ByVal length As Long, ByVal position As Integer, ByVal percent As Integer, ByVal speed As Double)
        Delegate Sub DownloadCompleteSafe(ByVal cancelled As Boolean)
        Private Sub updater_Load(sender As Object, e As EventArgs) Handles Me.Load
            Try
                Label8.Text = ""
                Label9.Text = ""
                btnDownload.Enabled = False
                btnDownload.Visible = False
                Me.Refresh()
                Label1.Text = Application.ProductVersion
                CheckForUpdates()
            Catch ex As Exception
                MsgBox("ERROR #11: Retrieving Updates Information Failed!!! Please report the error number to the developer.", MsgBoxStyle.Critical, "ERROR")
            End Try
        End Sub
        Public Sub CheckForUpdates()
            Try
                Dim request As System.Net.WebRequest = System.Net.WebRequest.Create(txtVersion)
                Dim response As System.Net.WebResponse = request.GetResponse()
                Dim sr As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream())
                Dim newestversion As String = sr.ReadToEnd()
                Dim currentversion As String = Application.ProductVersion
                If newestversion.Contains(currentversion) Then
                    Label8.Text = "         Up To Date!!!     "
                    Label9.Text = "   You have the latest CoD4X Client files!     "
                    btnDownload.Enabled = False
                    btnDownload.Visible = False
                End If
                If newestversion.ToString > Application.ProductVersion Then
                    Label8.Text = "A new update is available!!!"
                    Label9.Text = "Would you like to download and install it now?"
                    btnDownload.Enabled = True
                    btnDownload.Visible = True
                    Label7.Text = newestversion.ToString
                ElseIf newestversion.ToString < Application.ProductVersion Then
                    MsgBox("Cannot establish connection with the update server.")
                End If
            Catch ex As Exception
                MsgBox("ERROR #12: Checking For Latest Updates Failed!!! Please report the error number to the developer.", MsgBoxStyle.Critical, "ERROR")
            End Try
        End Sub
        Private Sub btnDownload_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDownload.Click
            Try
                If My.Computer.FileSystem.DirectoryExists(My.Application.Info.DirectoryPath & "/" & "updates") Then
                    System.IO.Directory.Delete(My.Application.Info.DirectoryPath & "/" & "updates", True)
                End If
                FileName = Me.txtFileName.ToString.Split("/"c)(Me.txtFileName.ToString.Split("/"c).Length - 1)
                Me.btnDownload.Enabled = False
                Me.btnCancel.Enabled = True
                Me.Update_BGW.RunWorkerAsync()
            Catch ex As Exception
                MsgBox("ERROR #15: Cannot Download Updates!!! Please report the error number to the developer.", MsgBoxStyle.Critical, "ERROR")
            End Try
        End Sub
        Private Sub BackgroundWorker1_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles Update_BGW.DoWork
            Try
                Dim theResponse As WebResponse
                Dim theRequest As WebRequest
                Try
                    theRequest = WebRequest.Create(Me.txtFileName.ToString)
                    theResponse = theRequest.GetResponse
                Catch ex As Exception
                    MessageBox.Show("Error occurred while downloading updates. Possibe causes:" & ControlChars.CrLf & "1) File doesn't exist." & ControlChars.CrLf & "2) Update server not respoding." & ControlChars.CrLf & "3) Cannot connect to the update server." & ControlChars.CrLf & "4) Problem with your internet connection." & ControlChars.CrLf & "5) Remote server error.", "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Error)
                    Dim cancelDelegate As New DownloadCompleteSafe(AddressOf DownloadComplete)
                    Me.Invoke(cancelDelegate, True)
                    Exit Sub
                End Try
                Dim length As Long = theResponse.ContentLength
                Dim safedelegate As New ChangeTextsSafe(AddressOf ChangeTexts)
                Me.Invoke(safedelegate, length, 0, 0, 0)
                Dim writeStream As New IO.FileStream(Me.whereToSave, IO.FileMode.Create)
                Dim nRead As Integer
                Dim speedtimer As New Stopwatch
                Dim currentspeed As Double = -1
                Dim readings As Integer = 0
                Do
                    If Update_BGW.CancellationPending Then
                        Exit Do
                    End If
                    speedtimer.Start()
                    Dim readBytes(4095) As Byte
                    Dim bytesread As Integer = theResponse.GetResponseStream.Read(readBytes, 0, 4096)
                    nRead += bytesread
                    Dim percent As Short = CShort(((nRead / length) * 100))
                    Me.Invoke(safedelegate, length, nRead, percent, currentspeed)
                    If bytesread = 0 Then Exit Do
                    writeStream.Write(readBytes, 0, bytesread)
                    speedtimer.Stop()
                    readings += 1
                    If readings >= 5 Then
                        currentspeed = (4096 * 5 * 1000 / (speedtimer.ElapsedMilliseconds + 1))
                        speedtimer.Reset()
                        readings = 0
                    End If
                Loop
                theResponse.GetResponseStream.Close()
                writeStream.Close()
                If Me.Update_BGW.CancellationPending Then
                    IO.File.Delete(Me.whereToSave)
                    Dim cancelDelegate As New DownloadCompleteSafe(AddressOf DownloadComplete)
                    Me.Invoke(cancelDelegate, True) : Exit Sub
                End If
                Dim completeDelegate As New DownloadCompleteSafe(AddressOf DownloadComplete)
                Me.Invoke(completeDelegate, False)
            Catch ex As Exception
                MsgBox("ERROR #18: Downloading Updates Failed!!! Please report the error number to the developer.", MsgBoxStyle.Critical, "ERROR")
            End Try
        End Sub
        Private Sub btnCancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCancel.Click
            Try
                Me.Update_BGW.CancelAsync()
            Catch ex As Exception
                MsgBox("ERROR #16: Cannot Cancel The Download!!! Please report the error number to the developer.", MsgBoxStyle.Critical, "ERROR")
            End Try
        End Sub
        Public Sub ChangeTexts(ByVal length As Long, ByVal position As Integer, ByVal percent As Integer, ByVal speed As Double)
            Try
                If length < 1022976 Then
                    Me.Label3.Text = "File Size: " & Math.Round((length / 1024), 2) & " KB"
                    Me.Label4.Text = "Downloaded " & Math.Round((position / 1024), 2) & " KB of " & Math.Round((length / 1024), 2) & " KB (" & Me.ProgressBar1.Value & "%)"
                ElseIf length > 1022976 Then
                    Me.Label3.Text = "File Size: " & Math.Round((length / 1048576), 2) & " MB"
                    Me.Label4.Text = "Downloaded " & Math.Round((position / 1048576), 2) & " MB of " & Math.Round((length / 1048576), 2) & " MB (" & Me.ProgressBar1.Value & "%)"
                End If
                If speed = -1 Then
                    Me.Label2.Text = "Speed: Calculating..."
                Else
                    If speed < 1022976 Then
                        Me.Label2.Text = "Speed: " & Math.Round((speed / 1024), 2) & " KB/s"
                    ElseIf speed > 1022976 Then
                        Me.Label2.Text = "Speed: " & Math.Round((speed / 1048576), 2) & " MB/s"
                    End If
                End If
                Me.ProgressBar1.Value = percent
            Catch ex As Exception
                MsgBox("ERROR #14: Updating Application Values Failed!!! Please report the error number to the developer.", MsgBoxStyle.Critical, "ERROR")
            End Try
        End Sub
        Public Sub DownloadComplete(ByVal cancelled As Boolean)
            Try
                Me.btnDownload.Enabled = True
                Me.btnCancel.Enabled = False
                If cancelled Then
                    Me.Label4.Text = "Cancelled!!!"
                    MessageBox.Show("Download Aborted!!!", "Aborted", MessageBoxButtons.OK, MessageBoxIcon.Information)
                Else
                    Me.Label4.Text = "Successfully Downloaded!!!"
                    MessageBox.Show("Successfully Downloaded!!!", "Finished", MessageBoxButtons.OK, MessageBoxIcon.Information)
                End If
                Me.ProgressBar1.Value = 0
                Me.Label3.Text = "File Size: "
                Me.Label2.Text = "Download Speed: "
                Me.Label4.Text = ""
            Catch ex As Exception
                MsgBox("ERROR #13: Checking For Latest Updates Failed!!! Please report the error number to the developer.", MsgBoxStyle.Critical, "ERROR")
            End Try
        End Sub
        Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
            about.Show()
        End Sub
        Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
            Try
                Process.Start("https://github.com/CoD4X/CoD4X18_client/blob/master/changelog.txt")
            Catch ex As Exception
                MsgBox("ERROR #17: Browser Problem!!! Please report the error number to the developer.", MsgBoxStyle.Critical, "ERROR")
            End Try
        End Sub
        Private Sub updater_FormClosing(sender As Object, e As FormClosingEventArgs) Handles Me.FormClosing
            Update_BGW.CancelAsync()
            Application.Exit()
        End Sub
    End Class

    Please help me out guys…


  5. May 31st, 2015, 12:15 PM


    #5

    Re: My Updater is giving some problem…

    I’ve only quickly glanced at your code, and although there are several issues you will need to sort out (not least of which is not being able to close the Form), there is nothing there that should cause the problem you are reporting.

    Indeed, having run your code, it downloads the patch .exe as expected.

    Could you be having problems with your internet connection, such that you are losing connection to the server?


  6. May 31st, 2015, 03:04 PM


    #6

    mnxford is offline

    Thread Starter


    Hyperactive Member


    Re: My Updater is giving some problem…

    I’ve check the code in different pc after you said. But the same problem is occurring at my end. I think this might be an issue with the speed and time. My internet and almost all the internet connections in our country is around 1mbps of speed. Downlading the file using slow speed might giving the problem. If I try to download a local hfs file from my home server a 3.45GB file downloads very nicely with this downloader at a speed of 6MB/s (48mbps). So I think the issue is occurring on some speed and time stuff. But I was unable to figure it out. Please try to help me out. And also please tell me other issues you have been seeing in this code along with the solution if you can.

    Thanks in advance…


  7. Jun 1st, 2015, 05:57 AM


    #7

    Re: My Updater is giving some problem…

    What you are saying seems to fit in with what I have observed. When I tested, I was using a 20Mbit/s connection, and it succeeded.

    I modified your code slightly to introduce a small delay after each read so as to throttle the download speed to under 1Mbit/s, and I now see the same results as you are reporting. After about 15 to 25 minutes the read operation returns 0 bytes and the download stops without completing.

    I checked by using Free Download Manager to download the file. I set FDM to use 1 connection and throttle the download rate to below 1Mbit/s. It succeeded, but the Log showed that it lost connection to your server several times.

    Quote Originally Posted by Log

    22:12:25 31/05/2015 [Section 1] — Started
    22:12:25 31/05/2015 [Section 1] — Downloading
    22:12:29 31/05/2015 Preparing files on the disk… This may take several minutes
    22:28:27 31/05/2015 [Section 1] — Connection with the server was lost
    22:28:27 31/05/2015 [Section 1] — Connecting…
    22:28:28 31/05/2015 [Section 1] — Connection succeeded
    22:28:28 31/05/2015 [Section 1] — Downloading
    22:44:08 31/05/2015 [Section 1] — Connection with the server was lost
    22:44:08 31/05/2015 [Section 1] — Connecting…
    22:44:09 31/05/2015 [Section 1] — Connection succeeded
    22:44:09 31/05/2015 [Section 1] — Downloading
    23:02:20 31/05/2015 [Section 1] — Connection with the server was lost
    23:02:20 31/05/2015 [Section 1] — Connecting…
    23:02:23 31/05/2015 [Section 1] — Connection succeeded
    23:02:23 31/05/2015 [Section 1] — Downloading
    23:04:36 31/05/2015 [Section 1] — Done
    23:04:36 31/05/2015 Download complete

    I have no idea what is causing your server to behave this way. Nor do I know the best solution. It looks like you may need to provide support for resuming the download in the event of the connection being lost.

    Before you ask… no, I don’t know the code to do that . If memory serves it’s something to do with downloading in chunks, using the Range command. I know it can be done in .NET as I played with this several years ago. Google will help you get started.


  8. Jun 1st, 2015, 06:12 AM


    #8

    mnxford is offline

    Thread Starter


    Hyperactive Member


    Re: My Updater is giving some problem…

    I got your point. But a basic downloader should always try to reconnect to the server if the connection is lost. Why this downloader is not serving the purpose I dont understand. Are you recommending me to download the file with ftp in chunks and update the progressbar? That will solve the problem? And can you suggest me why the server is get lost several times? What might be the problem with my server? I use a vps server and have CentOS Web Panel Installed on my server where I hosted the cod4.ugiclan.com website. this website is a simple apache directory containing all my files which makes it easier for other to download those files using direct link…


  9. Jun 1st, 2015, 06:24 AM


    #9

    Re: My Updater is giving some problem…

    Your downloader isn’t resuming because the HttpWebRequest doesn’t resume by default. You have to provide the code to do it.

    I’m not saying you should use FTP, I’m saying you should research how to use HttpWebRequest to resume the download. Type something like .net httpwebrequest resume into Google and you’ll get loads of hits.

    I have absolutely no idea how servers work, so can’t help you with understanding why you are having this problem. Sorry.


  10. Jun 10th, 2015, 04:30 PM


    #10

    Re: My Updater is giving some problem…

    Are cod patches allowed? I think help should be suspended until admin respond.


  11. Jun 10th, 2015, 05:07 PM


    #11

    Re: My Updater is giving some problem…

    Yes, this goes against Activision’s(parent company) Term of Use. Thread closed.


  • Home
  • VBForums
  • Visual Basic
  • Visual Basic .NET
  • My Updater is giving some problem…


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  • BB code is On
  • Smilies are On
  • [IMG] code is On
  • [VIDEO] code is On
  • HTML code is Off

Forum Rules


Click Here to Expand Forum to Full Width

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Ошибка cannot display this video mode change computer display input to
  • Ошибка cannot create file c program files