DEV Community

Nadir Hussain
Nadir Hussain

Posted on • Updated on

Unchecked runtime.lastError: The message port closed before a response was received.

Solution

Here is video link in which Error solution is give:
https://youtu.be/GtqYP1EBly4

Here is description of Error Solution
Image description

Why this error occur?
This error occur because of extensions that don't handle async code correctly and Interactions with other installed extensions can sometimes cause communication issues, leading to this error.
Names of some extensions that cause this error:
• 1password extension
• Color Contrast Analyzer
• Kaspersky browser extension
• Tampermonkey
• MeddleMonkey
• Pinterest extension
• Stay focused
• Piggy – Automatic Coupons & Cash Back
• BuiltWith Technology Profiler
• HonorLock
• Video Downloader Professional
• AdGuard
• Adskill
• Augury
• Automation 360
• Color Contrast Analyzer
• Dark Reader
• Different Adblocker extensions
• DuckDuckGo Privacy Essentials
• Font Scanner
• Free VPN for Chrome - VPN Proxy VeePN
• Ghostery
• Google Publisher Toolbar
• Google Voice
• Google™ Search Keyboard Shortcuts
• HTML Validator
• Norton Safe Search, Norton Safe Web,
• OrangeMonkey
• OurStickys - Sticky Notes

How can we configure which extension is cause of this error?
Here are some steps to follow:
Step 1: Click on extension icon

Image description
Step 2: Click on manage extensions

Image description

Step 3: Disable extension button

Image description

Image description

Step 4: Then finally click on F5 button to refresh the tab on which react app is loaded. After disabling extension the error will be removed.

Image description

Top comments (0)