Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

135
Views
How to stop Websocket request in network tab?

I am using websocket in react js. frontend connection code is


 useEffect(() => {
        const isHttps = process.env.REACT_APP_API_BACKENDURL
        setSocket(io(isHttps, {
    path: process.env.REACT_APP_PATH,
    withCredentials: true,
    auth: {
        token: localStorage.getItem("uuid")
    },
    transports: ["websocket"],
    autoConnect: true,
    reconnection: true,
    // reconnectionAttempts: "Infinity",
    // reconnectionDelay: 1000,
    // reconnectionDelayMax: 5000,
    // pingTimeout: 5000,
    // pingInterval: 5000,
}))
        socket?.on("connect_error", (err) => {
            console.log(err)
            console.log("connection error")
        })
    }, [])

what are the problem here so web socket automatically send request see network tab.

Web Socker request in network tab

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!