我正在尝试解决REST服务器和Excel加载项/ .NET客户端之间的间歇性连接问题。
当一切运行平稳时,加载项将打开与服务器的Kerberos会话,并在每个后续调用中使用预authentication,使100个或更多REST调用获取或发布数据。
所以我在服务器访问日志中看到类似这样的内容:
St. Type 200 GET 200 GET 200 GET 200 GET 200 POST 200 POST 200 POST 200 POST
当连接问题出现时,它只会影响POST调用。 所以我看到这样的事情:
200 GET 200 GET 200 GET 200 GET 401 POST 200 POST 401 POST 200 POST
GET调用通常每次都有一个不同的参数,并且POST调用类似,除了发布的数据与调用呼叫不同之外。
这不是使用代理 – 它是更早,这是更糟的,所以我已经删除了代理。
当我用提琴手在工作站上观看时,我没有看到任何吸烟枪。
我有一个可疑的tracert结果:
$ tracert adamsapp.megacorp.com Tracing route to adamsapp.megacorp.com [1.2.2.123] over a maximum of 30 hops: 1 35 ms 26 ms 12 ms 1.2.3.4 2 <1 ms <1 ms <1 ms 9.8.7.6 3 <1 ms <1 ms <1 ms 5.4.3.2 4 * * * Request timed out. 5 1 ms 1 ms 1 ms 7.6.5.4 6 * * * Request timed out. 7 1 ms 1 ms 1 ms host199.megacorp.com [1.2.2.123] Trace complete.
(改变了IP地址,以保护我的megacorp雇主的安全)