📄 2.hlp
字号:
{smcl}
{* 09mar2005}{...}
{cmd:help r(2)}
{hline}
{title:Title}
"connection timed out" error, r(2)
{title:Description}
{pstd}
If you see
{err:connection timed out}
{search r(2):r(2);}
{pstd}
then an Internet connection has timed out. This can happen when
{phang2}
a. the connection between you and the host is slow, or
{phang2}
b. the connection between you and the host disappeared and so eventually
"timed out".
{pstd}
In the case of (b), wait a while (say 5 minutes) and try again (sometimes
pieces of the Internet can break for up to a day, but that is rare). In the
case of (a), you can reset the limits for what constitutes "timed out". There
are two numbers to set.
{title:timeout1: the time to establish the initial connection}
{pstd}
By default, Stata waits 120 seconds (2 minutes) before declaring a timeout.
You can change the limit:
{cmd:. set timeout1} {it:#seconds}
{pstd}
You might try doubling the usual limit and specify 240. {it:#seconds} must be
between 1 and 32,000.
{title:timeout2: the time to retrieve data from an open connection}
{pstd}
By default, Stata waits 300 seconds (5 minutes) before declaring a timeout.
To change the limit, type
{cmd:. set timeout2} {it:#seconds}
{pstd}
You might try doubling the usual limit and specify 600.
{it:#seconds} must be between 1 and 32,000.
{title:Note: changes are remembered automatically}
{pstd}
When you reset {cmd:timeout1} and {cmd:timeout2}, Stata will remember the
new settings between sessions. If you want to change the limits back to
the defaults, type
{cmd:. set timeout1 120}
{cmd:. set timeout2 300}
{title:Also see}
{psee}
Online: {help netio}; {helpb net}, {helpb news}, {helpb update}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -