Cannot use BigPipe and Still Add Comments

Created on 20 March 2020, about 4 years ago
Updated 13 January 2024, 5 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?

πŸ› Bug report
Status

Closed: cannot reproduce

Version

10.2 ✨

Component
CommentΒ  β†’

Last updated 2 days 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 5 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 5 months ago
  • πŸ‡ΊπŸ‡ΈUnited States cilefen
  • πŸ‡ΊπŸ‡Έ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 5 months ago
  • πŸ‡ΊπŸ‡ΈUnited States cilefen

    That bug fix is in 10.2.1.

  • Status changed to Needs work 5 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 5 months ago
  • πŸ‡ΊπŸ‡ΈUnited States caspervoogt
Production build 0.69.0 2024