连接到 https 页面时 wget 速度慢 [英] Slow wget speeds when connecting to https pages

查看:36
本文介绍了连接到 https 页面时 wget 速度慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 wget 连接到这样的安全站点:

I'm using wget to connect to a secure site like this:

wget -nc -i inputFile

其中 inputeFile 由这样的 URL 组成:

where inputeFile consists of URLs like this:

https://clientWebsite.com/TheirPageName.asp?orderValue=1.00&merchantID=36&programmeID=92&ref=foo&Ofaz=0

此页面返回一个小的 gif 文件.出于某种原因,这大约需要 2.5 分钟.当我将相同的 URL 粘贴到浏览器中时,我会在几秒钟内得到回复.

This page returns a small gif file. For some reason, this is taking around 2.5 minutes. When I paste the same URL into a browser, I get back a response within seconds.

有没有人知道是什么导致了这种情况?

Does anyone have any idea what could be causing this?

顺便说一下,wget 的版本是GNU Wget 1.9+cvs-stable(Red Hat 修改)"

The version of wget, by the way, is "GNU Wget 1.9+cvs-stable (Red Hat modified)"

推荐答案

我知道这是一年前了,但这个确切的问题困扰了我们好几天.原来它是我们的 DNS 服务器,但我通过在我的盒子上禁用 IP6 绕过了它.

I know this is a year old but this exact problem plagued us for days. Turns out it was our DNS server but I got around it by disabling IP6 on my box.

您可以在更改系统之前通过在命令末尾添加--inet4-only"(不带引号)对其进行测试.

You can test it out prior to making the system change by adding "--inet4-only" to the end of the command (w/o quotes).

这篇关于连接到 https 页面时 wget 速度慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