Skip to content

When keepProfileChanges specified, the extension is unable to connect #3133

Open
@smac89

Description

@smac89

Is this a feature request or a bug?

bug

What is the current behavior?

Devtools fails to connect with the error:

Error: connect ECONNREFUSED 127.0.0.1:40911
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
    at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17)

Error code: ECONNREFUSED

With verbose logging enabled, I see the following message displayed 250 times:

[/home/nobleman/Dev/scheduler/extension/node_modules/.pnpm/web-ext@7.11.0/node_modules/web-ext/lib/firefox/remote.js][debug] Retrying Firefox (1); connection error: Error: connect ECONNREFUSED 127.0.0.1:35935

What is the expected or desired behavior?

Should be able to connect. This is my config:

module.exports = {
  run: {
    firefox: "deved",
    firefoxProfile: "web-ext",
    profileCreateIfMissing: true,
    keepProfileChanges: true,
    startUrl: ["https://app.joinhomebase.com/schedule_builder"],
  },
};

Removing keepProfileChanges: true,, allows it to work again

Version information (for bug reports)

  • 126.0b9 (64-bit):
  • Archlinux 64bit:
  • Paste the output of these commands:
v20.9.0
10.8.0
7.11.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions