Ошибка err http 2 protocol error как исправить

Ошибка ERR_HTTP2_PROTOCOL_ERROR появляется в браузерах Chrome, Edge, Yandex, Firefox на компьютере с Windows 11/10.

Ошибка ERR_HTTP2_PROTOCOL_ERROR появляется в браузерах Chrome, Edge, Yandex, Firefox на компьютере с Windows 11/10.

HTTP2 — это новый протокол, который в большинстве заменил старый HTTP, и считается более быстрым, так как он объединяет файлы в один пакет и передает на сервер. В старом HTTP процесс же шел, что каждый файл передавался на сервер, что является более долгим процессом, чем HTTP2.

Ошибка err_http2_protocol_error будет возникать в приложениях и на сайтах, где протокол HTTP/2 еще не поддерживается или используется старая версия. В случае проблем при посещении сайтов, то скорее всего данный хостинг дешевый и не поддерживает HTTP/2, или администратор сайта не включил данный протокол на сервере. Кроме того, устаревшие сетевые драйвера или плохие ответы DNS-серверов могут быть причиной ошибки протокола HTTP2.

1. Обновить браузер

Если браузер устарел, то сайт может отклонять новые протоколы HTTP2, так как устаревший браузер не поддерживает их.

  • Перейдите в настройки браузера
  • Перейдите в раздел О браузере
  • Проверьте наличие последних обновлений

Обновить браузер Google Chrome

2. Проверьте дату и время

Ошибка err http2 protocol error может возникать, если стоит неправильная дата и время, так как пакеты с данными могут отклоняться сервером из-за неправильной отметкой времени.

  • Перейдите в параметры системы Windows 11/10
  • Далее Время и Язык > Дата и время
  • Проверьте правильность времени и даты

Изменить вручную дату и время windows11

3. Обновить ОС

Обновите операционную систему своего устройства, чтобы устранить ошибку ERR HTTP2 PROTOCOL ERROR в браузере.

  • Перейдите в параметры Windows 11/10
  • Выберите Центр обновление Windows
  • Проверьте наличие обновлений

проверить наличие обновлений windows11

4. Запустите браузер в инкогнито

Запустите браузер в режиме инкогнито (приватном режиме). Это исключит из виновников поврежденные cookie, историю и расширение, которое может блокировать сетевые соединения. Если проблема будет решена, то проделайте ниже способ 5 и 6.

  • Откройте браузер и нажмите сочетание кнопок Ctrl+Shift+N
  • Откроется окно в режиме инкогнито
  • Попробуйте посетить сайт, который выдавал ошибку

Вы таже можете нажать на троеточие в правом верхнем углу и выбрать Новое окно в режиме инкогнито.

Запуск браузера в инкогнито

5. Отключить расширения браузера

Установленные расширения в браузере могут создавать конфликт в сетевых соединений, так как пакеты могут не анализироваться должным образом, или вовсе блокироваться.

  • Нажмите сверху на настройки
  • Выберите Дополнительные инструменты > Расширения
  • Отключите или удалите расширения

дополнительные инструменты расширения

6. Очистите историю и cookie

Откройте браузер и нажмите сочетание кнопок Ctrl+H, чтобы открыть параметры истории. Выберите за всё время, выделите всё галочками и нажмите Удалить данные.

очистить историю Chrome Ctrl+H

7. Отключите протокол QUIC в браузере

Если сервер, на котором расположен сайт, не настроен правильно для обработки трафика из экспериментальной сети транспортного уровня QUIC, то может возникнуть конфликт с HTTP2 и ошибке err_http2_protocol_error.

  • Откройте браузер
  • Вставьте в адресную строку chrome://flags/#enable-quic
  • Установите значение в Disabled

Отключить протокол Chrome QUIC

8. Сбросить параметры Flag

Если каким-либо образом изменили параметры flag, о которых потом забыли, то сброс их по умолчанию может устранить ошибку с протоколом версии 2.

  • Откройте браузер и вставьте в адресную строку
  • chrome://flags/
  • Далее нажмите Reset all 

сброс флагов браузера хром

9. Новый профиль

Попробуйте войти под другим профилем в браузере. Нажмите справа сверху на иконку профиля и выберите Гость или добавьте нового пользователя.

другой профиль chrom

10. Используйте VPN

Если вы получаете ошибку при подключенном VPN, то отключите его и посмотрите устранена ли проблема. В противном случае, вы можете настроить VPN или использовать программы, чтобы обойти совместимость проколов.

  • Настройка VPN подключения в Windows 11
  • Лучшие VPN программы для компьютера Windows 11/10

11. Отключите сторонний антивирус

Сторонний антивирус, брандмауэр и firewall могут блокировать некоторые пакеты, а сервер сочтет их поврежденными, что может привести к ошибке err_http2_protocol_error в браузере.

  • Отключите на время антивирус или удалите его полностью

Отключить аваст


Смотрите еще:

  • Ошибка ERR_CONNECTION_RESET в браузере
  • Как сделать браузер по умолчанию в Windows 11
  • Ошибка STATUS ACCESS VIOLATION в браузере Chrome и Edge
  • Код ошибки 4,3,2,1: 0x80070005 при обновлении браузера Chrome
  • Исправить ошибку 224003 воспроизведения видео в браузере

[ Telegram | Поддержать ]

Как устранить ошибку ERR HTTP2 PROTOCOL ERROR?

Речь об ошибке протокола HTTP2, который не позволяет загрузить сайт, несколько веб-ресурсов или значительную их часть. Основной ключ – ERR_HTTP2_PROTOCOL_ERROR, именно по нему можно идентифицировать данную проблему. На самом деле ошибка затрагивает практически все браузеры: Opera, Chrome, Edge, Firefox и т. п., а также разные устройства, поэтому принципиальной разницы нет. Все, что нам известно о данной ошибке, смотрите в нашем полном гайде.

Причины

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

  • поврежденные данные кеша;
  • неполадки в самом браузере;
  • ограничение доступа от системы безопасности;
  • конфликт расширений браузера.

Что нужно сделать в первую очередь?

Самый первый этап – диагностика. Она поможет понять, проблема с нашей стороны или дело вовсе не в этом. Если неполадка находится со стороны сервера, а вы – обычный пользователь, то ничего делать не нужно, так как решение ложится на плечи разработчиков. Чтобы лучше понять природу происхождения ошибки ERR HTTP2 PROTOCOL ERROR, нужно сделать пару простых действий:

  • Проверить другие сайты. Мы рекомендуем попробовать запустить разные сайты и посмотреть, проблема затрагивает что-то конкретное или сразу все. Лучше запустить несколько совершенно разных, популярных веб-ресурсов. Если хоть несколько из них недоступны, проблема клиентская. Если дело только в одном сайте, с большой вероятностью речь о серверной неполадке.
  • Запустить другие браузеры. Проверка в других веб-обозревателях поможет подтвердить или исключить наличие сбоя в конкретном браузере. Таким образом будет понимание, это что-то глобальное или локальное.

Здесь мы перечислим список основных действий, которые помогут устранить ошибку. Вам вовсе не обязательно пробовать их все, так как в результате предыдущей проверки уже должны сформироваться догадки, в каком направлении разумнее всего копать.

Рабочие способы решения проблемы:

  • Очистка кэша. Следует выполнять тем, у кого не грузится один или ряд сайтов только в одном браузере. Запустить инструмент очистки проще всего комбинацией Ctrl + Shift + Del. Работает практически во всех веб-обозревателях.
  • Отключить расширения. Если неполадка наблюдается в конкретном браузере, высока вероятность конфликта дополнений. Переходим во вкладку «Расширения» и отключаем все, особенно VPN и блокировщики рекламы. Еще проще – включить режим Инкогнито. По умолчанию в нем не работают дополнения. Помогло? По одному запускаем аддоны, пока не найдем тот, который работает неправильно.
  • Проверить время и дату. Практически все сайты и браузеры работают некорректно? Если точнее, те, которые используют SSL-сертификаты. Скорее всего дело в том, что у вас дата и время выставлены неверно. Их нужно установить вручную или сделать автообновление по сети.
  • Отключить QUIC. Если неполадка сводится к конкретному сайту в определенном браузере, стоит выключить экспериментальный стандарт QUIC. Он может обрабатываться неправильно. Для этого нужно перейти по ссылке chrome://flags/#enable-quic и деактивировать параметр, что будет подсвечен желтым цветом.

Как устранить ошибку ERR HTTP2 PROTOCOL ERROR?

  • Отключить средства защиты. Сюда относится антивирус и брандмауэр.
  • Включить VPN. Актуально для тех сайтов, которые заблокированы для определенных регионов.

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

ERR_HTTP2_PROTOCOL_ERROR — довольно популярная ошибка, которая может возникнуть в любом браузере, включая Chrome, Edge, Opera, Firefox и т. д. — в основном в системах Windows 10/11. HTTP2 — это новый протокол, который заменил своего предшественника HTTP более быстрым откликом за счет объединения файлов в один пакет и их передачи на сервер. Одна из причин возникновения ERR_HTTP2_PROTOCOL_ERROR заключается в том, что веб-сайт, который вы пытаетесь посетить, не поддерживает протокол HTTP/2 — часто из-за дешевого хостинга или из-за того, что администратор веб-сайта не включил этот протокол на сервере. Эта причина актуальна, если вы не можете посетить одну конкретную веб-страницу. В противном случае, если проблема с посещением множества страниц, то это может быть связано с более общими причинами, такими как устаревшие версии браузера, неправильные настройки даты и времени, конфликтующие расширения браузера, переполненный кеш или даже включенные экспериментальные функции. Ниже мы составили руководство с решениями, которые потенциально решат проблему и вернут ваш браузер к нормальной работе. Обратите внимание, что приведенные ниже инструкции в основном ориентированы на решение проблемы в Google Chrome, однако вы также можете использовать их для выполнения аналогичных действий и в других браузерах.

ERR_HTTP2_PROTOCOL_ERROR

Скачать Advanced System Repair Pro

compatible with microsoft

Чтобы исправить ошибку «ERR_HTTP2_PROTOCOL_ERROR» в Windows, мы рекомендуем вам использовать Advanced System Repair Pro. Он содержит инструменты для очистки данных браузера, исправления ошибок реестра, удаления нежелательных программ и вредоносных расширений.

Скачать Fix Tool для Mac

Скачать CleanMyMac

Чтобы исправить ошибку «ERR_HTTP2_PROTOCOL_ERROR» в MacOS, мы рекомендуем использовать CleanMyMac. Он содержит инструменты для очистки данных браузера, исправления ошибок реестра, удаления нежелательных программ и вредоносных расширений, а также сканирования вашего Mac на наличие вирусов.

1. Убедитесь, что ваш браузер обновлен

Если ваш браузер все еще работает на более старой версии, это может быть причиной того, что новые протоколы HTTP2 не будут поддерживаться. Таким образом, убедитесь, что у вас установлена ​​последняя версия браузера, выполнив следующие действия:

  1. Щелкните левой кнопкой мыши на меню в виде трех точек в правом верхнем углу.
  2. Выберите Настройки , а затем в О Chrome на левой панели.
  3. Chrome начнет автоматически искать новые обновления и сообщит, если браузер уже обновлен.
  4. Если новое обновление все же будет найдено и установлено, вам нужно будет нажать на кнопку Перезапустить , чтобы перезагрузить браузер.

После этого проверьте, стало ли возможным использовать проблемные страницы снова.

2. Установите дату и время для автоматического обновления

Если у вас в системе установлены неправильные дата и время, это может привести к возникновению ошибки, поскольку пакеты данных могут откланяться сервером из-за неправильной отметки времени. Мы рекомендуем проверить это, выполнив следующие действия:

  1. Нажмите Windows Key + I кнопки и перейдите в Время и язык.
  2. Затем перейдите в Дата и время и разрешите Установить время автоматически опцию.

3. Отключите сторонний антивирус

Если на вашем ПК установлен сторонний антивирус, попробуйте отключить его и проверить, сможете ли вы снова посещать проблемные страницы. Брандмауэры для защиты от вредоносных программ иногда могут создавать конфликты при подключении к определенным или многим веб-сайтам. Если после отключения вашего антивируса все стало нормально работать без проблем с подключением, то причиной тому был именно ваш антивирус. Если вы продолжаете получать сообщение об ошибке после повторного запуска антивируса, можете попробовать другое менее конфликтующее ПО. Наш совет — MalwareBytes — надежная и талантливая команда экспертов, постоянно поддерживающая свое программное обеспечение для борьбы как с незначительными, так и глобальными угрозами. Теперь он доступен и для Windows 11. Вы можете загрузить его прямо сейчас, используя ссылку ниже, и попробовать 14-дневную пробную версию совершенной защиты от вредоносных программ бесплатно.

Malwarebytes main window

Главное окно Malwarebytes

Malwarebytes settings

Настройки Malwarebytes

Malwarebytes scan results

Результаты сканирования Malwarebytes

Скачать Malwarebytes

4. Отключите расширения в Chrome

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

  1. Откройте Chrome и нажмите на значок с тремя точками в правом верхнем углу.
  2. Наведите указатель мыши на Дополнительные инструменты и Расширения.
  3. Отключите все сторонние расширения, нажав на синий переключатель.

После выполнения этих шагов откройте тот же домен, с которым у вас возникли проблемы.

5. Очистите данные браузера

Еще одно быстрое решение, которое может эффективно справиться с некоторыми ошибками, — очистить браузер от перегруженных файлов, таких как кеш. Некоторые элементы браузера, запоминаемые Chrome и другими браузерами, через некоторое время использования могут создавать проблемы несовместимости при открытии определенных страниц. Очистка данных вашего браузера может не только решить проблему, но также повысить производительность браузера и освободить немного место. Обратите внимание, что очистка данных браузера может привести к выходу из аккаунтов на веб-сайтах, которые вы посещали ранее. Таким образом, убедитесь, что вы помните все свои учетные данные для входа в аккаунты позже.

  1. Нажмите на значок с тремя точками в правом верхнем углу, как мы делали выше.
  2. Перейдите в Дополнительные инструменты , а затем выберите Удаление данных о просмотренных страницах….
  3. Вверху выберите временной диапазон. Чтобы удалить все, выберите Все время.
  4. Установите флажки рядом с Файлы cookie и другие данные сайтов и Изображения и другие файлы, сохраненные в кэше.
  5. Затем нажмите Удалить данные.

Перезапустите браузер и попробуйте снова открыть страницу.

6. Обновите драйверы

Довольно часто устаревшие сетевые драйверы могут стать причиной невозможности правильного подключения. Это могут быть устаревшие или поврежденные драйверы, которые больше не поддерживаются или несовместимы. Поэтому рекомендуется просканировать сетевые и беспроводные адаптеры на наличие драйверов и при необходимости установить их. Вы можете сделать это вручную или воспользоваться специальной утилитой для более быстрого решения. Оба варианта обсуждаются ниже:

  1. Щелкните левой кнопкой мыши на Меню Пуск и выберите Диспетчер устройств.
  2. В идеале вам следует обновить все доступные сетевые устройства. Если есть что-то, отмеченное желтым треугольником, то это следует обновить в первую очередь.
  3. Для этого щелкните на драйвер правой кнопкой мыши, выберите Обновитьи следуйте инструкциям на экране.
  4. Позвольте Windows найти новые драйверы и загрузить их.

Драйверы являются ключом к правильной конфигурации вашей системы. Именно они обеспечивают стабильное соединение между оборудованием и вашей операционной системой. Обновление ряда драйверов вручную может занять много времени. Здесь вы можете скачать лучшую утилиту для обновления драйверов, которая ускорит этот процесс, справясь с этой задачей самостоятельно — Driver Booster от IObit:

Driver Booster start screen

Стартовый экран Driver Booster

Driver Booster scan results

Результаты сканирования Driver Booster

Driver Booster tools section

Раздел инструментов Driver Booster

Скачать Driver Booster

7. Отключите протокол QUIC

Может возникнуть конфликт с HTTP2 и привести к ошибке ERR_HTTP2_PROTOCOL_ERROR, если сервер, на котором размещен веб-сайт, неправильно настроен для обработки трафика из QUIC — экспериментальной сети транспортного уровня. Ниже мы собираемся отключить ее, если она все же работает.

  1. Откройте браузер и скопируйте-вставьте это chrome://flags/#enable-quic в строку поиска.
  2. Затем убедитесь, что Экспериментальный протокол QUIC стоит на Запрещено.

8. Сбросьте флаги Chrome

Вот что следует делать в том случае, если вы экспериментировали с включением различных функций «бета-тестирования». Они являются экспериментальными и могут быть не полностью оптимизированы для работы с другими настройками в браузере Google Chrome. Поэтому мы рекомендуем вам сбросить их всех, перейдя в раздел «Флаги Chrome». Для этого выполните короткий список шагов, приведенный ниже:

  1. Откройте браузер и введите chrome://flags в строку поиска.
  2. Нажмите на Сбросить все в правом верхнем углу и Перезапустить Chrome.
  3. После перезапуска браузера попробуйте снова открыть ту же проблемную страницу.

Заключение

Этих восьми способов должно быть достаточно, чтобы справиться с проблемой и успешно войти на страницы. Вы также можете попробовать перезагрузить свой роутер — так, на всякий случай. Если что-то еще ухудшает вашу работу, не стесняйтесь зайти на наш сайт, чтобы найти статьи, касающиеся других проблем. Каждый день мы публикуем новые руководства как по устранению ошибок ПК, так и по удалению различных угроз, вроде нежелательных программ или вредоносного ПО.

Содержание

  1. Как устранить ошибку ERR HTTP2 PROTOCOL ERROR?
  2. Причины
  3. Что нужно сделать в первую очередь?
  4. Как исправить ошибку ERR_HTTP2_PROTOCOL_ERROR?
  5. Исправить ошибку ERR_HTTP2_PROTOCOL_ERROR
  6. 1. Обновить браузер
  7. 2. Проверьте дату и время
  8. 3. Обновить ОС
  9. 4. Запустите браузер в инкогнито
  10. 5. Отключить расширения браузера
  11. 6. Очистите историю и cookie
  12. 7. Отключите протокол QUIC в браузере
  13. 8. Сбросить параметры Flag
  14. 9. Новый профиль
  15. 10. Используйте VPN
  16. 11. Отключите сторонний антивирус
  17. ERR_HTTP2_PROTOCOL_ERROR on Chrome [Fixed]
  18. Fix Error ERR_HTTP2_PROTOCOL_ERROR on Chrome
  19. 1] Hard Refresh the webpage
  20. 2] Update your browser to its latest version
  21. 3] Set the correct date and time on your device
  22. 4] Disable or uninstall any conflicting browser extensions
  23. 5] Disable the browser QUIC Protocol
  24. How do I fix insecure Chrome?
  25. How do I change Google Chrome back to normal?

Как устранить ошибку ERR HTTP2 PROTOCOL ERROR?

Речь об ошибке протокола HTTP2, который не позволяет загрузить сайт, несколько веб-ресурсов или значительную их часть. Основной ключ – ERR_HTTP2_PROTOCOL_ERROR, именно по нему можно идентифицировать данную проблему. На самом деле ошибка затрагивает практически все браузеры: Opera, Chrome, Edge, Firefox и т. п., а также разные устройства, поэтому принципиальной разницы нет. Все, что нам известно о данной ошибке, смотрите в нашем полном гайде.

Причины

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

  • поврежденные данные кеша;
  • неполадки в самом браузере;
  • ограничение доступа от системы безопасности;
  • конфликт расширений браузера.

Что нужно сделать в первую очередь?

Самый первый этап – диагностика. Она поможет понять, проблема с нашей стороны или дело вовсе не в этом. Если неполадка находится со стороны сервера, а вы – обычный пользователь, то ничего делать не нужно, так как решение ложится на плечи разработчиков. Чтобы лучше понять природу происхождения ошибки ERR HTTP2 PROTOCOL ERROR, нужно сделать пару простых действий:

  • Проверить другие сайты. Мы рекомендуем попробовать запустить разные сайты и посмотреть, проблема затрагивает что-то конкретное или сразу все. Лучше запустить несколько совершенно разных, популярных веб-ресурсов. Если хоть несколько из них недоступны, проблема клиентская. Если дело только в одном сайте, с большой вероятностью речь о серверной неполадке.
  • Запустить другие браузеры. Проверка в других веб-обозревателях поможет подтвердить или исключить наличие сбоя в конкретном браузере. Таким образом будет понимание, это что-то глобальное или локальное.

Как исправить ошибку ERR_HTTP2_PROTOCOL_ERROR?

Здесь мы перечислим список основных действий, которые помогут устранить ошибку. Вам вовсе не обязательно пробовать их все, так как в результате предыдущей проверки уже должны сформироваться догадки, в каком направлении разумнее всего копать.

Рабочие способы решения проблемы:

  • Очисткакэша. Следует выполнять тем, у кого не грузится один или ряд сайтов только в одном браузере. Запустить инструмент очистки проще всего комбинацией Ctrl + Shift + Del. Работает практически во всех веб-обозревателях.
  • Отключить расширения. Если неполадка наблюдается в конкретном браузере, высока вероятность конфликта дополнений. Переходим во вкладку «Расширения» и отключаем все, особенно VPN и блокировщики рекламы. Еще проще – включить режим Инкогнито. По умолчанию в нем не работают дополнения. Помогло? По одному запускаем аддоны, пока не найдем тот, который работает неправильно.
  • Проверить время и дату. Практически все сайты и браузеры работают некорректно? Если точнее, те, которые используют SSL-сертификаты. Скорее всего дело в том, что у вас дата и время выставлены неверно. Их нужно установить вручную или сделать автообновление по сети.
  • ОтключитьQUIC. Если неполадка сводится к конкретному сайту в определенном браузере, стоит выключить экспериментальный стандарт QUIC. Он может обрабатываться неправильно. Для этого нужно перейти по ссылке chrome://flags/#enable-quic и деактивировать параметр, что будет подсвечен желтым цветом.

  • Отключить средства защиты. Сюда относится антивирус и брандмауэр.
  • ВключитьVPN. Актуально для тех сайтов, которые заблокированы для определенных регионов.

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

