Cannot use BigPipe and Still Add Comments

Created on 20 March 2020, almost 5 years ago
Updated 12 January 2024, 12 months ago

Hi all this one has me really baffled. I could have swore it was working until the recent upgrades to core, however now when I go to a page where comments are active the Add a comment box does not show up.

I am running Apache 2.4.41 on my development server using php-fpm via the proxy_fcgi_module. I followed everything within the https://www.drupal.org/docs/8/core/modules/big-pipe/bigpipe-environment-... β†’ documentation, verified that it "should" work by digging out the old test that Jeff Geerling did (https://www.jeffgeerling.com/blog/2016/streaming-php-disabling-output-bu...) however no luck getting the comment box to render. As soon as I disable BigPipe then everything is fine on the comment system and the input box appears.

Has anyone else run across this or have any suggestions on what I can do besides disabling BigPipe?

πŸ’¬ Support request
Status

Closed: outdated

Version

9.3

Component
CommentΒ  β†’

Last updated about 3 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States Christopher Riley

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.

  • πŸ‡ΊπŸ‡ΈUnited States caspervoogt

    I ran into this myself just now on 10.2.0 FWIW. It was a D9 site that had the core big_pipe and comment modules installed, with commenting enabled. Updated to 10.2.0 and the comment form disappeared. Uninstalling big_pipe fixed it.

  • Status changed to Active 12 months ago
  • πŸ‡ΊπŸ‡ΈUnited States caspervoogt

    Changed Drupal version to 10.2.0 since I encountered this on that version just now.

  • πŸ‡¬πŸ‡§United Kingdom longwave UK

    Have you tried 10.2.1? There is a relevant bug fix there, πŸ› big_pipe sometimes fails to load blocks Active

    Otherwise are there any errors in the browser JavaScript console when this happens?

  • Status changed to Postponed: needs info 12 months ago
  • πŸ‡ΊπŸ‡ΈUnited States caspervoogt

    no JS errors on my end but it was consistently not rendering the comment form block. Looks like the issue has been resolved on 10.2.x-dev ( https://www.drupal.org/project/drupal/issues/3390178 πŸ› big_pipe sometimes fails to load blocks Active ) though.. I will check with the next release

  • Status changed to Closed: duplicate 12 months ago
  • That bug fix is in 10.2.1.

  • Status changed to Needs work 12 months ago
  • πŸ‡ΊπŸ‡ΈUnited States caspervoogt

    I updated to 10.2.1 but that did not fix my issue. When I have BigPipe installed, my comment form consistently does not show - every time. No JS errors. Just this HTML gets rendered:

    <span data-big-pipe-placeholder-id="callback=comment.lazy_builders%3ArenderForm&amp;args%5B0%5D=node&amp;args%5B1%5D=19040&amp;args%5B2%5D=field_comment&amp;args%5B3%5D=blog_comment&amp;token=GIszGpkYD5yzHH572vPlvi8RJYjjHj4MmaakxGwnAKE">
    </span>

    I realize this is precious little to go on, but felt it's important to point out even if I am a lone voice in the wilderness here (it may help someone else). I'm fine with just uninstalling BigPipe as a stopgap solution; that's how I solved it for myself, but it's a shame to have to do that.

    I'm not sure if this is a comment module or big_pipe module issue and didn't want to pollute https://www.drupal.org/project/drupal/issues/3390178 πŸ› big_pipe sometimes fails to load blocks Active with this issue (since it's marked fixed), so I thought I'd post here first. I changed the status from 'Duplicate' to 'Needs work' for now since I don't think this is a duplicate.

  • Status changed to Closed: cannot reproduce 12 months ago
  • πŸ‡ΊπŸ‡ΈUnited States caspervoogt
  • πŸ‡¬πŸ‡§United Kingdom Rory Downes

    Hi @caspervoogt,
    Did you ever get to the bottom on this on your site.

    I have just come accross this on a D9 to 10 upgrade (10.4).

    I too can solve the issue but uninstalling BigPipe or switching to the Olivero theme.

    My site has a light custom theme based upon Bootstrap Barrio.

    Regards Rory

Production build 0.71.5 2024