You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closes#149
- Add a 'Retry Policy' section to the Network Errors troubleshooting page
- Include an SVG-icon table listing which error types are retried and which are not
(based on the logic in lychee-lib/src/retry.rs)
- Document the --max-retries and --retry-wait-time options with their defaults (3 and 1s)
- Add 'Connection reset by server' as an example error message
- Minor wording improvements throughout
To disable retries entirely, set `--max-retries 0`:
166
+
167
+
```bash
168
+
lychee --max-retries 0 https://example.com
169
+
```
170
+
171
+
<Aside>
172
+
Retries only apply to requests where lychee judges the failure to be
173
+
transient (see the table above). Permanent errors such as a `404 Not Found`
174
+
or a certificate problem are reported immediately without any retry.
175
+
</Aside>
176
+
25
177
## What now?
26
178
27
179
### Double-check with a different tool
@@ -36,7 +188,8 @@ If this works, then the issue is with lychee and not the website.
36
188
In that case, please open an issue on the lychee GitHub repository.
37
189
38
190
If it doesn't work, then the issue is with the website or your system.
39
-
It might be related to the certificate or the user agent. The site might also use a bot detection such as Cloudflare Bot Management. Read on to find out more.
191
+
It might be related to the certificate or the user agent. The site might also
192
+
use bot detection such as Cloudflare Bot Management. Read on to find out more.
40
193
41
194
### Use the `--insecure` flag
42
195
@@ -82,7 +235,7 @@ use a service like [BuiltWith](https://builtwith.com/). Just enter the website
82
235
URL and check if it uses any bot detection services like Cloudflare Bot Management or
83
236
Cloudflare Challenge.
84
237
85
-
If the website uses a bot detection service, which is blocking lychee, there's
238
+
If the website uses a bot detection service which is blocking lychee, there's
86
239
little you can do. You can try contacting the website administrator and ask them
87
240
to whitelist lychee.
88
241
@@ -113,4 +266,5 @@ Also, see this [Stack Overflow
113
266
discussion](https://stackoverflow.com/a/24618403/270334) for additional
114
267
information.
115
268
116
-
After that, try running lychee again and see if the issue is resolved. If not, please open an issue on the lychee GitHub repository.
269
+
After that, try running lychee again and see if the issue is resolved. If not,
270
+
please open an issue on the lychee GitHub repository.
0 commit comments