Источник

Исправить ошибку ERR_HTTP2_PROTOCOL_ERROR

Ошибка ERR_HTTP2_PROTOCOL_ERROR появляется в браузерах Chrome, Edge, Yandex, Firefox на компьютере с Windows 11/10.

HTTP2 — это новый протокол, который в большинстве заменил старый HTTP, и считается более быстрым, так как он объединяет файлы в один пакет и передает на сервер. В старом HTTP процесс же шел, что каждый файл передавался на сервер, что является более долгим процессом, чем HTTP2.

Ошибка err_http2_protocol_error будет возникать в приложениях и на сайтах, где протокол HTTP/2 еще не поддерживается или используется старая версия. В случае проблем при посещении сайтов, то скорее всего данный хостинг дешевый и не поддерживает HTTP/2, или администратор сайта не включил данный протокол на сервере. Кроме того, устаревшие сетевые драйвера или плохие ответы DNS-серверов могут быть причиной ошибки протокола HTTP2.

1. Обновить браузер

Если браузер устарел, то сайт может отклонять новые протоколы HTTP2, так как устаревший браузер не поддерживает их.

  • Перейдите в настройки браузера
  • Перейдите в раздел О браузере
  • Проверьте наличие последних обновлений

2. Проверьте дату и время

Ошибка err http2 protocol error может возникать, если стоит неправильная дата и время , так как пакеты с данными могут отклоняться сервером из-за неправильной отметкой времени.

  • Перейдите в параметры системы Windows 11/10
  • Далее Время и Язык > Дата и время
  • Проверьте правильность времени и даты

3. Обновить ОС

Обновите операционную систему своего устройства, чтобы устранить ошибку ERR HTTP2 PROTOCOL ERROR в браузере.

  • Перейдите в параметры Windows 11/10
  • Выберите Центр обновление Windows
  • Проверьте наличие обновлений

4. Запустите браузер в инкогнито

Запустите браузер в режиме инкогнито (приватном режиме). Это исключит из виновников поврежденные cookie, историю и расширение, которое может блокировать сетевые соединения. Если проблема будет решена, то проделайте ниже способ 5 и 6.

  • Откройте браузер и нажмите сочетание кнопок Ctrl+Shift+N
  • Откроется окно в режиме инкогнито
  • Попробуйте посетить сайт, который выдавал ошибку

Вы таже можете нажать на троеточие в правом верхнем углу и выбрать Новое окно в режиме инкогнито.

5. Отключить расширения браузера

Установленные расширения в браузере могут создавать конфликт в сетевых соединений, так как пакеты могут не анализироваться должным образом, или вовсе блокироваться.

  • Нажмите сверху на настройки
  • Выберите Дополнительные инструменты > Расширения
  • Отключите или удалите расширения

6. Очистите историю и cookie

Откройте браузер и нажмите сочетание кнопок Ctrl+H, чтобы открыть параметры истории. Выберите за всё время, выделите всё галочками и нажмите Удалить данные.

7. Отключите протокол QUIC в браузере

Если сервер, на котором расположен сайт, не настроен правильно для обработки трафика из экспериментальной сети транспортного уровня QUIC, то может возникнуть конфликт с HTTP2 и ошибке err_http2_protocol_error.

  • Откройте браузер
  • Вставьте в адресную строку chrome://flags/#enable-quic
  • Установите значение в Disabled

8. Сбросить параметры Flag

Если каким-либо образом изменили параметры flag, о которых потом забыли, то сброс их по умолчанию может устранить ошибку с протоколом версии 2.

  • Откройте браузер и вставьте в адресную строку
  • chrome://flags/
  • Далее нажмите Reset all

9. Новый профиль

Попробуйте войти под другим профилем в браузере. Нажмите справа сверху на иконку профиля и выберите Гость или добавьте нового пользователя.

10. Используйте VPN

Если вы получаете ошибку при подключенном VPN, то отключите его и посмотрите устранена ли проблема. В противном случае, вы можете настроить VPN или использовать программы, чтобы обойти совместимость проколов.

11. Отключите сторонний антивирус

Сторонний антивирус, брандмауэр и firewall могут блокировать некоторые пакеты, а сервер сочтет их поврежденными, что может привести к ошибке err_http2_protocol_error в браузере.

Источник

ERR_HTTP2_PROTOCOL_ERROR on Chrome [Fixed]

An HTTP2 Protocol Error is observed in several systems and primarily pertains to browser or network issues. As the name suggests, people face this issue when there are interferences in their HTTP2 Network Protocol. This may be caused by the presence of a corrupt or incompatible extension, bad cookies, and other glitches of the kind. If you, too, are countering the ERR_HTTP2_PROTOCOL_ERROR on your Chrome browser, this article will help you resolve it.

Fix Error ERR_HTTP2_PROTOCOL_ERROR on Chrome

To fix error ERR_HTTP2_PROTOCOL_ERROR on Google Chrome on Windows 11/10, follow these suggestions:

  1. Hard Refresh the webpage
  2. Update your browser to its latest version
  3. Set the correct date and time on your device
  4. Disable or uninstall any conflicting browser extensions
  5. Disable the browser QUIC Protocol

1] Hard Refresh the webpage

The simplest trick in the book is the one you should try before any other. If you face a ERR_HTTP2_PROTOCOL_ERROR while loading a Chrome webpage, you can press the CTRL key and then refresh the page to check if the issue has been resolved or not.

2] Update your browser to its latest version

There’s a high chance that you may run into this error if you’re working on an outdated version of your web browser. Because of incompatible data packets, the website that you’re trying to run may refuse to accept the client’s request. You can try updating your web browser and checking if the error still persists.

If you are using Google Chrome:

  • Open Chrome on your PC and click on the ellipse’s icon at the top-right corner
  • Here, select Help and further go to About Google Chrome
  • Under the About Chrome section, you’ll see if there are any pending updates for your browser.
  • If there are, click to initiate them and once it’s updated, relaunch the browser.

Users of Edge, Firefox, etc. can follow these steps to update the browser manually.

After relaunching the browser, check if you continue to face the HTTP2 Protocol Error.

3] Set the correct date and time on your device

Another cause of error ERR_HTTP2_PROTOCOL_ERROR can be the incorrect time and date that you may have set up on your device. Rectifying it to the current date and time as per your time zone can help you rid yourself of this error.

  1. Check if the date and time on your computer are correct and if not, right-click on the clock on your computer’s system tray and further click on Adjust date/time
  2. Here, firstly, toggle off the Set time automatically option and under the Set time manually setting, click on Change
  3. Here, set the time as is correct and save the changes

Now, restart your system and relaunch the webpage to see if the issue has been resolved or not.

4] Disable or uninstall any conflicting browser extensions

Getting rid of any browser extensions that are causing hindrances in the communications between your browser and a webpage can also do the trick for you.

  1. From the top-right corner of your browser homepage, click on the Extensions icon
  2. On the bottom of this action box, you’ll find a Manage Extensions option. Click on it
  3. This will take you to a separate page where you can find all the browser extensions that you currently have running on your computer
  4. Locate the conflicting one from the group. You can now disable it by toggling off the enable extension option, or click on Remove to uninstall it

Once you’ve taken care of the problematic extension, relaunch Chrome to check if the webpage is loading properly or not.

5] Disable the browser QUIC Protocol

  • Launch Chrome on your PC and enter the following in the Address bar
  • This will help you locate the relevant flag. Find the highlighted ‘Experimental QUIC Protocol’ and from the dropdown to the right, select Disabled
  • In order to implement this change, relaunch the browser

If the problematic webpage is now loading without any hiccups, you’ll find the HTTP2 Protocol Error to have been resolved.

How do I fix insecure Chrome?

Sometimes, our browsing and surfing experience on the internet is restricted since some sites have unsafe content to view. If a site isn’t safe to visit, Chrome shows that the following connection/webpage is secure. In order to check whether a webpage is safe to visit or not, you can visit that site and check its security info from the left of its address bar. Below are the three indicators of a site’s security.

How do I change Google Chrome back to normal?

If you ever feel that Google Chrome on your computer is acting up by being weirdly slow, it can be because of faulty extensions, excessive notifications, bad cookies & cache, etc. Lucky for you, Google Chrome provides settings to help fix all of them easily.

Источник

I’m currently working on a website, which triggers a net::ERR_HTTP2_PROTOCOL_ERROR 200 error on Google Chrome. I’m not sure exactly what can provoke this error, I just noticed it pops out only when accessing the website in HTTPS. I can’t be 100% sure it is related, but it looks like it prevents JavaScript to be executed properly.

For instance, the following scenario happens :

  1. I’m accessing the website in HTTPS

  2. My Twitter feed integrated via https://publish.twitter.com isn’t loaded at all

  3. I can notice in the console the ERR_HTTP2_PROTOCOL_ERROR

  4. If I remove the code to load the Twitter feed, the error remains

  5. If I access the website in HTTP, the Twitter feed appears and the error disappears

Google Chrome is the only web browser triggering the error: it works well on both Edge and Firefox.
(NB: I tried with Safari, and I have a similar kcferrordomaincfnetwork 303 error)

I was wondering if it could be related to the header returned by the server since there is this ‘200’ mention in the error, and a 404 / 500 page isn’t triggering anything.

Thing is the error isn’t documented at all. Google search gives me very few results. Moreover, I noticed it appears on very recent Google Chrome releases; the error doesn’t pop on v.64.X, but it does on v.75+ (regardless of the OS; I’m working on Mac tho).


Might be related to Website OK on Firefox but not on Safari (kCFErrorDomainCFNetwork error 303) neither Chrome (net::ERR_SPDY_PROTOCOL_ERROR)


Findings from further investigations are the following:

  • error doesn’t pop on the exact same page if server returns 404 instead of 2XX
  • error doesn’t pop on local with a HTTPS certificate
  • error pops on a different server (both are OVH’s), which uses a different certificate
  • error pops no matter what PHP version is used, from 5.6 to 7.3 (framework used : Cakephp 2.10)

As requested, below is the returned header for the failing ressource, which is the whole web page. Even if the error is triggering on each page having a HTTP header 200, those pages are always loading on client’s browser, but sometimes an element is missing (in my exemple, the external Twitter feed). Every other asset on the Network tab has a success return, except the whole document itself.
line that failed in console

Google Chrome header (with error):

Chrome header

Firefox header (without error):

Firefox header

A curl --head --http2 request in console returns the following success:

HTTP/2 200 
date: Fri, 04 Oct 2019 08:04:51 GMT
content-type: text/html; charset=UTF-8
content-length: 127089
set-cookie: SERVERID31396=2341116; path=/; max-age=900
server: Apache
x-powered-by: PHP/7.2
set-cookie: xxxxx=0919c5563fc87d601ab99e2f85d4217d; expires=Fri, 04-Oct-2019 12:04:51 GMT; Max-Age=14400; path=/; secure; HttpOnly
vary: Accept-Encoding

Trying to go deeper with the chrome://net-export/ and https://netlog-viewer.appspot.com tools is telling me the request ends with a RST_STREAM :

t=123354 [st=5170]    HTTP2_SESSION_RECV_RST_STREAM
                      --> error_code = "2 (INTERNAL_ERROR)"
                      --> stream_id = 1

For what I read in this other post, «In HTTP/2, if the client wants to abort the request, it sends a RST_STREAM. When the server receives a RST_STREAM, it will stop sending DATA frames to the client, thereby stopping the response (or the download). The connection is still usable for other requests, and requests/responses that were concurrent with the one that has been aborted may continue to progress.
[…]
It is possible that by the time the RST_STREAM travels from the client to the server, the whole content of the request is in transit and will arrive to the client, which will discard it. However, for large response contents, sending a RST_STREAM may have a good chance to arrive to the server before the whole response content is sent, and therefore will save bandwidth.
«

The described behavior is the same as the one I can observe. But that would mean the browser is the culprit, and then I wouldn’t understand why it happens on two identical pages with one having a 200 header and the other a 404 (same goes if I disable JS).

I’m currently working on a website, which triggers a net::ERR_HTTP2_PROTOCOL_ERROR 200 error on Google Chrome. I’m not sure exactly what can provoke this error, I just noticed it pops out only when accessing the website in HTTPS. I can’t be 100% sure it is related, but it looks like it prevents JavaScript to be executed properly.

For instance, the following scenario happens :

  1. I’m accessing the website in HTTPS

  2. My Twitter feed integrated via https://publish.twitter.com isn’t loaded at all

  3. I can notice in the console the ERR_HTTP2_PROTOCOL_ERROR

  4. If I remove the code to load the Twitter feed, the error remains

  5. If I access the website in HTTP, the Twitter feed appears and the error disappears

Google Chrome is the only web browser triggering the error: it works well on both Edge and Firefox.
(NB: I tried with Safari, and I have a similar kcferrordomaincfnetwork 303 error)

I was wondering if it could be related to the header returned by the server since there is this ‘200’ mention in the error, and a 404 / 500 page isn’t triggering anything.

Thing is the error isn’t documented at all. Google search gives me very few results. Moreover, I noticed it appears on very recent Google Chrome releases; the error doesn’t pop on v.64.X, but it does on v.75+ (regardless of the OS; I’m working on Mac tho).


Might be related to Website OK on Firefox but not on Safari (kCFErrorDomainCFNetwork error 303) neither Chrome (net::ERR_SPDY_PROTOCOL_ERROR)


Findings from further investigations are the following:

  • error doesn’t pop on the exact same page if server returns 404 instead of 2XX
  • error doesn’t pop on local with a HTTPS certificate
  • error pops on a different server (both are OVH’s), which uses a different certificate
  • error pops no matter what PHP version is used, from 5.6 to 7.3 (framework used : Cakephp 2.10)

As requested, below is the returned header for the failing ressource, which is the whole web page. Even if the error is triggering on each page having a HTTP header 200, those pages are always loading on client’s browser, but sometimes an element is missing (in my exemple, the external Twitter feed). Every other asset on the Network tab has a success return, except the whole document itself.
line that failed in console

Google Chrome header (with error):

Chrome header

Firefox header (without error):

Firefox header

A curl --head --http2 request in console returns the following success:

HTTP/2 200 
date: Fri, 04 Oct 2019 08:04:51 GMT
content-type: text/html; charset=UTF-8
content-length: 127089
set-cookie: SERVERID31396=2341116; path=/; max-age=900
server: Apache
x-powered-by: PHP/7.2
set-cookie: xxxxx=0919c5563fc87d601ab99e2f85d4217d; expires=Fri, 04-Oct-2019 12:04:51 GMT; Max-Age=14400; path=/; secure; HttpOnly
vary: Accept-Encoding

