2024-08-24 UTC
drifty, chee, wagle and capjamesg joined the channel
# 04:38 Loqi [preview] [dshanske] #276 Remove discovery on each load if Client is Already Cached
# 04:58 ben patch applied, testing with quill
# 05:06 ben still hanging, got a 504 gateway timeout again
# 05:06 ben would there be any helpful logs with WP_DEBUG on?
# 05:06 GWG Can you go over exactly what you are doing?
# 05:10 ben i believe it also happened when snarfed tried to do indieauth signin _to_ my qp
# 05:11 ben if you'd like to give that a try, idk if you'd be able to get anything on your end
# 05:12 GWG Well, there's no user account on your site for snarfed, is there?
# 05:13 GWG There is definitely something happening with websignin
# 05:16 GWG Of course, I've never tried to log into a site where I had no account.
wagle joined the channel
# 05:34 ben hm i have the setting to allow people to sign in with it
# 05:34 ben there's no option to connect it to an existing account though
# 05:35 ben 2024/08/24 01:34:34 [error] 3130851#3130851: *412326 upstream sent too big header while reading response header from upstream, client: 192.168.1.22, server: be
# 05:35 ben lback%26reauth%3D1%26action%3Dindieauth%26_wpnonce%3De358606e28%26response_type%3Dcode%26client_id%3Dhttps%253A%252F%252Fquill.p3k.io%252F%26me%3Dhttp%253A%252
# 05:35 ben F%252Fbenharri.org%252F%26state%3D5dbf798e79060434%26code_challenge%3D3Aoa7ZUnbq1DgnvzWLOHLEEOm247uCKvmdYX4RHDnKU%26code_challenge_method%3DS256%26scope%3Dprof
# 05:35 ben ile%2Bcreate%2Bupdate%2Bmedia&reauth=1 HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock:", host: "benharri.org", referrer: "https://quill.p3k.io/"
# 05:35 ben oop my bad idk why it split like that
# 05:38 GWG Well, that means the buffer on your nginx server is smaller than it probably should be.
# 05:42 ben oh hm ok i will have to check what they're at
# 05:42 GWG Either way, not polling for client discovery every time is a good fix.
# 05:54 ben mm i bumped the proxy buffer and that issue is fixed but we're still hanging after that
# 05:54 GWG Just when you try to log in to Quill or otherwise?
# 05:55 ben in an incognito window, right after i logged in normally to wp-admin
# 05:55 ben in a logged-in window, right when i press sign in
# 05:56 Loqi [preview] [Webmention Rocks!] Receiver Test #1
# 05:57 ben 2024/08/24 01:56:18 [error] 1924336#1924336: *414080 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.16
# 05:58 GWG I'm just wondering what it is trying to do at the same time that it is timing out on
# 06:00 GWG I have three sites using it, and am not experiencing the same.
# 06:02 GWG And this is the first report from someone on this.
# 06:03 GWG I thought maybe it was timing out querying the other site, but I can't reproduce it
# 06:03 ben both sites i have indieauth on are timing out here
# 06:13 GWG Yes. Possibly the php-fpm ones. Might have a clue
# 06:14 GWG I'd add wp-json to the skip_cache config so it won't cache the REST API endpoint.
# 06:15 ben the only thin i remember adjusting in the php.ini was post_max_body_size
# 06:15 GWG if ($request_uri ~* "/wp-admin/|/xmlrpc.php|wp-.*.php|^/feed/*|/tag/.*/feed/*|index.php|/.*sitemap.*\.(xml|xsl)") { - add in /wp-json/|
# 06:20 GWG It is still noting x-fastcgi-cache when I go to benharri.org/wp-json
# 06:24 ben gonna try disabling fastcgi_cache
# 06:25 ben could it be a self-ping type thing?
# 06:33 ben still getting the upstream timed out thing
[snarfed] joined the channel
# 07:40 ben i will have another look tomorrow
Lars-Christian, regal, pakhrom, [tantek] and [KevinMarks] joined the channel