Bạn đang xem: Facebook time out error
In today’s post, we’re going to lớn take a deep dive inlớn the “ERR_CONNECTION_TIMED_OUT” error and examine why you might see this and what you can do khổng lồ fix it quickly. Simply put, it’s an indication that the system is unavailable và the time given for one lớn connect has elapsed, và now the request has timed out. But what does that actually mean?
Let’s find out!
We’ve sầu taken our knowledge of effective website management at scale, and turned it inlớn an ebook & đoạn Clip course. Click here to lớn tải về the The 2020 Guide khổng lồ Managing 40+ WordPress Sites!
What is the ERR_CONNECTION_TIMED_OUT Error?
An ERR_CONNECTION_TIMED_OUT error typically means there is something wrong with your local network connection. However, that’s not always the case.
According to lớn the WordPress tư vấn documentation, a connection timed out error appears when your website is trying to lớn vị more than your hệ thống can manage. It’s particularly comtháng on shared hosting where your memory limit is restricted.
When you visit a trang web và it doesn’t load, your browser will try for around 30 seconds or so until it terminates the connection. After which it will return an “ERR_CONNECTION_TIMED_OUT” error, indicating a communication problem. In Google Chrome you might see this as “This site can’t be reached. Domain.com took too long to lớn respond.”
Open Proxy Settings in Chrome
Your next step depends on the system you’re currently using. Windows users will want to clichồng on LAN Settings and unkiểm tra the Use proxy server for LAN option. If you’re a Mac user, you should immediately find yourself in the relevant menu. You’ll then have sầu to lớn unkiểm tra all selectable proxy protocols và check lớn see if the ERR_CONNECTION_TIMED_OUT message has been resolved.
Uncheck proxies on Mac
If you’re on Windows, you will see a “Local Area Network (LAN) Settings” window appear. You will want lớn confirm that the “Use a proxy server for your LAN” option is unchecked.
Disable Chrome proxy settings in Windows
The same goes if you’re using a VPN like ExpressVPN or TunnelBear. Make sure you’re not connected by accident.
4. Change DNS Servers
The next thing you can try is changing your DNS servers. By mặc định, DNS servers are automatically assigned by your ISP.. But you could try temporarily changing these lớn a public DNS hệ thống, such as Google or Cloudflare.
Tip: If you’re already using a miễn phí DNS server & having issues, removing it & defaulting back to lớn your ISP’s DNS servers also sometimes fix things.
Google và Cloudflare aren’t perfect 100% of the time & there have sầu been a few instances where we’ve sầu noticed switching baông xã has resolved the issue. This is especially true if you’re using a Wifi hotspot in an airport or coffee siêu thị.Windows
In Windows simply open up Command Prompt by pressing the Windows hình ảnh key và R. Then type “control panel” và hit Enter.
Run Control Panel Windows
Cliông chồng on “Network and Internet” & then “Network and Sharing Center.” On the left-hvà side, cliông xã on “Change Adapter Settings.”
Change adapter settings
Right clichồng on your current connection, this will either be Local Area Connection or Wireless Network Connection based on how you’re connecting. Then clichồng on “Properties.”
Then add Cloudflare’s DNS VPS addresses.
For IPv4: 188.8.131.52 and 184.108.40.206For IPv6: 2606:4700:4700::1111 and 2606:4700:4700::1001
5. Flush/Renew DNS
You can also try flushing your local DNS cache. This is similar khổng lồ clearing your browser cabít. It could be that the site you’re trying lớn visit isn’t resolving lớn the correct IP address. If you’ve sầu just migrated your WordPress site khổng lồ a new host, it’s important to lớn wait for things lớn fully propagate. This can sometimes take up to 24 hours, although it can be as little as a few minutes. This depends on your DNS provider và the TTL value of your DNS records.
Note: There is no success message on Macs.
6. Check Your Hosts File
Every computer has what they Call a local hosts tệp tin. This is a tệp tin that contains manual DNS entries which are mapped to specific IPhường addresses. Typically this is only edited when you want to pĐánh Giá your DNS before switching over domains to lớn a new host. Or perhaps you have sầu a local development site running using a tool lượt thích Devcrewcutandnewt.com, Vagrant or Docker.
There is a multitude of different ways this tệp tin could have been changed or edited. Therefore, it’s always good lớn check to lớn ensure the trang web you’re trying lớn access isn’t in there. Just follow the steps below.Windows
The hosts file typically requires additional access. So the first step is khổng lồ open up your text editor as an administrator. Simply cliông xã on your start menu, search for your text editor, right-cliông xã on it & select “Run as administrator.” This can be done in any text editor such as Notepad, Notepad++, Atom, etc. We are using Sublime in our example below.
Within your text editor click File → Open & browse khổng lồ the following location:
C:WindowsSystem32driversetcClick on the hosts file và “xuất hiện.”
Double-kiểm tra & make sure the trang web you’re trying to lớn visit isn’t listed in there. If it is, remove it.Mac
To check your hosts tệp tin on a Mac, we recommkết thúc getting Gas Mask. It’s a không tính phí application which can be used as hosts tệp tin manager, hosts files editor, and switch between them. It makes everything quichồng and easy! Otherwise, you can follow the steps below lớn edit your hosts tệp tin on Mac manually.
Go khổng lồ Utilities and then click on “Terminal.”
Enter in the following command và press Enter (you will most likely be prompted for your administrator password as well).
subởi nano /private/etc/hostsDouble-kiểm tra and make sure the trang web you’re trying lớn visit isn’t listed in your hosts tệp tin. If it is, remove it.
7. Cheông chồng the DNS of Your Domain
You should also verify that the DNS of your domain name is correctly pointed lớn your hosting provider. If you’re a crewcutandnewt.com client we have sầu an in-depth post on how lớn point your domain name và or DNS lớn crewcutandnewt.com. If you recently migrated your WordPress website to lớn a new host, it could be the DNS was cached incorrectly on your computer. In which case, step 5 above sầu should resolve sầu that. Or it may simply be too soon and you need to lớn wait a few hours for the DNS khổng lồ fully propagate.
8. Clear Browser Cache
Web browsers store information in cabít on your computer. This includes your browsing history, saved login data, và cookies – all of which are recorded in order to lớn load the relevant pages more quickly the next time they’re visited.
Although they’re useful, caches can cause numerous issues when they become outdated. Fortunately, this problem is easily solved by clearing your cabít.
But before you bởi that, you can easily kiểm tra to see if it’s a browser cađậy issue by first opening up your browser in incognilớn mode. Or you can try a different browser. If you’re still seeing the error, then you will want lớn proceed with clearing your cache.
Xem thêm: Lotte Cinema Tuyển Dụng Part Time, Lotte Cinema
In this example, we’ll be using Google Chrome. Begin by opening up the primary menu (in the top-right corner of your browser window). From there, select More Tools: You can then clichồng on Clear browser data.
On the resulting page, you’ll need to make sure that all listed file categories are selected. If they aren’t, Chrome won’t be able to empty the entire cađậy. Instead, it will simply remove the most recent entries, which won’t result in the desired effect:
An alternative method of completing this process is to lớn enter the following URL into your address bar:
chrome://settings/clearBrowserDataThe resulting screen should grant you access to the same options we’ve outlined above. Here are some other helpful links for clearing cabít.
9. Look at The Maximum Execution Time
The rest of the troubleshooting steps we’ll be diving inlớn are those that have sầu lớn vì with the configuration of your WordPress site or server that may help fix the “ERR_CONNECTION_TIMED_OUT” error.
The first is the maximum execution time set for your site. On most servers, the default time is set khổng lồ 30 seconds. This is the amount of time a PHPhường script is allowed to run (after which it times out). On shared hosts, this is typically phối low or left at the mặc định.
You can’t easily modify this from WordPress as the php.ini file is located on your server. To modify this, we recommend reaching out lớn your hosting provider khổng lồ see if they can help. At crewcutandnewt.com, we set the default maximum execution time to 300 seconds.
"}" data-sheets-userformat=""2":6659,"3":"1":0,"4":"1":2,"2":16777215,"12":0,"14":"1":2,"2":0,"15":"Roboto lớn, RobotoDraft, Helvetica, Arial, sans-serif"">
If you want to lớn try and modify this yourself, it can usually be done with one of the following options. Both will depend on how your hosting provider configures their servers.Option 1 – Modify Max Execution Time in php.ini File
If you have sầu a php.ini tệp tin in your home directory, find the max_execution_time parameter & modify it. For example, if it’s set lớn 30 seconds, you can increase it khổng lồ 300 seconds.
max_execution_time = 300Option 2 – Modify Max Execution Time in .htacess FileIf the above option doesn’t work, you might be able khổng lồ change it within your .htaccess file. Just like with the php.ini tệp tin, this is typically located within your trang chính directory. Place the following in the top of your .htaccess file:
php_value max_execution_time 300
10. Temporarily Disable Your PluginsAs with most WordPress errors, a plugin can definitely be the root of the problem. To determine if that’s what’s happening, you’ll need khổng lồ disable all of your site’s plugins. However, if you’re getting the “ERR_CONNECTION_TIMED_OUT” error it means you don’t have sầu access lớn your WordPress admin area. This means you will need khổng lồ SFTPhường into lớn your site. We recommend using FileZilla.
Once your SFTP.. client is ready, connect khổng lồ your website through it & navigate khổng lồ your WordPress root thư mục. In case you can’t find it, it’s usually called public_html, html, public, www, or your site’s name. If you’re a crewcutandnewt.com client, it’s your public thư mục.
xuất hiện that thư mục, và navigate to lớn the wp-nội dung directory. Inside, you’ll see a thư mục called plugins, which contains individual subdirectories for each of the plugins installed on your site (both active & inactive).
What you’re going khổng lồ do now is right-cliông chồng on the plugins folder, and rename it to something else. We recommend plugins.old or plugins.deactivated, so you can easily recognize it later.
WordPress will now not be able lớn find any of your plugins. When that happens, it will automatically disable those plugins.
Now, try accessing your WordPress dashboard. If the timeout error is gone, then you can assume that one of your plugins was the culprit. All you have khổng lồ do is figure out which one was at fault.
Return to lớn the wp-content directory, & rename your original plugins thư mục correctly. Then, you’ll need to disable each of your plugins one by one, until you find the culprit.
To vị this, open the wp-content/plugins directory. Inside, you’ll find one folder for each of your plugins. The process you’re going khổng lồ follow is much the same as before:Start with the first folder, & rename it to anything you lượt thích.Cheông chồng your website lớn see if the error is gone.If it isn’t, return the plugin thư mục from the previous step to its original name.Move sầu on lớn the next plugin on your các mục, repeating the above sầu steps.
This process can take a while if you have sầu a lot of plugins, but it’s vital to lớn check each plugin in turn. If at any point you identify the plugin that’s causing the error, you can uninstall it or replace it with another tool.
If you make it lớn the over of these steps without finding a solution, you can move on lớn the next stage of troubleshooting.
11. Temporarily Revert to lớn Default Theme
Now that you’ve sầu ruled out your plugins as the cause of the timeout error, it’s time to lớn vì the same with your active sầu theme. In fact, your theme could also be creating compatibility issues.
Unfortunately, the process doesn’t work the same as above. WordPress won’t revert lớn the mặc định theme if simply rename the theme folder, you would over up with an error lượt thích “The theme directory “theme name” does not exist.” Or if you try khổng lồ rename the entire theme directory thư mục, you kết thúc up with “ERROR: The themes directory is either empty or doesn’t exist. Please check your installation.”
Therefore, you need to access your WordPress database by logging into phpMyAdmin. If you’re a crewcutandnewt.com client, this can be found within the “Info” section of the Mycrewcutandnewt.com dashboard.
Cliông xã inkhổng lồ the “wp_options” table, then click on the “Search” tab. You will want lớn tìm kiếm under the “option_name” for template.
Under the “option_value” column you will see the current name of your theme. Change this to one of the mặc định themes, such as “twentynineteen.”
Check your trang web again khổng lồ see if this has fixed the error. If it did, it simply means it’s a problem with your WordPress theme and you might want khổng lồ try reinstalling it or reverting lớn your most recent backup.
12. Increase the Memory Limit
The WP_MEMORY_LIMIT parameter allows you to lớn specify the maximum amount of memory that can be consumed by PHPhường. If you are using shared hosting, it’s most likely set to lớn a low value such as 64M. At crewcutandnewt.com, we set the default memory limit khổng lồ 256M.
You can increase the memory limit by adding the following to lớn your wp-config.php file. This must be placed above sầu the wp-settings.php inclusion.
Xem thêm: Những Bài Hát Hay Nhất Của Tuấn Hưng Bài Hát Yêu Thích, Những Bài Hát Hay Nhất Của Tuấn Hưng
define( "WP_MEMORY_LIMIT", "256M" );
Not sure what your current PHPhường memory limit is set to? If you have access khổng lồ your WordPress dashboard and are running WordPress 5.2 or above sầu, you can see the PHPhường. memory limit under the “Site Health” tool.
Can"t reach your site because of the *ERR_CONNECTION_TIMED_OUT* error message? Here are 12 possible ways khổng lồ fix it!
Chuyên mục: Công nghệ