Web file not found even though the file exists
Aldevinas Katkus
2-7-23
Operating system: Windows
I am posting some data to the server and 1 out of 2 or 3 sequential requests (each request starts after the previous one is successfully finished) fail with
2023-02-07 14:37:12 Web file not found: WebStoreTabText.hal
and at the other end (initiating the request to the SERP) I am getting HTTP/1.0 503 error, which means the server is currently unable to handle the incoming requests.


Why is that?
WebStoreTabText is an like this:

global
updating procedure WebStoreTabText()
begin
...
WebGetPostData(FileArea);
qupdating.ImportSalesInvoicesFromArea(FileArea,...);
WebOutString("OK");
end;


I tried to make WebStoreTabText non updating and instead of qupdating call make it queued and in some cases data were stored successfully, but there was a timeout (over 30 secs) on the other end.


How should we process incoming requests in updating web calls?
I tried removing qupdating, but it didn't help.
As far as I can see in the source we have updating procedures in WebNG folder.


Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Gastón Salomone
Hi David, I´ve done lost of test, including rebuild database, add more level of verbosity, click on every check on Log Messages on database and still, once that function is called server crash. ...
15:59 9 May 2025
Paul Timms
From what I've read, using these will store the updated records in memory and then write them to the database in bulk, instead of each record writing to the database in turn. So perhaps there&apo...
17:53 29 Apr 2025