Reputation: 115
I am trying to build a chrome new tab extension, everything is smooth so far and working great but i keep getting this error sometimes on extension page WebSocket connection to 'ws://localhost:9090/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
and when it happens i will have to reload the extension or rebuild it again for it to stop.
I don't user websocket at all(i guess) i only make couple of request using axios.
here is my manifest
{
"name": "kura-new-tab",
"description": "An elegant new tab browser extension made with vue.",
"version": 1.0,
"manifest_version": 2,
"icons": {
"48": "icons/icon_48.png",
"128": "icons/icon_128.png"
},
"author": "AmrBinBashir",
"browser_action": {
"default_title": "kura-new-tab"
},
"chrome_url_overrides": {
"newtab": "index.html"
},
"background": {
"presistent": false,
"scripts": ["background.js"]
},
"permissions": ["background", "storage", "https://*.bing.com/*", "https://*.unsplash.com/*", "tabs"]
}
Upvotes: 1
Views: 2554
Reputation: 115
The problem was i build the extension in development mode rather than production mode
Upvotes: 1