Closed Bug 1760158 Opened 3 years ago Closed 1 year ago

Firefox can’t establish a connection to the server at ws://127.0.0.1

Categories

(Core :: Networking: WebSockets, defect)

Firefox 98
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: kexianbin, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0

Steps to reproduce:

$ apt-cache policy firefox
firefox:
Installed: 98.0.1+build2-0ubuntu0.18.04.1
http://ppa.launchpad.net/ubuntu-mozilla-security/ppa/ubuntu hirsute/main amd64 Packages

user agent:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0

  1. make a index.html:
    <script>var mywebsocket =new WebSocket(ws://127.0.0.1:6081);</script>
    2.visit index.html from firefox 98

Actual results:

firefox console log show:
Firefox can’t establish a connection to the server at ws://127.0.0.1:6081/.
Failed when connecting: Connection closed (code: 1006)

I've tested index.html in chrome, it's ok there.

Expected results:

firefox connect ws://127.0.0.1:6081 successfully and the console log shows no error

The Bugbug bot thinks this bug should belong to the 'Core::Networking: WebSockets' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Networking: WebSockets
Product: Firefox → Core
Severity: -- → S3
Priority: -- → P2
Whiteboard: [necko-triaged]

Hi Reporter,

Are you still able to reproduce this?
If yes, could you try to record a http log?

Severity: S3 → --
Flags: needinfo?(kexianbin)
Priority: P2 → --
Whiteboard: [necko-triaged]

Redirect a needinfo that is pending on an inactive user to the triage owner.
:smayya, since the bug has recent activity, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(kexianbin) → needinfo?(smayya)
Flags: needinfo?(smayya)

Closing this bug as there is no response from the reporter for the requested logs.
Feel free to open the bug once the requested logs are available.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.