简体   繁体   English

SOAP(获取HTTP标头错误)可能是由于损坏的内部数据库所致?

[英]SOAP (Error Fetching HTTP Headers) possibly due to corrupt interbase database?

I have a soap service giving me trouble at a clients. 我有一个肥皂服务,给客户带来麻烦。 One specific call to the API returns the error Fatal error: Uncaught SoapFault exception: [HTTP] Error Fetching http headers 对该API的一个特定调用返回错误致命错误:未捕获的SoapFault异常:[HTTP]获取HTTP标头时出错

I've read enough to see that sometimes it's connection issues or execution time running out, but I tried extending run time to the moon to confirm and it doesn't work. 我已经读了足够多的文章,有时会发现连接问题或执行时间用尽,但是我尝试将运行时间延长到月球来确认,但它不起作用。

1) Same service version, two databases, one works, the client's one doesn't. 1)相同的服务版本,两个数据库,一个数据库有效,而客户端的数据库无效。

2) On the clients database, takes all other calls except the problem one. 2)在客户数据库上,接听除问题一以外的所有其他调用。

3) Maybe the call and database structure is the problem? 3)也许调用和数据库结构是问题? Nope, debug the app and the break point gets hit or missed at random depending on how long it takes for the fetch error to drop in. 不会,请调试应用程序,然后断点会随机命中或丢失,具体取决于提取错误插入所需的时间。

So it's not a single point of reference in my procedure. 因此,这不是我过程中的一个参考点。 I've seen in the past issues where corrupt DB could potentially cause the connection to it to jump, but I don't know how I could potentially investigate that. 在过去的问题中,我已经看到损坏的数据库可能导致与数据库的连接跳变的问题,但是我不知道如何进行调查。

I tried restoring a DB backup from the clients, as restoring sometimes fixes the icky stuff but no dice. 我尝试从客户端还原数据库备份,因为还原有时可以修复棘手的问题,但不会造成麻烦。 Any suggestions what to look at next? 有什么建议下一步要看吗?

So I figured it out, once of the queries done to the database takes too much time and must jump off the connection. 因此,我弄清楚了,一旦对数据库执行的查询花费了太多时间,并且必须退出连接。

Doesn't really make sense to me because if I put execution time to a million the whole call still never ends. 对我来说真的没有意义,因为如果我将执行时间定为一百万,整个调用仍将永远不会结束。 I can still make it past the query aswell with debug before it crashes. 在崩溃之前,我仍然可以通过调试使其通过查询。 So on a logical front I might be misunderstanding the order of operations, error catching or how a service and sql queries are handled, but optimizing one of the SQL queries to one that runs instantly has stopped giving me issues. 因此,从逻辑上讲,我可能会误解操作的顺序,错误捕获或服务和sql查询的处理方式,但是将其中一个SQL查询优化为立即运行会停止出现问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM