Google Chrome or any other Chromium-based browser, by default, allows up to 6 simultaneous open connections at any time.
The problem occurs if the user streams multiple media files simultaneously from more than six media and audio tags, and may lead to an error.
When the user utilizes more than six connections, the 7th connection will just sit idle until one of the sockets open up. This can result in Waiting for available sockets error in Chrome.
Is Google Chrome hanging when streaming media as the Waiting for available sockets error appears? The best way to fix it is immediately going for third-party audio tools.
They don’t have limitations when applying effects. Alternatively, you can try UR Browser. You can also force open sockets.
Read in detail about the solutions below.
How can I fix socket errors in Chrome?
1. Try third-party Audio Tools
If you are trying to upload or playing a large number of audio effects and music tracks, try to use third-party tools like Web Audio API and SoundJS.
- Web Audio API – This is a Mozilla project and provides a powerful and versatile system for controlling music on the web. The developers can choose to add audio effects, audio sources, spatial effects as well create audio visualization.
2. Switch to UR Browser
If you’re not accustomed to using third-party tools for this, you can try switching to an alternative browser which takes fewer resources than Chrome.
UR Browser, developed to best all the rest, is a privacy-oriented browser is snappy and feature-rich. Especially when it comes to media streaming, where this Chromium-based browser shines.
Even though it’s still in the Beta phase, it already surpasses all major browsers with its distinguishable design, safety, and privacy.
If you’re stuck with the Waiting for available sockets error on Chrome, check UR Browser and expect a much better streaming experience from the get-go.
Download UR Browser now and see for yourself.
In case you’re not interested in switching from Chrome, continue below with the troubleshooting steps.
3. Force open sockets
- Open Chrome and type the following command in the address bar and hit enter.
Edge://net-internals (if you are using Edge)
- From the left pane, click on Sockets tab.
- Now click on Flush Socket Pools button.
Close Google Chrome and relaunch it. Check if the error is resolved.
4. Clear browser cache and cookies
- Launch Google Chrome. Click on the Menu icon and select Settings.
- Scroll down to Privacy and Security section.
- Click on Clear browsing data.
- Select a time range, and then check Cookies and other site data and Cached images and files option.
- Click on Clear data button to clear the changes.
- Wait for Chrome to clear the data. Exit and relaunch Chrome and check for any improvement.
There you go, we hope that our solutions helped you fix Waiting for available sockets error in Chrome.
FAQ: Learn more about Google Chrome
- How do I flush a Chrome socket?
To flush Chrome socket, go to chrome://net-internals/#dns and click the Clear host cache button. Now go to chrome://net-internals/#sockets and click on Close idle sockets and Flush socket pools.
- How do I fix waiting for available sockets?
To fix waiting for available sockets error try to force open sockets in Chrome or clear your cache and cookies.
- Does Chrome have its own DNS cache?
Yes, Google Chrome has its own DNS cache that should help you speed up your browsing experience.
- Should you clear your DNS cache?
Clearing the DNS cache will remove all records of visited websites, so it’s useful to do that, especially if you’re concerned about your privacy.
Editor’s Note: This post was originally published in May 2019 and has been since revamped and updated in April 2020 for freshness, accuracy, and comprehensiveness.