Silent fatal error between two batchs

Created on 27 March 2020, over 4 years ago
Updated 18 February 2023, almost 2 years ago

Hello everyone,

Presently, we experiment a weird bug during execution of some batches (but not all).

We should launch a big process on every contents which do corrections. Like we should launch it manually, I create a form which allow to launch batch with the admin interface. By batch, we handle 20 contents (but decrease this number don't fix the bug).

At a moment, the batch stop with only the error:

An AJAX HTTP error occurred.
HTTP Result Code: 502
Debugging information follows.
Path: /fr/batch?id=72&op=do_nojs&op=do
StatusText: error
ResponseText:
502 Server Error
Error: Server Error
The server encountered a temporary error and could not complete your request.Please try again in 30 seconds.

We have no error in logs, no information.

I try to reproduce it on my local (which run with Lando) but we don't have the problem so I can debug it.

I put some debugs messages to see if the problem occurs with specific contents. I added a system to process only contents which haven't been processed to see if I'm able to finish entire batch in multiple time (fortunately, it's the case). It appears the bug occurs at different moment. But these debug messages have allow to see the bug occurs when a batch has finished and the next hasn't begin yet.

We running our website on a gcloud server. The PHP version using is PHP 7.3 (exactly 7.3.12-1+0~20191128.49+debian9~1.gbp24559b), an apache 2 (the version is not inform in the phpinfo) and the Drupal version is 8.8.4

🐛 Bug report
Status

Closed: works as designed

Version

9.5

Component
Batch 

Last updated 4 days ago

Created by

🇨🇦Canada clairedesbois@gmail.com Montreal

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024