Trying to go deeper with the chrome://net-export/ and https://netlog-viewer.appspot.com tools is telling me the request ends with a RST_STREAM :

t=123354 [st=5170]    HTTP2_SESSION_RECV_RST_STREAM
                      --> error_code = "2 (INTERNAL_ERROR)"
                      --> stream_id = 1

For what I read in this other post, «In HTTP/2, if the client wants to abort the request, it sends a RST_STREAM. When the server receives a RST_STREAM, it will stop sending DATA frames to the client, thereby stopping the response (or the download). The connection is still usable for other requests, and requests/responses that were concurrent with the one that has been aborted may continue to progress.
[…]
It is possible that by the time the RST_STREAM travels from the client to the server, the whole content of the request is in transit and will arrive to the client, which will discard it. However, for large response contents, sending a RST_STREAM may have a good chance to arrive to the server before the whole response content is sent, and therefore will save bandwidth.
«

The described behavior is the same as the one I can observe. But that would mean the browser is the culprit, and then I wouldn’t understand why it happens on two identical pages with one having a 200 header and the other a 404 (same goes if I disable JS).

Table of Contents
Hide
  1. Solution err_http2_protocol_error
  2. Scenario 1: Low Disk Space
  3. Scenario 2: Gzip double compression
  4. Scenario 3: Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR after upgrading to VS 2019 16.10.0 (and 16.10.1)

The err_http2_protocol_error occurs for various reasons while using Ng, and it’s one of the most annoying errors that appear all of a sudden either on your browsers such as Chrome, Firefox, etc. It can happen when you make HTTP calls from your code using react, .net, node.js, etc.

Let’s look at the typical use case and the solution for each of the different use cases.

Scenario 1: Low Disk Space

If your webserver runs on very low disk space, you will get err_http2_protocol_error while making HTTP calls. The error won’t be logged anywhere sometimes as there is no space left out on the disk. 

The webservers like Nginx, apache webservers will be unable to send all the responses and usually drop the request after the first chunk is sent. This would result in the content-length header not matching the actual content received and resulting in err_http2_protocol_error.

Solution: Check the disk space on your webserver, free up space, and check if this resolves the issue.

Scenario 2: Gzip double compression

If you are running Node.JS on an Nginx server, then there are high chances that the files like CSS, js, etc are getting double compressed, and due to which err_http2_protocol_error is thrown.

The first compression happens on the Node.JS server for the static files, and then even the Ngxinx also does Gzip conversion. 

