Fetch event is destroyed ошибка

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.

Already on GitHub?
Sign in
to your account

Closed

JustFly1984 opened this issue

Jun 30, 2020

· 10 comments

Comments

@JustFly1984

IOS 13.5.1
Mobile Safari 13.1.1

error on attempt to load css file from same origin

Never seen error like that before today.

Screenshot 2020-06-30 19 58 43

I’ve posted by accident to whatwg/fetch#1048

@JakeChampion

I’ve posted by accident to whatwg/fetch#1048

iOS 13 would be using a native fetch and not a polyfill. Are you sure it is using the polyfill?

@JustFly1984

@JakeChampion I’m sure I’m importing «whatwg-fetch»: «3.1.0» polyfill before everything else in the code, and removing window.fetch for IE to fix bug:

<script type='application/javascript'>
          {'if(/Edge/.test(navigator.userAgent)){delete window.fetch}'}
        </script>

@JakeChampion

I’m quite confused about this one because we don’t have an error which uses the phrase «event is destroyed», which makes me think the polyfill is not being applied but the code you’ve posted makes me also think it can’t be the native fetch due to delete window.fetch. Could you post the full stacktrace for the error please? That should hopefully help us figure out what is going on

@JustFly1984

@JakeChampion basically there is one async request for css file with fonts.
It looks like safari 13.1.1, and it happened only once by now.

Screenshot 2020-07-04 13 06 18

@JakeChampion

Do you have the full stacktrace for the error? Sentry usually captures the full stack trace to help with debugging.

The stacktrace is usually between the «exception» section and the «breadcrumbs» section. If there is no captured stack trace then I don’t know how to help debug this situation, sorry 😔

Here is a screenshot of what the sentry page looks like with a stacktrace
showing stacktrace on sentry for a captured exception

@JakeChampion

Okay, looking into the webkit source code I can see the same error message «Fetch event is destroyed», which is an error message that we don’t have in this fetch polyfill. I am very confident that for the specific fetch request, it used the native fetch and not the polyfill.

Here is the patch to webkit which added the error message — https://www.mail-archive.com/webkit-changes@lists.webkit.org/msg129765.html

@JustFly1984

So why didn’t polyfill worked out?

@JakeChampion

You are only deleting native fetch for edge but this bug was in native fetch for iOS

@JustFly1984

@JakeChampion If I remove window.fetch for IOS, should polyfill work in this case? Is there guaranty way to detect safari same way as I detect Edge?

@JustFly1984

@dgraham please reopen, cos there is no solution to resolve an issue. I understand that it is a bug with webkit, but is it possible to solve it by using fetch polyfill, and if yes, how?

@github-actions
github-actions
bot

locked as resolved and limited conversation to collaborators

Jan 19, 2021

Источник

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Pick a username
Email Address
Password

By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.

Already on GitHub?
Sign in
to your account

Источник

Содержание

  1. fetchevent
  2. Similar questions
  3. Service Worker FechtEvent.respondWith response имеет значение null в Safari iOS 12.1
  4. Ответ Service Worker FechtEvent.respondWith является нулевым на iOS 12.1 Safari

fetchevent

FetchEvent.respondWith. received an error: Returned response is null. WebkitServiceWorker:0

MacBook Pro TouchBar and Touch ID, macOS Mojave (10.14.1)

Posted on Nov 30, 2018 8:57 AM

Similar questions

I don’t see any software that normally causes problems. The Safe Mode boot may have fixed the problem since you posted the site is okay. The Safe Mode will reset some caches, forces a directory check, and is a general reset.

Loading page content

Page content loaded

Try going to Safari/Preferences/Privacy/Website Data and delete the cookie(s) for the site. Quit/reopen Safari and test.

Go to Safari Preferences/Extensions and turn all extensions off. Quit/reopen Safari and test. If okay, turn the extensions on one by one until you figure out what extension is causing the problem.

Try another browser as a test.

Try setting up another admin user account to see if the same problem continues. Please post back on whether or not this worked. Also try the Safe Mode. Please post back on whether or not this worked.

If it works in the Safe Mode, try running this program when booted normally and then copy and paste the output in a reply. The program was created by Etresoft, a frequent contributor. Please use copy and paste as screen shots can be hard to read. Click “Share Report” button in the toolbar, select “Copy to Clipboard” and then paste into a reply. This will show what is running on your computer. No personal information is shown.

In the safe mode the site works perfect. Then restart and then Etre Check, see below. (But now the site is perfect . )

EtreCheck version: 5.0.9 (5A020)

Report generated: 2018-11-30 21:00:51

Download EtreCheck from https://etrecheck.com

Runtime: 1:57

Performance: Excellent

Problem: Other problem

Description:

FetchEvent.respondWith. received an error: Returned response is null. WebkitServiceWorker:0

Major Issues: None

Minor Issues:

These issues do not need immediate attention but they may indicate future problems.

Apps with heavy CPU usage — There have been numerous cases of apps with heavy CPU usage.

Heavy I/O usage — Your system is under heavy I/O use. This will reduce your performance.

Abnormal shutdown — Your machine shut down abnormally.

Limited drive access — More information may be available with Full Drive Access.

Hardware Information:

MacBook Pro (15-inch, 2016)

MacBook Pro Model: MacBookPro13,3

1 2,7 GHz Intel Core i7 (i7-6820HQ) CPU: 4-core

16 GB RAM — Not upgradeable

BANK 0/DIMM0 — 8 GB LPDDR3 2133 ok

BANK 1/DIMM0 — 8 GB LPDDR3 2133 ok

Battery: Health = Normal — Cycle count = 38

Video Information:

Intel HD Graphics 530 — VRAM: 1536 MB

Color LCD 3360 x 2100

AMD Radeon Pro 455 — VRAM: 2048 MB

Drives:

disk0 — APPLE SSD SM0512L 500.28 GB (Solid State — TRIM: Yes)

Internal PCI-Express 8.0 GT/s x4 NVM Express

disk0s1 — EFI [EFI] 315 MB

disk0s2 [APFS Container] 499.96 GB

disk1 [APFS Virtual drive] 499.96 GB (Shared by 4 volumes)

disk1s1 — M*********** (APFS) (Shared — 140.40 GB used)

disk1s2 — Preboot (APFS) [APFS Preboot] (Shared — 47 MB used)

disk1s3 — Recovery (APFS) [Recovery] (Shared — 513 MB used)

disk1s4 — VM (APFS) [APFS VM] (Shared — 1.07 GB used)

Mounted Volumes:

disk1s1 — M*********** 499.96 GB (357.77 GB free)

disk1s4 — VM [APFS VM] (Shared — 1.07 GB used)

Mount point: /private/var/vm

Network:

Interface lpss-serial1: LPSS Serial Adapter (1)

Interface lpss-serial2: LPSS Serial Adapter (2)

Interface en0: Wi-Fi

Interface en5: Bluetooth PAN

Interface bridge0: Thunderbolt Bridge

iCloud Quota: 61.62 GB available

System Software:

macOS Mojave 10.14.1 (18B75)

Time since boot: Less than an hour

Security:

System Status
Gatekeeper Enabled
System Integrity Protection Enabled

System Launch Agents:

[Not Loaded] 15 Apple tasks
[Loaded] 185 Apple tasks
[Running] 99 Apple tasks

System Launch Daemons:

[Not Loaded] 36 Apple tasks
[Loaded] 187 Apple tasks
[Running] 112 Apple tasks

Launch Agents:

[Running] com.adobe.AdobeCreativeCloud.plist (Adobe Systems, Inc. — installed 2018-06-14)
[Loaded] com.microsoft.update.agent.plist (Microsoft Corporation — installed 2018-11-15)
[Running] com.adobe.GC.AGM.plist (Adobe Systems, Inc. — installed 2018-11-02)
[Not Loaded] com.adobe.AAM.Updater-1.0.plist (? ffb65062 — installed 2018-06-14)
[Running] com.malwarebytes.mbam.frontend.agent.plist (Malwarebytes Corporation — installed 2018-09-14)
[Not Loaded] com.adobe.GC.Invoker-1.0.plist (Adobe Systems, Inc. — installed 2018-11-02)

Launch Daemons:

[Running] com.malwarebytes.mbam.rtprotection.daemon.plist (Malwarebytes Corporation — installed 2018-09-14)
[Running] com.malwarebytes.mbam.settings.daemon.plist (Malwarebytes Corporation — installed 2018-09-14)
[Running] com.adobe.agsservice.plist (Adobe Systems, Inc. — installed 2018-11-02)
[Loaded] com.microsoft.OneDriveUpdaterDaemon.plist (Microsoft Corporation — installed 2018-05-23)
[Loaded] com.microsoft.autoupdate.helper.plist (Microsoft Corporation — installed 2018-11-15)
[Loaded] com.apple.installer.osmessagetracing.plist (Apple — installed 2018-10-24)
[Loaded] com.microsoft.office.licensingV2.helper.plist (Microsoft Corporation — installed 2018-05-14)
[Running] com.adobe.adobeupdatedaemon.plist (Adobe Systems, Inc. — installed 2018-06-14)

User Launch Agents:

[Loaded] com.dropbox.DropboxMacUpdate.agent.plist (Dropbox, Inc. — installed 2018-10-24)
[Not Loaded] com.adobe.GC.Invoker-1.0.plist (Adobe Systems, Inc. — installed 2018-11-02)
[Loaded] com.google.keystone.agent.plist (Google, Inc. — installed 2018-07-18)
[Running] com.spotify.webhelper.plist (Spotify — installed 2018-11-30)

User Login Items:

Dropbox.app (Dropbox, Inc. — installed 2018-11-29)

StartUpHelper (Spotify — installed 2018-07-17)

iTunesHelper.app (Apple — installed 2018-10-30)

Internet Plug-ins:

Silverlight: 5.1.50901.0 (installed 2018-09-30)

AdobeAAMDetect: 3.0.0.0 (installed 2018-06-14)

QuickTime Plugin: 7.7.3 (installed 2018-10-30)

Time Machine:

Time Machine information not available without Full Drive Access.

Performance:

System Load: 1.55 (1 min ago) 2.27 (5 min ago) 1.22 (15 min ago)

Nominal I/O speed: 10.06 MB/s

File system: 18.71 seconds

Write speed: 1959 MB/s

Read speed: 2677 MB/s

CPU Usage:

Type Overall Individual cores
System 1 % 4 % 0 % 2 % 0 % 2 % 0 % 1 % 0 %
User 2 % 5 % 0 % 3 % 0 % 3 % 0 % 1 % 0 %
Idle 97 % 90 % 100 % 94 % 100 % 96 % 100 % 98 % 100 %

Top Processes by CPU:

Process (count) Source CPU Location
genatsdb Apple 31.00 %
appstoreagent Apple 16.20 %
WindowServer Apple 7.92 %
EtreCheckPro Etresoft, Inc. 5.58 %
cloudphotosd Apple 4.58 %

Top Processes by Memory:

Process (count) Source RAM usage Location
com.apple.WebKit.WebContent (9) Apple 1.05 GB
EtreCheckPro Etresoft, Inc. 593 MB
mdworker_shared (18) Apple 509 MB
kernel_task Apple 400 MB
Spotify Helper (3) Spotify 301 MB

Top Processes by Network Use:

Process Source Input Output Location
Spotify Spotify 11 MB 321 KB
biometrickitd Apple 20 KB 167 KB
Dropbox Dropbox, Inc. 93 KB 91 KB
com.apple.iCloudHelper Apple 39 KB 8 KB
mDNSResponder Apple 25 KB 20 KB

Virtual Memory Information:

Available RAM 10.01 GB
Free RAM 6.50 GB
Used RAM 5.99 GB
Cached files 3.51 GB
Swap Used 0 B

Software Installs (past 30 days):

Name Version Install Date
Microsoft Outlook for Mac 16.16.18111001 2018-11-14
Microsoft PowerPoint for Mac 16.16.18111001 2018-11-14
Microsoft OneNote for Mac 16.16.18111001 2018-11-14
Microsoft Excel for Mac 16.16.18111001 2018-11-14
Microsoft Word for Mac 16.16.18111001 2018-11-14
Microsoft AutoUpdate 4.5.18110402 2018-11-15
HueMenu 1.9.1 2018-11-17

Diagnostics Information (past 7 days):

2018-11-30 20:54:48 Last Shutdown Cause: 3 — Hard shutdown

Источник

Service Worker FechtEvent.respondWith response имеет значение null в Safari iOS 12.1

Я могу загрузить веб-сайт с помощью службы Worker в Android Chrome, macOS Chrome, а также в Safari и в Windows Chrome для автономного использования. Когда я пытаюсь загрузить сайт на iOS 12.1 Safari, он сначала работает. Но когда я закрываю Safari, перехожу в автономный режим и снова открываю Safari, я получаю следующий сообщение об ошибке:

Error: «FetchEvent.respondWith received an error: TypeError: There seems to be no connection to the Internet.»

==== AND in the console ====

FetchEvent.respondWith received an error: Returned response is null

Ниже вы можете увидеть скрипты в текстовом виде. К сожалению, почти ничего не могу сообщить о проблеме, потому что не понимаю и надеюсь на кого-нибудь знающих 🙂

Я протестировал сценарий на нескольких iPhone (12.0, 12.0.1 (16A404), а также 12.1 (16B92)), и на всех из них я мог загрузить веб-приложение и снова открыть его в автономном режиме. В настоящее время я подозреваю, что на iPhone, у которых включены следующие настройки, у PWA есть проблемы с повторным поиском кеша: 1. Не разрешать кеш и 2. Ограниченный iphone (родительский контроль). После того, как я разрешил кешу работать, он все еще не работал. Работа. Я не мог отключить ограниченный режим, потому что владелец больше не знает код.

Я понял, что, разместив сайт через xampp и посетив его со своего телефона (iOS 12.1.1), я могу посещать его в автономном режиме. При обслуживании на моем сервере с nginx я также получаю ту же ошибку, о которой вы говорили. У меня пока нет решения, но, возможно, эта информация может вам помочь.

Вы когда-нибудь находили решение этой проблемы или в чем была проблема? Я несколько дней застревал с этой ошибкой и не нашел решения, с чего начать поиск.

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

Источник

Ответ Service Worker FechtEvent.respondWith является нулевым на iOS 12.1 Safari

Я могу загрузить веб-сайт с помощью службы Worker на Android Chrome, macOS Chrome, а также Safari и на Windows Chrome для автономного использования. Когда я пытаюсь загрузить веб-сайт в iOS 12.1 Safari, он сначала работает. Но когда я закрываю Safari, выхожу в автономный режим и снова открываю Safari, я получаю следующее сообщение об ошибке:

Safari can’t open the Site.

Ошибка: «FetchEvent.respondWith получил ошибку: TypeError: There похоже, нет соединения с Интернетом.»

FetchEvent.respondWith получил ошибку: Returned response is null

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

Извините, что у меня пока нет ответа, но у меня точно такая же проблема с моим веб-приложением, и я потратил на нее несколько часов. Поэтому я хотел бы опубликовать здесь все свои выводы.

Шаги для проверки возможности работы веб-приложения в автономном режиме в iOS 12

  1. зайдите на веб-сайт в Safari (iOS 12 или 12.1)
  2. закройте вкладку веб-сайта в Safari
  3. нажмите кнопку «Домой» на iPhone, чтобы перевести Safari в фоновый режим
  4. нажмите кнопку питания iPhone, чтобы выключить экран
  5. нажмите кнопку питания iPhone еще раз, чтобы разбудить телефон
  6. отключите все сетевые подключения в центре управления iPhone (как wifi, так и сотовую связь)
  7. откройте Safari, снова зайдите на сайт -> он должен работать в автономном режиме.

iOS 12 против iOS 11.3

Похоже, что эта проблема появилась с iOS 12. Мое веб-приложение (https://viewsbyme.com) прекрасно работало в автономном режиме на iOS 11.3, в версии которой мобильный Safari впервые представил Service Worker, но получало отклики от iOS 12 и iOS 12.1 в автономном режиме:

Safari не может открыть страницу. Ошибка гласила: «FetchEvent.respondWith получил ошибку: TypeError: Интернет-соединение, похоже, находится в автономном режиме.».

Не уверен, что это связано с этим сообщением об ошибке (в нем говорится «RESOLVED FIXED», но на самом деле еще нет, если вы прокрутите страницу до самого низа):

Примеры работающих и неработающих веб-приложений

В качестве примеров эти 2 PWA могут работать в автономном режиме в iOS 12:

И эти 2 PWA не могут работать в автономном режиме в iOS 12 (но они прекрасно работают в Chrome на других платформах):

Это кажется простым делом — сравнить скрипты Service Worker между этими PWA и выяснить, что заставляет их работать, а что нет. Но я все еще не выяснил дельту.

Источник

Содержание

  1. Question: Q: fetchevent
  2. Helpful answers
  3. Safari bug #1730
  4. Comments
  5. dijonkitchen commented Oct 23, 2018 •
  6. jeffposnick commented Oct 23, 2018
  7. dijonkitchen commented Oct 24, 2018
  8. dijonkitchen commented Oct 24, 2018
  9. jeffposnick commented Oct 24, 2018
  10. NekR commented Oct 24, 2018 •
  11. jeffposnick commented Oct 24, 2018
  12. NekR commented Oct 24, 2018
  13. dijonkitchen commented Oct 24, 2018
  14. oliviertassinari commented Oct 24, 2018
  15. oliviertassinari commented Nov 6, 2018 •
  16. dijs commented Nov 14, 2018
  17. jeffposnick commented Nov 19, 2018

Question: Q: fetchevent

FetchEvent.respondWith. received an error: Returned response is null. WebkitServiceWorker:0

MacBook Pro TouchBar and Touch ID, macOS Mojave (10.14.1)

Posted on Nov 30, 2018 8:57 AM

Helpful answers

I don’t see any software that normally causes problems. The Safe Mode boot may have fixed the problem since you posted the site is okay. The Safe Mode will reset some caches, forces a directory check, and is a general reset.

Dec 1, 2018 2:17 AM

There’s more to the conversation

Loading page content

Page content loaded

Try going to Safari/Preferences/Privacy/Website Data and delete the cookie(s) for the site. Quit/reopen Safari and test.

Go to Safari Preferences/Extensions and turn all extensions off. Quit/reopen Safari and test. If okay, turn the extensions on one by one until you figure out what extension is causing the problem.

Try another browser as a test.

Try setting up another admin user account to see if the same problem continues. Please post back on whether or not this worked. Also try the Safe Mode. Please post back on whether or not this worked.

If it works in the Safe Mode, try running this program when booted normally and then copy and paste the output in a reply. The program was created by Etresoft, a frequent contributor. Please use copy and paste as screen shots can be hard to read. Click “Share Report” button in the toolbar, select “Copy to Clipboard” and then paste into a reply. This will show what is running on your computer. No personal information is shown.

Nov 30, 2018 10:10 AM

In the safe mode the site works perfect. Then restart and then Etre Check, see below. (But now the site is perfect . )

EtreCheck version: 5.0.9 (5A020)

Report generated: 2018-11-30 21:00:51

Download EtreCheck from https://etrecheck.com

Runtime: 1:57

Performance: Excellent

Problem: Other problem

Description:

FetchEvent.respondWith. received an error: Returned response is null. WebkitServiceWorker:0

Major Issues: None

Minor Issues:

These issues do not need immediate attention but they may indicate future problems.

Apps with heavy CPU usage — There have been numerous cases of apps with heavy CPU usage.

Heavy I/O usage — Your system is under heavy I/O use. This will reduce your performance.

Abnormal shutdown — Your machine shut down abnormally.

Limited drive access — More information may be available with Full Drive Access.

Hardware Information:

MacBook Pro (15-inch, 2016)

MacBook Pro Model: MacBookPro13,3

1 2,7 GHz Intel Core i7 (i7-6820HQ) CPU: 4-core

16 GB RAM — Not upgradeable

BANK 0/DIMM0 — 8 GB LPDDR3 2133 ok

BANK 1/DIMM0 — 8 GB LPDDR3 2133 ok

Battery: Health = Normal — Cycle count = 38

Video Information:

Intel HD Graphics 530 — VRAM: 1536 MB

Color LCD 3360 x 2100

AMD Radeon Pro 455 — VRAM: 2048 MB

Drives:

disk0 — APPLE SSD SM0512L 500.28 GB (Solid State — TRIM: Yes)

Internal PCI-Express 8.0 GT/s x4 NVM Express

disk0s1 — EFI [EFI] 315 MB

disk0s2 [APFS Container] 499.96 GB

disk1 [APFS Virtual drive] 499.96 GB (Shared by 4 volumes)

disk1s1 — M*********** (APFS) (Shared — 140.40 GB used)

disk1s2 — Preboot (APFS) [APFS Preboot] (Shared — 47 MB used)

disk1s3 — Recovery (APFS) [Recovery] (Shared — 513 MB used)

disk1s4 — VM (APFS) [APFS VM] (Shared — 1.07 GB used)

Mounted Volumes:

disk1s1 — M*********** 499.96 GB (357.77 GB free)

disk1s4 — VM [APFS VM] (Shared — 1.07 GB used)

Mount point: /private/var/vm

Network:

Interface lpss-serial1: LPSS Serial Adapter (1)

Interface lpss-serial2: LPSS Serial Adapter (2)

Interface en0: Wi-Fi

Interface en5: Bluetooth PAN

Interface bridge0: Thunderbolt Bridge

iCloud Quota: 61.62 GB available

System Software:

macOS Mojave 10.14.1 (18B75)

Time since boot: Less than an hour

Security:

System Status
Gatekeeper Enabled
System Integrity Protection Enabled

System Launch Agents:

[Not Loaded] 15 Apple tasks
[Loaded] 185 Apple tasks
[Running] 99 Apple tasks

System Launch Daemons:

[Not Loaded] 36 Apple tasks
[Loaded] 187 Apple tasks
[Running] 112 Apple tasks

Launch Agents:

[Running] com.adobe.AdobeCreativeCloud.plist (Adobe Systems, Inc. — installed 2018-06-14)
[Loaded] com.microsoft.update.agent.plist (Microsoft Corporation — installed 2018-11-15)
[Running] com.adobe.GC.AGM.plist (Adobe Systems, Inc. — installed 2018-11-02)
[Not Loaded] com.adobe.AAM.Updater-1.0.plist (? ffb65062 — installed 2018-06-14)
[Running] com.malwarebytes.mbam.frontend.agent.plist (Malwarebytes Corporation — installed 2018-09-14)
[Not Loaded] com.adobe.GC.Invoker-1.0.plist (Adobe Systems, Inc. — installed 2018-11-02)

Launch Daemons:

[Running] com.malwarebytes.mbam.rtprotection.daemon.plist (Malwarebytes Corporation — installed 2018-09-14)
[Running] com.malwarebytes.mbam.settings.daemon.plist (Malwarebytes Corporation — installed 2018-09-14)
[Running] com.adobe.agsservice.plist (Adobe Systems, Inc. — installed 2018-11-02)
[Loaded] com.microsoft.OneDriveUpdaterDaemon.plist (Microsoft Corporation — installed 2018-05-23)
[Loaded] com.microsoft.autoupdate.helper.plist (Microsoft Corporation — installed 2018-11-15)
[Loaded] com.apple.installer.osmessagetracing.plist (Apple — installed 2018-10-24)
[Loaded] com.microsoft.office.licensingV2.helper.plist (Microsoft Corporation — installed 2018-05-14)
[Running] com.adobe.adobeupdatedaemon.plist (Adobe Systems, Inc. — installed 2018-06-14)

User Launch Agents:

[Loaded] com.dropbox.DropboxMacUpdate.agent.plist (Dropbox, Inc. — installed 2018-10-24)
[Not Loaded] com.adobe.GC.Invoker-1.0.plist (Adobe Systems, Inc. — installed 2018-11-02)
[Loaded] com.google.keystone.agent.plist (Google, Inc. — installed 2018-07-18)
[Running] com.spotify.webhelper.plist (Spotify — installed 2018-11-30)

User Login Items:

Dropbox.app (Dropbox, Inc. — installed 2018-11-29)

StartUpHelper (Spotify — installed 2018-07-17)

iTunesHelper.app (Apple — installed 2018-10-30)

Internet Plug-ins:

Silverlight: 5.1.50901.0 (installed 2018-09-30)

AdobeAAMDetect: 3.0.0.0 (installed 2018-06-14)

QuickTime Plugin: 7.7.3 (installed 2018-10-30)

Time Machine:

Time Machine information not available without Full Drive Access.

Performance:

System Load: 1.55 (1 min ago) 2.27 (5 min ago) 1.22 (15 min ago)

Nominal I/O speed: 10.06 MB/s

File system: 18.71 seconds

Write speed: 1959 MB/s

Read speed: 2677 MB/s

CPU Usage:

Type Overall Individual cores
System 1 % 4 % 0 % 2 % 0 % 2 % 0 % 1 % 0 %
User 2 % 5 % 0 % 3 % 0 % 3 % 0 % 1 % 0 %
Idle 97 % 90 % 100 % 94 % 100 % 96 % 100 % 98 % 100 %

Top Processes by CPU:

Process (count) Source CPU Location
genatsdb Apple 31.00 %
appstoreagent Apple 16.20 %
WindowServer Apple 7.92 %
EtreCheckPro Etresoft, Inc. 5.58 %
cloudphotosd Apple 4.58 %

Top Processes by Memory:

Process (count) Source RAM usage Location
com.apple.WebKit.WebContent (9) Apple 1.05 GB
EtreCheckPro Etresoft, Inc. 593 MB
mdworker_shared (18) Apple 509 MB
kernel_task Apple 400 MB
Spotify Helper (3) Spotify 301 MB

Top Processes by Network Use:

Process Source Input Output Location
Spotify Spotify 11 MB 321 KB
biometrickitd Apple 20 KB 167 KB
Dropbox Dropbox, Inc. 93 KB 91 KB
com.apple.iCloudHelper Apple 39 KB 8 KB
mDNSResponder Apple 25 KB 20 KB

Virtual Memory Information:

Available RAM 10.01 GB
Free RAM 6.50 GB
Used RAM 5.99 GB
Cached files 3.51 GB
Swap Used 0 B

Software Installs (past 30 days):

Name Version Install Date
Microsoft Outlook for Mac 16.16.18111001 2018-11-14
Microsoft PowerPoint for Mac 16.16.18111001 2018-11-14
Microsoft OneNote for Mac 16.16.18111001 2018-11-14
Microsoft Excel for Mac 16.16.18111001 2018-11-14
Microsoft Word for Mac 16.16.18111001 2018-11-14
Microsoft AutoUpdate 4.5.18110402 2018-11-15
HueMenu 1.9.1 2018-11-17

Diagnostics Information (past 7 days):

2018-11-30 20:54:48 Last Shutdown Cause: 3 — Hard shutdown

Источник

Safari bug #1730

Library Affected:
workbox-sw, workbox-build, etc.?

Browser & Platform:
Safari 12
macOS High Sierra 10.13.6

Issue or Feature Request Description:
Refreshing workbox PWAs (like https://material-ui.com) leads to this sometimes.

Confirmed that they work fine on Firefox, Chrome and private mode Safari.

I figured if I cleared the cache, it would help, but it doesn’t seem to kill the service workers.
Workaround is to disable service workers in Developer mode and I can load the websites properly.

The text was updated successfully, but these errors were encountered:

I just testing things out on Safari 12 on the desktop, and was not able to reproduce after navigating around to a few pages controlled by the service worker on https://material-ui.com. So, if there are any concrete reproduction steps that you’ve been able to narrow down, I’d love to dig in deeper.

In the meantime, though, I’ve noticed that you’re using a v3.0.0 pre-release version of Workbox. Workbox is up to v3.6.3 now (and we’ve got v4 alphas out), so as a first step, could you try upgrading your copy of Workbox? There were a number of improvements made throughout the v3 releases, and I’d like to at least make sure that we’re starting from the latest codebase.

Thanks @jeffposnick, I don’t control the site, so I’ll cross-post there.

@jeffposnick did you also trying refreshing pages? This should be when the Service workers do their work using the cache instead of routing through the single-page app.

Yes, I’ve tried a few times now to go through full navigations as well as page reloads and trigger any failures in Safari 12. I’ve not had any luck.

(That’s not to say that there isn’t an issue; it’s just that odd bugs can crop up in browsers’ implementations of service workers that are hard to trigger.)

This is iOS 12 Safari bug.

(It isn’t fixed in 12.0.1)

As per the initial issue report, I was working under the assumption that this was being seen on the desktop (Safari 12 / macOS High Sierra 10.13.6).

@jeffposnick hmm.. yeah, indeed. Then it must be the same bug on macOS as well because the error line is the same as on iOS when this happens.

Yes, my error was on macOS Safari. For what it’s worth, I tried it out on another laptop that recently upgraded to macOS Mojave and Safari there was fine.

We gonna start by upgrading the version of workbox on material-ui side.

We have been upgrading the version of workbox from the beta to the latest version. It hasn’t gone smoothly, a lot of people were facing cache invalidation issues. This is something that happens quite often every time we release a new version. It takes time to propagate. The cache invalidation is an important limitation of the service workers.

I’m suspecting it’s because of the next service worker waiting for its activation. Maybe there is a way to force it? At the expense of an unexpected full page reload when the user tries to refresh the page or to navigate to a different page. I will explore this path: https://developers.google.com/web/tools/workbox/guides/advanced-recipes.

Our team recently found this issue as well. Is the solution to upgrade workbox?

Our team recently found this issue as well. Is the solution to upgrade workbox?

The material-ui site was using a very outdated Workbox v3 beta, so updating was a good idea in general.

More recent versions of Workbox have had better «cache miss» fallback logic to take into account the fact that items that should be precached aren’t necessarily going to be there (due to browser bugs, or other failure scenarios), so they are more robust about at least showing something from the network when this crops up, instead of just failing to load the cached response.

But in general, my understanding is that this underlying issue a bug in Safari and is outside of Workbox’s control, and which is being tracked by the Webkit bugs linked to above.

Источник

Источник

Содержание

  1. Question: Q: fetchevent
  2. Helpful answers
  3. Safari bug #1730
  4. Comments
  5. dijonkitchen commented Oct 23, 2018 •
  6. jeffposnick commented Oct 23, 2018
  7. dijonkitchen commented Oct 24, 2018
  8. dijonkitchen commented Oct 24, 2018
  9. jeffposnick commented Oct 24, 2018
  10. NekR commented Oct 24, 2018 •
  11. jeffposnick commented Oct 24, 2018
  12. NekR commented Oct 24, 2018
  13. dijonkitchen commented Oct 24, 2018
  14. oliviertassinari commented Oct 24, 2018
  15. oliviertassinari commented Nov 6, 2018 •
  16. dijs commented Nov 14, 2018
  17. jeffposnick commented Nov 19, 2018

Question: Q: fetchevent

FetchEvent.respondWith. received an error: Returned response is null. WebkitServiceWorker:0

MacBook Pro TouchBar and Touch ID, macOS Mojave (10.14.1)

Posted on Nov 30, 2018 8:57 AM

Helpful answers

I don’t see any software that normally causes problems. The Safe Mode boot may have fixed the problem since you posted the site is okay. The Safe Mode will reset some caches, forces a directory check, and is a general reset.

Dec 1, 2018 2:17 AM

There’s more to the conversation

Loading page content

Page content loaded

Try going to Safari/Preferences/Privacy/Website Data and delete the cookie(s) for the site. Quit/reopen Safari and test.

Go to Safari Preferences/Extensions and turn all extensions off. Quit/reopen Safari and test. If okay, turn the extensions on one by one until you figure out what extension is causing the problem.

Try another browser as a test.

Try setting up another admin user account to see if the same problem continues. Please post back on whether or not this worked. Also try the Safe Mode. Please post back on whether or not this worked.

If it works in the Safe Mode, try running this program when booted normally and then copy and paste the output in a reply. The program was created by Etresoft, a frequent contributor. Please use copy and paste as screen shots can be hard to read. Click “Share Report” button in the toolbar, select “Copy to Clipboard” and then paste into a reply. This will show what is running on your computer. No personal information is shown.

Nov 30, 2018 10:10 AM

In the safe mode the site works perfect. Then restart and then Etre Check, see below. (But now the site is perfect . )

EtreCheck version: 5.0.9 (5A020)

Report generated: 2018-11-30 21:00:51

Download EtreCheck from https://etrecheck.com

Runtime: 1:57

Performance: Excellent

Problem: Other problem

Description:

FetchEvent.respondWith. received an error: Returned response is null. WebkitServiceWorker:0

Major Issues: None

Minor Issues:

These issues do not need immediate attention but they may indicate future problems.

Apps with heavy CPU usage — There have been numerous cases of apps with heavy CPU usage.

Heavy I/O usage — Your system is under heavy I/O use. This will reduce your performance.

Abnormal shutdown — Your machine shut down abnormally.

Limited drive access — More information may be available with Full Drive Access.

Hardware Information:

MacBook Pro (15-inch, 2016)

MacBook Pro Model: MacBookPro13,3

1 2,7 GHz Intel Core i7 (i7-6820HQ) CPU: 4-core

16 GB RAM — Not upgradeable

BANK 0/DIMM0 — 8 GB LPDDR3 2133 ok

BANK 1/DIMM0 — 8 GB LPDDR3 2133 ok

Battery: Health = Normal — Cycle count = 38

Video Information:

Intel HD Graphics 530 — VRAM: 1536 MB

Color LCD 3360 x 2100

AMD Radeon Pro 455 — VRAM: 2048 MB

Drives:

disk0 — APPLE SSD SM0512L 500.28 GB (Solid State — TRIM: Yes)

Internal PCI-Express 8.0 GT/s x4 NVM Express

disk0s1 — EFI [EFI] 315 MB

disk0s2 [APFS Container] 499.96 GB

disk1 [APFS Virtual drive] 499.96 GB (Shared by 4 volumes)

disk1s1 — M*********** (APFS) (Shared — 140.40 GB used)

disk1s2 — Preboot (APFS) [APFS Preboot] (Shared — 47 MB used)

disk1s3 — Recovery (APFS) [Recovery] (Shared — 513 MB used)

disk1s4 — VM (APFS) [APFS VM] (Shared — 1.07 GB used)

Mounted Volumes:

disk1s1 — M*********** 499.96 GB (357.77 GB free)

disk1s4 — VM [APFS VM] (Shared — 1.07 GB used)

Mount point: /private/var/vm

Network:

Interface lpss-serial1: LPSS Serial Adapter (1)

Interface lpss-serial2: LPSS Serial Adapter (2)

Interface en0: Wi-Fi

Interface en5: Bluetooth PAN

Interface bridge0: Thunderbolt Bridge

iCloud Quota: 61.62 GB available

System Software:

macOS Mojave 10.14.1 (18B75)

Time since boot: Less than an hour

Security:

System Status
Gatekeeper Enabled
System Integrity Protection Enabled

System Launch Agents:

[Not Loaded] 15 Apple tasks
[Loaded] 185 Apple tasks
[Running] 99 Apple tasks

System Launch Daemons:

[Not Loaded] 36 Apple tasks
[Loaded] 187 Apple tasks
[Running] 112 Apple tasks

Launch Agents:

[Running] com.adobe.AdobeCreativeCloud.plist (Adobe Systems, Inc. — installed 2018-06-14)
[Loaded] com.microsoft.update.agent.plist (Microsoft Corporation — installed 2018-11-15)
[Running] com.adobe.GC.AGM.plist (Adobe Systems, Inc. — installed 2018-11-02)
[Not Loaded] com.adobe.AAM.Updater-1.0.plist (? ffb65062 — installed 2018-06-14)
[Running] com.malwarebytes.mbam.frontend.agent.plist (Malwarebytes Corporation — installed 2018-09-14)
[Not Loaded] com.adobe.GC.Invoker-1.0.plist (Adobe Systems, Inc. — installed 2018-11-02)

Launch Daemons:

[Running] com.malwarebytes.mbam.rtprotection.daemon.plist (Malwarebytes Corporation — installed 2018-09-14)
[Running] com.malwarebytes.mbam.settings.daemon.plist (Malwarebytes Corporation — installed 2018-09-14)
[Running] com.adobe.agsservice.plist (Adobe Systems, Inc. — installed 2018-11-02)
[Loaded] com.microsoft.OneDriveUpdaterDaemon.plist (Microsoft Corporation — installed 2018-05-23)
[Loaded] com.microsoft.autoupdate.helper.plist (Microsoft Corporation — installed 2018-11-15)
[Loaded] com.apple.installer.osmessagetracing.plist (Apple — installed 2018-10-24)
[Loaded] com.microsoft.office.licensingV2.helper.plist (Microsoft Corporation — installed 2018-05-14)
[Running] com.adobe.adobeupdatedaemon.plist (Adobe Systems, Inc. — installed 2018-06-14)

User Launch Agents:

[Loaded] com.dropbox.DropboxMacUpdate.agent.plist (Dropbox, Inc. — installed 2018-10-24)
[Not Loaded] com.adobe.GC.Invoker-1.0.plist (Adobe Systems, Inc. — installed 2018-11-02)
[Loaded] com.google.keystone.agent.plist (Google, Inc. — installed 2018-07-18)
[Running] com.spotify.webhelper.plist (Spotify — installed 2018-11-30)

User Login Items:

Dropbox.app (Dropbox, Inc. — installed 2018-11-29)

StartUpHelper (Spotify — installed 2018-07-17)

iTunesHelper.app (Apple — installed 2018-10-30)

Internet Plug-ins:

Silverlight: 5.1.50901.0 (installed 2018-09-30)

AdobeAAMDetect: 3.0.0.0 (installed 2018-06-14)

QuickTime Plugin: 7.7.3 (installed 2018-10-30)

Time Machine:

Time Machine information not available without Full Drive Access.

Performance:

System Load: 1.55 (1 min ago) 2.27 (5 min ago) 1.22 (15 min ago)

Nominal I/O speed: 10.06 MB/s

File system: 18.71 seconds

Write speed: 1959 MB/s

Read speed: 2677 MB/s

CPU Usage:

Type Overall Individual cores
System 1 % 4 % 0 % 2 % 0 % 2 % 0 % 1 % 0 %
User 2 % 5 % 0 % 3 % 0 % 3 % 0 % 1 % 0 %
Idle 97 % 90 % 100 % 94 % 100 % 96 % 100 % 98 % 100 %

Top Processes by CPU:

Process (count) Source CPU Location
genatsdb Apple 31.00 %
appstoreagent Apple 16.20 %
WindowServer Apple 7.92 %
EtreCheckPro Etresoft, Inc. 5.58 %
cloudphotosd Apple 4.58 %

Top Processes by Memory:

Process (count) Source RAM usage Location
com.apple.WebKit.WebContent (9) Apple 1.05 GB
EtreCheckPro Etresoft, Inc. 593 MB
mdworker_shared (18) Apple 509 MB
kernel_task Apple 400 MB
Spotify Helper (3) Spotify 301 MB

Top Processes by Network Use:

Process Source Input Output Location
Spotify Spotify 11 MB 321 KB
biometrickitd Apple 20 KB 167 KB
Dropbox Dropbox, Inc. 93 KB 91 KB
com.apple.iCloudHelper Apple 39 KB 8 KB
mDNSResponder Apple 25 KB 20 KB

Virtual Memory Information:

Available RAM 10.01 GB
Free RAM 6.50 GB
Used RAM 5.99 GB
Cached files 3.51 GB
Swap Used 0 B

Software Installs (past 30 days):

Name Version Install Date
Microsoft Outlook for Mac 16.16.18111001 2018-11-14
Microsoft PowerPoint for Mac 16.16.18111001 2018-11-14
Microsoft OneNote for Mac 16.16.18111001 2018-11-14
Microsoft Excel for Mac 16.16.18111001 2018-11-14
Microsoft Word for Mac 16.16.18111001 2018-11-14
Microsoft AutoUpdate 4.5.18110402 2018-11-15
HueMenu 1.9.1 2018-11-17

Diagnostics Information (past 7 days):

2018-11-30 20:54:48 Last Shutdown Cause: 3 — Hard shutdown

Источник

Safari bug #1730

Library Affected:
workbox-sw, workbox-build, etc.?

Browser & Platform:
Safari 12
macOS High Sierra 10.13.6

Issue or Feature Request Description:
Refreshing workbox PWAs (like https://material-ui.com) leads to this sometimes.

Confirmed that they work fine on Firefox, Chrome and private mode Safari.

I figured if I cleared the cache, it would help, but it doesn’t seem to kill the service workers.
Workaround is to disable service workers in Developer mode and I can load the websites properly.

The text was updated successfully, but these errors were encountered:

I just testing things out on Safari 12 on the desktop, and was not able to reproduce after navigating around to a few pages controlled by the service worker on https://material-ui.com. So, if there are any concrete reproduction steps that you’ve been able to narrow down, I’d love to dig in deeper.

In the meantime, though, I’ve noticed that you’re using a v3.0.0 pre-release version of Workbox. Workbox is up to v3.6.3 now (and we’ve got v4 alphas out), so as a first step, could you try upgrading your copy of Workbox? There were a number of improvements made throughout the v3 releases, and I’d like to at least make sure that we’re starting from the latest codebase.

Thanks @jeffposnick, I don’t control the site, so I’ll cross-post there.

@jeffposnick did you also trying refreshing pages? This should be when the Service workers do their work using the cache instead of routing through the single-page app.

Yes, I’ve tried a few times now to go through full navigations as well as page reloads and trigger any failures in Safari 12. I’ve not had any luck.

(That’s not to say that there isn’t an issue; it’s just that odd bugs can crop up in browsers’ implementations of service workers that are hard to trigger.)

This is iOS 12 Safari bug.

(It isn’t fixed in 12.0.1)

As per the initial issue report, I was working under the assumption that this was being seen on the desktop (Safari 12 / macOS High Sierra 10.13.6).

@jeffposnick hmm.. yeah, indeed. Then it must be the same bug on macOS as well because the error line is the same as on iOS when this happens.

Yes, my error was on macOS Safari. For what it’s worth, I tried it out on another laptop that recently upgraded to macOS Mojave and Safari there was fine.

We gonna start by upgrading the version of workbox on material-ui side.

We have been upgrading the version of workbox from the beta to the latest version. It hasn’t gone smoothly, a lot of people were facing cache invalidation issues. This is something that happens quite often every time we release a new version. It takes time to propagate. The cache invalidation is an important limitation of the service workers.

I’m suspecting it’s because of the next service worker waiting for its activation. Maybe there is a way to force it? At the expense of an unexpected full page reload when the user tries to refresh the page or to navigate to a different page. I will explore this path: https://developers.google.com/web/tools/workbox/guides/advanced-recipes.

Our team recently found this issue as well. Is the solution to upgrade workbox?

Our team recently found this issue as well. Is the solution to upgrade workbox?

The material-ui site was using a very outdated Workbox v3 beta, so updating was a good idea in general.

More recent versions of Workbox have had better «cache miss» fallback logic to take into account the fact that items that should be precached aren’t necessarily going to be there (due to browser bugs, or other failure scenarios), so they are more robust about at least showing something from the network when this crops up, instead of just failing to load the cached response.

But in general, my understanding is that this underlying issue a bug in Safari and is outside of Workbox’s control, and which is being tracked by the Webkit bugs linked to above.

Источник

fetchevent

FetchEvent.respondWith. received an error: Returned response is null. WebkitServiceWorker:0

MacBook Pro TouchBar and Touch ID, macOS Mojave (10.14.1)

Posted on Nov 30, 2018 8:57 AM

Similar questions

I don’t see any software that normally causes problems. The Safe Mode boot may have fixed the problem since you posted the site is okay. The Safe Mode will reset some caches, forces a directory check, and is a general reset.

Loading page content

Page content loaded

Try going to Safari/Preferences/Privacy/Website Data and delete the cookie(s) for the site. Quit/reopen Safari and test.

Go to Safari Preferences/Extensions and turn all extensions off. Quit/reopen Safari and test. If okay, turn the extensions on one by one until you figure out what extension is causing the problem.

Try another browser as a test.

Try setting up another admin user account to see if the same problem continues. Please post back on whether or not this worked. Also try the Safe Mode. Please post back on whether or not this worked.

If it works in the Safe Mode, try running this program when booted normally and then copy and paste the output in a reply. The program was created by Etresoft, a frequent contributor. Please use copy and paste as screen shots can be hard to read. Click “Share Report” button in the toolbar, select “Copy to Clipboard” and then paste into a reply. This will show what is running on your computer. No personal information is shown.

In the safe mode the site works perfect. Then restart and then Etre Check, see below. (But now the site is perfect . )

EtreCheck version: 5.0.9 (5A020)

Report generated: 2018-11-30 21:00:51

Download EtreCheck from https://etrecheck.com

Runtime: 1:57

Performance: Excellent

Problem: Other problem

Description:

FetchEvent.respondWith. received an error: Returned response is null. WebkitServiceWorker:0

Major Issues: None

Minor Issues:

These issues do not need immediate attention but they may indicate future problems.

Apps with heavy CPU usage — There have been numerous cases of apps with heavy CPU usage.

Heavy I/O usage — Your system is under heavy I/O use. This will reduce your performance.

Abnormal shutdown — Your machine shut down abnormally.

Limited drive access — More information may be available with Full Drive Access.

Hardware Information:

MacBook Pro (15-inch, 2016)

MacBook Pro Model: MacBookPro13,3

1 2,7 GHz Intel Core i7 (i7-6820HQ) CPU: 4-core

16 GB RAM — Not upgradeable

BANK 0/DIMM0 — 8 GB LPDDR3 2133 ok

BANK 1/DIMM0 — 8 GB LPDDR3 2133 ok

Battery: Health = Normal — Cycle count = 38

Video Information:

Intel HD Graphics 530 — VRAM: 1536 MB

Color LCD 3360 x 2100

AMD Radeon Pro 455 — VRAM: 2048 MB

Drives:

disk0 — APPLE SSD SM0512L 500.28 GB (Solid State — TRIM: Yes)

Internal PCI-Express 8.0 GT/s x4 NVM Express

disk0s1 — EFI [EFI] 315 MB

disk0s2 [APFS Container] 499.96 GB

disk1 [APFS Virtual drive] 499.96 GB (Shared by 4 volumes)

disk1s1 — M*********** (APFS) (Shared — 140.40 GB used)

disk1s2 — Preboot (APFS) [APFS Preboot] (Shared — 47 MB used)

disk1s3 — Recovery (APFS) [Recovery] (Shared — 513 MB used)

disk1s4 — VM (APFS) [APFS VM] (Shared — 1.07 GB used)

Mounted Volumes:

disk1s1 — M*********** 499.96 GB (357.77 GB free)

disk1s4 — VM [APFS VM] (Shared — 1.07 GB used)

Mount point: /private/var/vm

Network:

Interface lpss-serial1: LPSS Serial Adapter (1)

Interface lpss-serial2: LPSS Serial Adapter (2)

Interface en0: Wi-Fi

Interface en5: Bluetooth PAN

Interface bridge0: Thunderbolt Bridge

iCloud Quota: 61.62 GB available

System Software:

macOS Mojave 10.14.1 (18B75)

Time since boot: Less than an hour

Security:

System Status
Gatekeeper Enabled
System Integrity Protection Enabled

System Launch Agents:

[Not Loaded] 15 Apple tasks
[Loaded] 185 Apple tasks
[Running] 99 Apple tasks

System Launch Daemons:

[Not Loaded] 36 Apple tasks
[Loaded] 187 Apple tasks
[Running] 112 Apple tasks

Launch Agents:

[Running] com.adobe.AdobeCreativeCloud.plist (Adobe Systems, Inc. — installed 2018-06-14)
[Loaded] com.microsoft.update.agent.plist (Microsoft Corporation — installed 2018-11-15)
[Running] com.adobe.GC.AGM.plist (Adobe Systems, Inc. — installed 2018-11-02)
[Not Loaded] com.adobe.AAM.Updater-1.0.plist (? ffb65062 — installed 2018-06-14)
[Running] com.malwarebytes.mbam.frontend.agent.plist (Malwarebytes Corporation — installed 2018-09-14)
[Not Loaded] com.adobe.GC.Invoker-1.0.plist (Adobe Systems, Inc. — installed 2018-11-02)

Launch Daemons:

[Running] com.malwarebytes.mbam.rtprotection.daemon.plist (Malwarebytes Corporation — installed 2018-09-14)
[Running] com.malwarebytes.mbam.settings.daemon.plist (Malwarebytes Corporation — installed 2018-09-14)
[Running] com.adobe.agsservice.plist (Adobe Systems, Inc. — installed 2018-11-02)
[Loaded] com.microsoft.OneDriveUpdaterDaemon.plist (Microsoft Corporation — installed 2018-05-23)
[Loaded] com.microsoft.autoupdate.helper.plist (Microsoft Corporation — installed 2018-11-15)
[Loaded] com.apple.installer.osmessagetracing.plist (Apple — installed 2018-10-24)
[Loaded] com.microsoft.office.licensingV2.helper.plist (Microsoft Corporation — installed 2018-05-14)
[Running] com.adobe.adobeupdatedaemon.plist (Adobe Systems, Inc. — installed 2018-06-14)

User Launch Agents:

[Loaded] com.dropbox.DropboxMacUpdate.agent.plist (Dropbox, Inc. — installed 2018-10-24)
[Not Loaded] com.adobe.GC.Invoker-1.0.plist (Adobe Systems, Inc. — installed 2018-11-02)
[Loaded] com.google.keystone.agent.plist (Google, Inc. — installed 2018-07-18)
[Running] com.spotify.webhelper.plist (Spotify — installed 2018-11-30)

User Login Items:

Dropbox.app (Dropbox, Inc. — installed 2018-11-29)

StartUpHelper (Spotify — installed 2018-07-17)

iTunesHelper.app (Apple — installed 2018-10-30)

Internet Plug-ins:

Silverlight: 5.1.50901.0 (installed 2018-09-30)

AdobeAAMDetect: 3.0.0.0 (installed 2018-06-14)

QuickTime Plugin: 7.7.3 (installed 2018-10-30)

Time Machine:

Time Machine information not available without Full Drive Access.

Performance:

System Load: 1.55 (1 min ago) 2.27 (5 min ago) 1.22 (15 min ago)

Nominal I/O speed: 10.06 MB/s

File system: 18.71 seconds

Write speed: 1959 MB/s

Read speed: 2677 MB/s

CPU Usage:

Type Overall Individual cores
System 1 % 4 % 0 % 2 % 0 % 2 % 0 % 1 % 0 %
User 2 % 5 % 0 % 3 % 0 % 3 % 0 % 1 % 0 %
Idle 97 % 90 % 100 % 94 % 100 % 96 % 100 % 98 % 100 %

Top Processes by CPU:

Process (count) Source CPU Location
genatsdb Apple 31.00 %
appstoreagent Apple 16.20 %
WindowServer Apple 7.92 %
EtreCheckPro Etresoft, Inc. 5.58 %
cloudphotosd Apple 4.58 %

Top Processes by Memory:

Process (count) Source RAM usage Location
com.apple.WebKit.WebContent (9) Apple 1.05 GB
EtreCheckPro Etresoft, Inc. 593 MB
mdworker_shared (18) Apple 509 MB
kernel_task Apple 400 MB
Spotify Helper (3) Spotify 301 MB

Top Processes by Network Use:

Process Source Input Output Location
Spotify Spotify 11 MB 321 KB
biometrickitd Apple 20 KB 167 KB
Dropbox Dropbox, Inc. 93 KB 91 KB
com.apple.iCloudHelper Apple 39 KB 8 KB
mDNSResponder Apple 25 KB 20 KB

Virtual Memory Information:

Available RAM 10.01 GB
Free RAM 6.50 GB
Used RAM 5.99 GB
Cached files 3.51 GB
Swap Used 0 B

Software Installs (past 30 days):

Name Version Install Date
Microsoft Outlook for Mac 16.16.18111001 2018-11-14
Microsoft PowerPoint for Mac 16.16.18111001 2018-11-14
Microsoft OneNote for Mac 16.16.18111001 2018-11-14
Microsoft Excel for Mac 16.16.18111001 2018-11-14
Microsoft Word for Mac 16.16.18111001 2018-11-14
Microsoft AutoUpdate 4.5.18110402 2018-11-15
HueMenu 1.9.1 2018-11-17

Diagnostics Information (past 7 days):

2018-11-30 20:54:48 Last Shutdown Cause: 3 — Hard shutdown

Источник

Service Worker FechtEvent.respondWith response имеет значение null в Safari iOS 12.1

Я могу загрузить веб-сайт с помощью службы Worker в Android Chrome, macOS Chrome, а также в Safari и в Windows Chrome для автономного использования. Когда я пытаюсь загрузить сайт на iOS 12.1 Safari, он сначала работает. Но когда я закрываю Safari, перехожу в автономный режим и снова открываю Safari, я получаю следующий сообщение об ошибке:

Error: «FetchEvent.respondWith received an error: TypeError: There seems to be no connection to the Internet.»

==== AND in the console ====

FetchEvent.respondWith received an error: Returned response is null

Ниже вы можете увидеть скрипты в текстовом виде. К сожалению, почти ничего не могу сообщить о проблеме, потому что не понимаю и надеюсь на кого-нибудь знающих 🙂

Я протестировал сценарий на нескольких iPhone (12.0, 12.0.1 (16A404), а также 12.1 (16B92)), и на всех из них я мог загрузить веб-приложение и снова открыть его в автономном режиме. В настоящее время я подозреваю, что на iPhone, у которых включены следующие настройки, у PWA есть проблемы с повторным поиском кеша: 1. Не разрешать кеш и 2. Ограниченный iphone (родительский контроль). После того, как я разрешил кешу работать, он все еще не работал. Работа. Я не мог отключить ограниченный режим, потому что владелец больше не знает код.

Я понял, что, разместив сайт через xampp и посетив его со своего телефона (iOS 12.1.1), я могу посещать его в автономном режиме. При обслуживании на моем сервере с nginx я также получаю ту же ошибку, о которой вы говорили. У меня пока нет решения, но, возможно, эта информация может вам помочь.

Вы когда-нибудь находили решение этой проблемы или в чем была проблема? Я несколько дней застревал с этой ошибкой и не нашел решения, с чего начать поиск.

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

Источник

Ответ Service Worker FechtEvent.respondWith является нулевым на iOS 12.1 Safari

Я могу загрузить веб-сайт с помощью службы Worker на Android Chrome, macOS Chrome, а также Safari и на Windows Chrome для автономного использования. Когда я пытаюсь загрузить веб-сайт в iOS 12.1 Safari, он сначала работает. Но когда я закрываю Safari, выхожу в автономный режим и снова открываю Safari, я получаю следующее сообщение об ошибке:

Safari can’t open the Site.

Ошибка: «FetchEvent.respondWith получил ошибку: TypeError: There похоже, нет соединения с Интернетом.»

FetchEvent.respondWith получил ошибку: Returned response is null

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

Извините, что у меня пока нет ответа, но у меня точно такая же проблема с моим веб-приложением, и я потратил на нее несколько часов. Поэтому я хотел бы опубликовать здесь все свои выводы.

Шаги для проверки возможности работы веб-приложения в автономном режиме в iOS 12

  1. зайдите на веб-сайт в Safari (iOS 12 или 12.1)
  2. закройте вкладку веб-сайта в Safari
  3. нажмите кнопку «Домой» на iPhone, чтобы перевести Safari в фоновый режим
  4. нажмите кнопку питания iPhone, чтобы выключить экран
  5. нажмите кнопку питания iPhone еще раз, чтобы разбудить телефон
  6. отключите все сетевые подключения в центре управления iPhone (как wifi, так и сотовую связь)
  7. откройте Safari, снова зайдите на сайт -> он должен работать в автономном режиме.

iOS 12 против iOS 11.3

Похоже, что эта проблема появилась с iOS 12. Мое веб-приложение (https://viewsbyme.com) прекрасно работало в автономном режиме на iOS 11.3, в версии которой мобильный Safari впервые представил Service Worker, но получало отклики от iOS 12 и iOS 12.1 в автономном режиме:

Safari не может открыть страницу. Ошибка гласила: «FetchEvent.respondWith получил ошибку: TypeError: Интернет-соединение, похоже, находится в автономном режиме.».

Не уверен, что это связано с этим сообщением об ошибке (в нем говорится «RESOLVED FIXED», но на самом деле еще нет, если вы прокрутите страницу до самого низа):

Примеры работающих и неработающих веб-приложений

В качестве примеров эти 2 PWA могут работать в автономном режиме в iOS 12:

И эти 2 PWA не могут работать в автономном режиме в iOS 12 (но они прекрасно работают в Chrome на других платформах):

Это кажется простым делом — сравнить скрипты Service Worker между этими PWA и выяснить, что заставляет их работать, а что нет. Но я все еще не выяснил дельту.

Источник

Источник


Comment 5


youenn fablet



2021-05-31 01:20:57 PDT

(In reply to Darin Adler from comment #3)
> Comment on attachment 430007 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=430007&action=review
> 
> > Source/WebCore/testing/ServiceWorkerInternals.cpp:67
> > +            auto& error = result.error();
> > +            String description;
> > +            if (error)
> > +                description = error->localizedDescription();
> 
> Nice way to write this:
> 
>     String description;
>     if (auto& error = result.error())
>         description = error->localizedDescription();

Done

Источник

Основные причины JS ошибок, связанных с файлом fetch-event-respond-with-stops-propagation-worker.js, включают отсутствие или повреждение файла, или, в некоторых случаях, заражение связанного SUSE Manager Server — 2 of 2 вредоносным ПО в прошлом или настоящем. Как правило, решить проблему можно заменой файла JS. Более того, поддержание чистоты реестра и его оптимизация позволит предотвратить указание неверного пути к файлу (например fetch-event-respond-with-stops-propagation-worker.js) и ссылок на расширения файлов. По этой причине мы рекомендуем регулярно выполнять очистку сканирования реестра.

Наша коллекция файлов fetch-event-respond-with-stops-propagation-worker.js для %%os%% представлена в списках ниже. В настоящее время в нашей безе отсутствуют некоторые файлы fetch-event-respond-with-stops-propagation-worker.js, однако вы можете получить их по запросу, нажав на кнопку Request (Запрос) рядом с соответствующей версией файла. В крайнем случае, если ниже отсутствует необходимая вам версия файла, вы всегда можете связаться с SuSE Inc..

Несмотря на то, что размещение соответствующего файла в надлежащем месте позволяет устранить большинство проблем, возникающих в результате ошибок, связанных с fetch-event-respond-with-stops-propagation-worker.js, вам следует выполнить быструю проверку, чтобы однозначно в этом убедиться. Повторно запустите SUSE Manager Server — 2 of 2, чтобы убедиться, что проблема успешно решена.

Fetch-event-respond-with-stops-propagation-worker.js Описание файла
Тип: JS
Категория: Server
Application: SUSE Manager Server — 2 of 2
Версия выпуска: 3.0
Разработчик: SuSE Inc.
 
Имя: fetch-event-respond-with-stops-propagation-worker.js  

Байт: 354
SHA-1: 900fd1c2080fbb386589f7d6ee52c49da9d4fcb8
MD5: 5abe49df7ab648b8fe3d0ff985c93ac3
CRC32: 0bee345e

Продукт Solvusoft

Загрузка
WinThruster 2023 — Сканировать ваш компьютер на наличие ошибок реестра в fetch-event-respond-with-stops-propagation-worker.js

Windows
11/10/8/7/Vista/XP

Установить необязательные продукты — WinThruster (Solvusoft) | Лицензия | Политика защиты личных сведений | Условия | Удаление

JS
fetch-event-respond-with-stops-propagation-worker.js

Идентификатор статьи:   671763

Fetch-event-respond-with-stops-propagation-worker.js

Имя ID Размер Загрузить
+ fetch-event-respond-with-stops-propagation-worker.js 5abe49df7ab648b8fe3d0ff985c93ac3 354.00 B
Program SUSE Manager Server — 2 of 2 3.0
Автор SuSE Inc.
Вер Linux x86
Архитектура 64-разрядная (x64)
Размер файла 354
MD5 5abe49df7ab648b8fe3d0ff985c93ac3
Контрольная сумма SHA1 900fd1c2080fbb386589f7d6ee52c49da9d4fcb8
CRC32: 0bee345e
+ fetch-event-respond-with-stops-propagation-worker.js 5abe49df7ab648b8fe3d0ff985c93ac3 354.00 B
Program SUSE Manager Server — 2 of 2 3.0
Автор SuSE Inc.
Вер Linux x64
Архитектура 64-разрядная (x64)
Размер файла 354
MD5 5abe49df7ab648b8fe3d0ff985c93ac3
Контрольная сумма SHA1 900fd1c2080fbb386589f7d6ee52c49da9d4fcb8
CRC32: 0bee345e
+ fetch-event-respond-with-stops-propagation-worker.js 5abe49df7ab648b8fe3d0ff985c93ac3 354.00 B
Program SUSE Manager Server — 2 of 2 3.0
Автор SuSE Inc.
Вер SuSE Linux
Архитектура 64-разрядная (x64)
Размер файла 354
MD5 5abe49df7ab648b8fe3d0ff985c93ac3
Контрольная сумма SHA1 900fd1c2080fbb386589f7d6ee52c49da9d4fcb8
CRC32: 0bee345e
+ fetch-event-respond-with-stops-propagation-worker.js 5abe49df7ab648b8fe3d0ff985c93ac3 354.00 B
Program SUSE Manager Server — 2 of 2 3.0
Автор SuSE Inc.
Вер Linux
Архитектура 64-разрядная (x64)
Размер файла 354
MD5 5abe49df7ab648b8fe3d0ff985c93ac3
Контрольная сумма SHA1 900fd1c2080fbb386589f7d6ee52c49da9d4fcb8
CRC32: 0bee345e

Классические проблемы Fetch-event-respond-with-stops-propagation-worker.js

Вопросы, связанные с fetch-event-respond-with-stops-propagation-worker.js и SUSE Manager Server — 2 of 2:

Проблемы SUSE Manager Server — 2 of 2 fetch-event-respond-with-stops-propagation-worker.js возникают при установке, во время работы программного обеспечения, связанного с fetch-event-respond-with-stops-propagation-worker.js, во время завершения работы или запуска или менее вероятно во время обновления операционной системы. Отслеживание того, когда и где возникает ошибка fetch-event-respond-with-stops-propagation-worker.js, является важной информацией при устранении проблемы.

Причины проблем Fetch-event-respond-with-stops-propagation-worker.js

Заражение вредоносными программами, недопустимые записи реестра SUSE Manager Server — 2 of 2 или отсутствующие или поврежденные файлы fetch-event-respond-with-stops-propagation-worker.js могут создать эти ошибки fetch-event-respond-with-stops-propagation-worker.js.

В частности, проблемы fetch-event-respond-with-stops-propagation-worker.js возникают с:

Источник

I created a pwa site which is working totally fine in android devices both online and offline. But it is throwing error FetchEvent.respondWith received an error: Returned response is null when tried to load on IOS device with safari 13.0 if the mobile device is offline.

Here is my code snippet from service_worker.js

// install event
self.addEventListener('install', evt => {
  evt.waitUntil(
    caches.open(staticCacheName).then((cache) => {
      return cache.addAll(assets);
    })
  );
});
// activate event
self.addEventListener('activate', (e) => {
  e.waitUntil(
    caches.keys().then((keyList) => {
          return Promise.all(keyList.map((key) => {
        if(key !== staticCacheName) {
          return caches.delete(key);
        }
      }));
    })
  );
});
//fetch event
 self.addEventListener('fetch', function(event) {
   event.respondWith(
     fetch(event.request).catch(function() {
       return caches.match(event.request,{ignoreSearch: true});
    })
    );
 });

Please, help me find the solution.

Источник

I can download the website using the service Worker on Android Chrome, macOS Chrome as well as Safari and on Windows Chrome for offline use. When I try to download the website to iOS 12.1 Safari it works first. But when I close Safari, go offline and reopen Safari, I get the following error message:

Safari can’t open the Site.

Error: «FetchEvent.respondWith received an error: TypeError: There
seems to be no connection to the Internet.»

==== AND in the console ====

FetchEvent.respondWith received an error: Returned response is null

Below you can see the scripts in text form. Unfortunately, I can hardly report anything about the problem, because I don’t understand it and hope for some knowledgeable people :)

index.html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>Offline App</h1>
</body>
<script>
    if('serviceWorker' in navigator) {
        navigator.serviceWorker.register('sw.js').then(function (registration) {
            console.log('Service Worker Registered');
        });
    }
</script>
</html>

sw.js

/*
 Copyright 2014 Google Inc. All Rights Reserved.
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 http://www.apache.org/licenses/LICENSE-2.0
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
*/

importScripts('cache-polyfill.js');

var CACHE_VERSION = 1;
var CURRENT_CACHES = {
    prefetch: 'prefetch-cache-v' + CACHE_VERSION
};

self.addEventListener('install', function(event) {
    var now = Date.now();

    var urlsToPrefetch = [
        '/pwa/index.html'
    ];

    console.log('Handling install event. Resources to prefetch:', urlsToPrefetch);

    event.waitUntil(
        caches.open(CURRENT_CACHES.prefetch).then(function(cache) {
            var cachePromises = urlsToPrefetch.map(function(urlToPrefetch) {
                var url = new URL(urlToPrefetch, location.href);
                url.search += (url.search ? '&' : '?') + 'cache-bust=' + now;

                var request = new Request(url, {mode: 'no-cors'});
                return fetch(request).then(function(response) {
                    if (response.status >= 400) {
                        throw new Error('request for ' + urlToPrefetch +
                            ' failed with status ' + response.statusText);
                    }

                    return cache.put(urlToPrefetch, response);
                }).catch(function(error) {
                    console.error('Not caching ' + urlToPrefetch + ' due to ' + error);
                });
            });

            return Promise.all(cachePromises).then(function() {
                console.log('Pre-fetching complete.');
            });
        }).catch(function(error) {
            console.error('Pre-fetching failed:', error);
        })
    );
});

self.addEventListener('activate', function(event) {
    var expectedCacheNames = Object.keys(CURRENT_CACHES).map(function(key) {
        return CURRENT_CACHES[key];
    });

    event.waitUntil(
        caches.keys().then(function(cacheNames) {
            return Promise.all(
                cacheNames.map(function(cacheName) {
                    if (expectedCacheNames.indexOf(cacheName) === -1) {
                        console.log('Deleting out of date cache:', cacheName);
                        return caches.delete(cacheName);
                    }
                })
            );
        })
    );
});

self.addEventListener('fetch', function(event) {
    if (!navigator.onLine) {

        event.respondWith(
            caches.match(event.request).then(function (response) {
                if (response) {

                    return response;
                }

                console.log('No response found in cache. About to fetch from network...');

                return fetch(event.request).then(function (response) {
                    console.log('Response from network is:', response);

                    return response;
                }).catch(function (error) {
                    console.error('Fetching failed:', error);
                    throw error;
                });
            })
        );
    }
});

Источник

Понравилась статья? Поделить с друзьями:
  • Ferroli vitabel f24 ошибка f37
  • Ferroli fortuna f24 ошибка а01
  • Ferroli fortuna f24 pro ошибка f37
  • Ferroli fortuna f24 pro ошибка f05
  • Ferroli f24 special ошибка e1