Solution: Turn off the gzip compression on the Nginx config as shown below. Always ensure the gzip compression happens only once on the server-side.

 server {
  ...
  ...
  gzip off;
  proxy_max_temp_file_size 0;
  location / {
    proxy_pass http://127.0.0.1:3000/;
  ....

Also, it can cause because of the header size issue. Increase the value of http2_max_field_size and http2_max_header_size to resolve the issue.

http2_max_field_size 64k;
http2_max_header_size 512k;

Scenario 3: Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR after upgrading to VS 2019 16.10.0 (and 16.10.1)

The issue can happen if you are running ASP.Net 3.1 + React JS app after a windows update.

It is an official bug from Microsoft Windows, and it’s confirmed by Microsoft officially.

Solution: Uninstalling a recent Windows patch, KB5003637 resolves the issue, or you can upgrade to the latest version of the Windows patch.

Avatar Of Srinivas Ramakrishna

Srinivas Ramakrishna is a Solution Architect and has 14+ Years of Experience in the Software Industry. He has published many articles on Medium, Hackernoon, dev.to and solved many problems in StackOverflow. He has core expertise in various technologies such as Microsoft .NET Core, Python, Node.JS, JavaScript, Cloud (Azure), RDBMS (MSSQL), React, Powershell, etc.

Sign Up for Our Newsletters

Subscribe to get notified of the latest articles. We will never spam you. Be a part of our ever-growing community.

By checking this box, you confirm that you have read and are agreeing to our terms of use regarding the storage of the data submitted through this form.

Using the HTTP/2 Network Protocol, you can reach websites faster than ever before. However, you may stumble across an err_http2_protocol_error. This can prevent you from accessing certain web pages.

Fortunately, there are many solutions for the HTTP/2 protocol error. Whether you fix the problem within your browser or operating system, you can easily remove this troublesome message. Then, you can continue with your normal online browsing.

In this post, we’ll introduce you to the err_http2_protocol_error and its causes. Then, we’ll show you how to fix this problem on both a browser and a personal device. Let’s get started!

What Does the err_http2_protocol_error Mean?

When you perform a search, you may receive an “err_http2_protocol_error” message. This can prevent you from accessing a web page, stating that it is currently down or was permanently moved to another address:

A screenshot showing the err_http2_protocol_error message

The err_http2_protocol_error message

To understand the err_http2_protocol_error, let’s first discuss the Hypertext Transfer Protocol (HTTP). This is the application protocol that allows the retrieval of online resources.

A protocol is a set of rules that controls how data is transferred between clients. In this case, it can govern the HTTP requests between users and web browsers.

Currently, most browsers, applications, and systems run on the HTTP/2 network protocol. This updated protocol comes with enhanced efficiency for virtual data communication.

Although this update has many benefits, you still may experience errors when accessing online content. Sometimes, the err_http2_protocol_error will display as an HTTP error message and prevent you from accessing the online resource you’re looking for.

Get back to your normal browsing experience in no time with this handy guide 🛠Click to Tweet

What Causes the err_http2_protocol_error?

In general, the err_http2_protocol_error can appear because of issues with the browser, network, or conflicts with third-party software. Usually, this happens when HTTP/2 is outdated or not supported at all.

For an HTTP/2 protocol error, something interrupts the communication between the HTTP application layer and a user’s device. Unfortunately, this can happen to a wide variety of applications or systems. However, it is most common in web browsers like Google Chrome.

If you’re seeing this error, here are some common causes:

  • Outdated software. When your device’s operating system or web browser is outdated, it can be incompatible with a certain website. This will cause the err_http2_protocol_error if the site fails to parse your device’s data packets.
  • Corrupted browser cache. If your browser’s cache, cookies, or history is corrupted, then the requested site may be unable to authenticate your device’s legitimacy. As a result, the web server can refuse to make the connection and return this error.
  • Conflicting browser extensions. In some cases, third-party browser extensions can interrupt communication with the website’s server. This can prevent the site from rendering.
  • Third-party antivirus or firewall software. If you’re using antivirus or firewall software to secure your connections, it can prevent you from accessing certain websites.

As you can see, there are multiple reasons why you might see the HTTP/2 protocol error. Luckily, there are also many methods you can use to fix this problem.

How To Fix the err_http2_protocol_error In a Browser

Once you receive the err_http2_protocol_error, you can start troubleshooting to find the source of the issue. Although we’ll fully discuss some methods you can use, there are some simpler fixes you can start with.

First, try refreshing the web page. Hitting F5 on your keyboard will send a request with an If-Modified-Since header. If the site was temporarily down, this may solve the problem.

Alternatively, you can visit the site using a different browser. You may also want to close some tabs if there are too many open. If the error persists, continue with the following methods.

1. Update Your Browser

If you’re making searches with an outdated browser, this can easily lead to an HTTP/2 protocol error. This is because your browser’s data packets are incompatible with the site you’re trying to load.

To fix this problem, you can update your browser. Using Google Chrome, you can simply click on the three-dot icon in the upper right-hand corner and select Update Google Chrome.

If you don’t see this button, your browser is likely already up-to-date. To check if this is the case, go to Help > About Google Chrome:

Click on the about google chrome tag

About Google Chrome

This will prompt Google Chrome to check for a new update. If there is one, it will automatically install it. To finish updating, you’ll need to relaunch the browser:

Checking for a new update in Google Chrome

Google Chrome update

If you’re using the Google Chrome mobile app, you can simply open the App Store or Play Store, depending on your device type. Then, check for any app updates and install them!

2. Clear Your Browser Data

Whenever you experience issues during the rendering process, it’s a good idea to clear your browser data. By clearing your cache, cookies, and history, you can enable visited websites to authenticate your device and fulfill the request.

Depending on your browser, there are a few different ways to clear the cache. For Google Chrome, you can select More Tools > Clear Browsing Data:

Clear the browsing data in chrome

Clear Chrome browsing data

Using the pop-up window, you can specify the information you want to clear. You’ll want to be sure to select Cached images and files, but you can also get rid of your browsing history, cookies, and other data:

Clear cached Chrome data

Clear cached Chrome data

If you’re using Safari, it will be a similar process. To do this, go to Safari > Clear History:

Click on the Safari tab to clear Safari history

Clear Safari history

Then, you can choose to clear your cache, cookies, and site data from a specific time range. When you’re done, click on Clear History:

Choose a timeframe to remove cached data in Safari

Choose a timeframe to remove cached data

To clear your browser data on Mozilla Firefox, you’ll need to find the hamburger icon in the upper right-hand corner. Next, select History:

Select history in Firefox browser

Firefox history

In the new tab, click on Clear recent history:

Clear Firefox recent history

Clear recent history in Firefox

Like other browsers, you can choose only to clear certain data. However, it’s important to remember to select the Cache option:

Remember to select the Cache option in Firefox

Firefox clear cache

Now that you’ve cleared your browser cache try to visit the website where the error occurred. If you still see the err_http2_protocol_error message, you’ll need to try some alternative solutions.

3. Open a Private or Incognito Browser Window

Whenever you visit a new website, your browser will save information about that site in a cache. Once you visit the page again, your browser will pull the cached data rather than requesting the server all over again. Often, this can make the site load faster on repeat visits.

For this reason, you may want to avoid clearing your browser cache when trying to bypass the HTTP/2 protocol error. In this case, you can launch the browser in private or incognito mode.

This can be an effective one-time solution to avoid permanently deleting the cache or disabling third-party extensions. To do this in Google Chrome, extend the menu and click on New Incognito Window. This will open a private browser:

Open Incognito window in Google Chrome

Open Incognito window

Using the incognito mode, try to visit the website again. It may enable you to do this without having to use more complicated solutions. However, keep in mind that this is primarily a short-term fix.

4. Disable or Uninstall Browser Extensions

As we mentioned earlier, third-party extensions could potentially interfere with how your browser and a web page interact. After you see the err_http2_protocol_error message, you can consider disabling these extensions to see if the error disappears.

To do this in Google Chrome, visit More Tools > Extensions:

Open Chrome extensions by clicking on the three-dot menu icon

Open Chrome extensions

This will take you to a web page that lists your Chrome extensions. First, use the switches on the bottom-right corner to turn off each extension:

A screenshot showing how to disable Chrome extensions

Disable Chrome extensions

Now that your extensions are disabled try to go to the web page that caused the error. If the page loads, you’ll know that one of your extensions caused the problem.

Now, you can go back to the Extensions page and enable them one by one. After you turn on an extension, see if the error returns. When you find the problematic extension, consider removing it entirely.

5. Turn Off the Browser’s QUIC Protocol

Quick UDP Internet Connections (QUIC) is an encrypted transport network protocol that was developed by Google. Essentially, its goal was to increase the speed, security, and efficiency of HTTP traffic.

Currently, only eight percent of websites use QUIC. Therefore, when sites aren’t configured to process this kind of traffic, it can cause incompatibility between the client and server. As a result, this can display an HTTP/2 protocol error.

To solve this problem, you can turn off the QUIC protocol in your browser. In Chrome, you’ll simply need to enter the following URL into your search bar:

chrome://flags/#enable-quic

Now you’ll see a highlighted result labeled Experimental QUIC protocol. For this setting, change it to Disabled:

Disabling QUIC protocol

Disable QUIC protocol

Once you make this change, you’ll need to relaunch your browser. This will disable QUIC, allowing you to view the incompatible website.

6. Restore the Browser’s Default Settings

As you use Google Chrome, you may not notice small glitches that can change its default settings. Over time, this can lead to more errors like the err_http2_protocol_error.

Fortunately, you can get your browser back to normal by reverting its settings to the default options. To get started, open the Google Chrome Settings page:

Opening Chrome settings

Open Chrome settings

On the left, find the Reset settings tab. Then, select the Restore settings to their original defaults option:

Go to the Reset Settings tab in Chrome

Reset Chrome settings

Finally, you’ll just need to confirm that you want to erase your current Chrome settings. If you do, click on Reset settings:

Confirm settings reset popup box

Confirm settings reset

It’s important to keep in mind that this will erase your current search engine history, startup page, pinned tabs, extensions, bookmarks, and more. It will essentially revert your browser to a clean slate. However, it can remove any conflicting software or settings that are causing the HTTP/2 protocol error.

You can also consider resetting the experimental settings in your browser. These are not fully tested, functional features, so they could prevent your browser from communicating properly with a website.

To find your advanced experimental settings, search for the following address:

chrome://flags/

In the upper right-hand corner, select the Reset All option. If certain features were accidentally enabled, this will revert them to the default settings:

The Experimental Chrome features page

Experimental Chrome features

Then, these changes will be applied whenever you relaunch Chrome!

7. Reinstall Google Chrome

After executing all these methods, you may still see the troublesome HTTP/2 protocol error. If so, there could be an error within the Google Chrome app. Even if you restored the default settings, you may want to consider reinstalling the entire browser.

First, you’ll need to delete the browser from your device. To do this with a macOS operating system, open the Applications folder and move the Google Chrome app to the trash:

You can delete Google Chrome if needed

Delete Chrome application

You’ll also want to delete any Chrome software updates. To find them, search for ‘~/Library/Google’ on your device. In your results, delete the “GoogleSoftwareUpdate” folder:

Delete Chrome software update folder

Delete Chrome software update folder

If you’re a Windows user, you’ll use different steps to delete Chrome. To start, click on the Windows Start button and search for the Control Panel. Open it, then find the Programs option. Click on Uninstall a Program under Programs:

Uninstall a program in Windows

Uninstall a program in Windows

Now you’ll need to find Google Chrome and right-click on it. Lastly, hit Uninstall:

Find Google Chrome and uninstall in in Windows

Uninstall Google Chrome in Windows

For both Mac and Windows users, you can reinstall Chrome in the same way. You’ll simply need to download the file included on the Google Chrome website:

Download Google Chrome from the website

Download Google Chrome

Although this method could potentially solve the err_http2_protocol_error, it’s best only to use it as a last resort. Deleting Chrome will also remove all of its data, so be sure to try a few simpler solutions beforehand.

How To Fix the err_http2_protocol_error In a Device

So far, we’ve examined some methods to fix the err_http2_protocol_error using a web browser. However, in some cases, the browser may not be the source of the problem. To help you troubleshoot the issue, let’s discuss how to make your device compatible with the HTTP/2 protocol.

1. Reset Your Device’s Date and Time

Although it may not seem like a big deal, it’s important to have the correct date and time displayed on your device. If this information isn’t accurate, the incorrectly time-stamped data packets could be refused. This can lead to an err_http2_protocol_error.

With a Windows operating system, you can right-click on the clock in the bottom-right corner of your desktop. Then, select Adjust date and time:

A screenshot showing Windows time and date settings

Windows time and date settings

If your computer isn’t automatically displaying the right time, you’ll need to disable the Set time automatically setting. Beneath this, be sure to set the correct time zone:

Disabling automatic date and time settings in Windows

Disabling automatic date and time settings in Windows

Next, select the Change button to Set the date and time manually. In the pop-up window, enter the correct date and time:

Set time and date manually in Windows

Configure the date manually in Windows

For Mac users, click on the Apple menu. Then, select System Preferences. Here, find the Date & Time option:

A screenshot of System Preferences on a Mac

Mac System Preferences

In the bottom-left corner, click on the lock to make changes. Now you can deselect the Set date and time automatically option and choose the correct values:

Reset the date on a Mac computer

Reset Mac computer date

After you make these changes, try relaunching the web page!

2. Update Your Operating System

If you haven’t updated your device in a while, this can cause a multitude of performance issues. To ensure you can avoid any conflicts between your operating system and visited websites, you’ll need to check for recent upgrades.

Using a macOS device, you can start by performing a backup. Then, go to System Preferences > Software Update:

Perform a Mac software update

Mac software update

In this window, you’ll see any newly available updates. If you’re ready to install them, click on Update Now.

With a Windows computer, you can navigate to Start > Settings > Windows Update. If you haven’t already, install the latest update:

Perform a Windows update

Windows update settings

Once your device is up-to-date, it should be compatible with most websites that you want to visit. To see if this is the case, check whether the HTTP/2 protocol error is fixed. If not, continue with the following methods.

3. Flush the DNS

On the internet, the Domain Name System (DNS) functions as an index for all available websites and their unique IP addresses. When you visit a website, your operating system or browser will save this information in a database. This can lead to faster loading times on revisited websites.

If you’re seeing the err_http2_protocol_error, you can try flushing your DNS cache. Put simply, this will erase the IP addresses and other DNS data from your computer.

To flush a Mac DNS cache, open the command line interface called Terminal. In this window, enter the following command:

sudo killall -HUP mDNSResponder

This should successfully clear the DNS, removing the HTTP/2 protocol error. However, keep in mind that you’ll need to use slightly different processes for older versions of macOS.

If you have Windows 10, 8, 7, or XP, you can start by opening Command Prompt. In the command line, paste this command:

ipconfig /flushdns

You should see a confirmation message once the DNS has been flushed!

4. Check Antivirus Software

To keep your computer safe while you’re browsing, you likely have an antivirus program installed. Although this software offers many security benefits, it can occasionally flag certain applications as malicious. When this happens, it may unnecessarily limit your access to a website.

If none of the previous methods worked, you can check your antivirus software to see if it is functioning properly. First, open your notifications, which can display new security issues:

Antivirus software notifications

Antivirus software notifications

Most antivirus software will also have a quarantine list. This will contain all of the detected security threats on your computer:

Antivirus software quarantine page

Antivirus software quarantine

In either of these areas, evaluate whether any unwanted applications are being flagged. If so, you may need to temporarily disable your antivirus software.

Having trouble certain web pages thanks to this annoying error? 😣 The solution is here ⬇️Click to Tweet

Summary

When the err_http2_protocol_error happens, it can be extremely frustrating. Instead of quickly viewing necessary online resources, you’ll only be able to see an error message. Luckily, you can take a few simple steps to solve this problem.

Even as a complete beginner, you can optimize your web browser to bypass HTTP/2 protocol errors. By simply clearing the cache, opening a private window, or turning off third-party extensions, you can successfully view the blocked content. If the problem lies in your operating system, you can consider performing software updates or flushing the DNS cache instead.

As a website owner, you’ll need to know that your web pages can be reached at any time. With Kinsta, you’re able to use our HTTP Status and Redirect Checker to make sure your website is functioning correctly. Additionally, you can check your disk usage in the My Kinsta dashboard!


Get all your applications, databases and WordPress sites online and under one roof. Our feature-packed, high-performance cloud platform includes:

  • Easy setup and management in the MyKinsta dashboard
  • 24/7 expert support
  • The best Google Cloud Platform hardware and network, powered by Kubernetes for maximum scalability
  • An enterprise-level Cloudflare integration for speed and security
  • Global audience reach with up to 35 data centers and 275 PoPs worldwide

Test it yourself with $20 off your first month of Application Hosting or Database Hosting. Explore our plans or talk to sales to find your best fit.

What Is The Err_http2_protocol_error, And How To Handle It?

While working on a web application, you may face the net::ERR_HTTP2_PROTOCOL_ERROR 200 error. It is an error triggered by browsers such as  Google Chrome mostly.

This error may come up due to several reasons such as no disk space left on the webserver or using the Nginx server. 

It can happen when you make HTTP calls from your code using ReactJS, .Net, NodeJs, etc.

1. Solution err_http2_protocol_error : Low Disk Space

This is one of the basic reasons to get this error. You must firsts check the disk space of your webserver. If it is running on low space you will get err_http2_protocol_error during HTTP calls on the browser.

Since no space is left out in the disk the error won’t be logged anywhere in the disk.

So, you first clean the disk space of your web server and check if this resolves the issue.

The webservers like Nginx, Apache usually drops the request after the first chunk is sent.

2. Solution err_http2_protocol_error: Gzip double compression

If you are working with Node.JS and Nginx server, then It may be possible that the files like CSS, JS, etc are getting double compressed, and due to which err_http2_protocol_error is raised.

The NodeJS does the first compression for the static files, and then the Nginx also does Gzip conversion. 

So, you first turn off the gzip compression on the Nginx config as shown below. The gzip compression must happen only once either client or server-side.

 server {
  ...
  ...
  gzip off;
  proxy_max_temp_file_size 0;
  location / {
    proxy_pass http://127.0.0.1:8080/;
  ....

Also, increase the value of http2_max_field_size and http2_max_header_size parameters because it may also cause the header size issue.

http2_max_field_size 64k;
http2_max_header_size 512k;

3. Solution err_http2_protocol_error: Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR after upgrading to VS 2019 16.10.0 (and 16.10.1)

The issue generally comes due to ASP.Net 3.1 + React JS app after updating windows.

If you are working with ASP and React both then there may be chances you get this error due to some compatibility issues.

Although, Microsoft has resolved this issue with its new updates. You can get the detailed info here. Microsoft Developer Community

So, you must either uninstall a recent Windows patch, KB5003637 to resolve the issue, or just upgrade to the latest Windows version.

Conclusion

Here, we discussed the err_http2_protocol_error error in web browsers and web servers. This error can come with several reasons such as low disk space or ASP with ReactJs due to compatibility issues.

We discussed the possible solutions as well. So, you can get help to save time.

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Ошибка err gfx state rdr2
  • Ошибка err gfx d3d deferred mem
  • Ошибка err file pack 3 гта 5
  • Ошибка err cuf на тонометре как исправить
  • Ошибка err connection timed out как исправить

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

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