richard.herbert
01/19/2023, 12:26 PM[Thu Jan 19 11:18:20.283069 2023] [modcfml:notice] [pid 11049] Handler Pattern Found => .cfm
[Thu Jan 19 11:18:20.283723 2023] [modcfml:notice] [pid 11049] Pattern Match TRUE: extension [.cfm] matches handler [.cfm]
[Thu Jan 19 11:18:20.283738 2023] [modcfml:notice] [pid 11049] Handler Pattern Found => .cfc
[Thu Jan 19 11:18:20.283749 2023] [modcfml:notice] [pid 11049] Handler Pattern Found => .cfml
[Thu Jan 19 11:18:20.283774 2023] [modcfml:notice] [pid 11049] Printing aliases: [1] found
[Thu Jan 19 11:18:20.283786 2023] [modcfml:notice] [pid 11049] 1. Alias: [/cgi-bin/] -> [/opt/homebrew/var/www/cgi-bin/]
[Thu Jan 19 11:18:20.283800 2023] [modcfml:notice] [pid 11049] URI => /index.cfm, filename => proxy:<ajp://localhost/index.cfm?page=dashboard&aId=7ba566594b1c2772f8008c1ac9a853c0>
[Thu Jan 19 11:18:20.283812 2023] [modcfml:notice] [pid 11049] Request header [Host] => <http://example.com|example.com>
[Thu Jan 19 11:18:20.283823 2023] [modcfml:notice] [pid 11049] Request header [Connection] => keep-alive
[Thu Jan 19 11:18:20.283832 2023] [modcfml:notice] [pid 11049] Request header [DNT] => 1
[Thu Jan 19 11:18:20.283847 2023] [modcfml:notice] [pid 11049] Request header [Upgrade-Insecure-Requests] => 1
[Thu Jan 19 11:18:20.283858 2023] [modcfml:notice] [pid 11049] Request header [User-Agent] => Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
[Thu Jan 19 11:18:20.283876 2023] [modcfml:notice] [pid 11049] Request header [Accept] => text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
[Thu Jan 19 11:18:20.283887 2023] [modcfml:notice] [pid 11049] Request header [Accept-Encoding] => gzip, deflate
[Thu Jan 19 11:18:20.283897 2023] [modcfml:notice] [pid 11049] Request header [Accept-Language] => en-GB,en;q=0.9,es;q=0.8,en-US;q=0.7,fr-FR;q=0.6,fr-CH;q=0.5,fr-CA;q=0.4,fr;q=0.3
[Thu Jan 19 11:18:20.283907 2023] [modcfml:notice] [pid 11049] Request header [Cookie] => LUCEE_ADMIN_LANG=en; LUCEE_ADMIN_PW_5.3.4.77_SERVER=6a10b09acc3112eeba7afa420c117257878a4c3ba7ca89f63af39f3ddf09ba11; LUCEE_ADMIN_LASTPAGE=services.datasource; cfid=876215ca-18ba-4520-ae17-8a87b80ce6ee; cftoken=0; JSESSIONID=FHKsPmev45ADw376DKOMBdBYicuUdkTtZIDodSWD
[Thu Jan 19 11:18:20.283918 2023] [modcfml:notice] [pid 11049] Request header [sec-gpc] => 1
[Thu Jan 19 11:18:20.283929 2023] [modcfml:notice] [pid 11049] Request header [X-Tomcat-DocRoot] => /Volumes/websites/example.com/
[Thu Jan 19 11:18:20.283939 2023] [modcfml:notice] [pid 11049] Request header [X-Webserver-Context] => example-com-confl3
[Thu Jan 19 11:18:20.283948 2023] [modcfml:notice] [pid 11049] Request header [X-ModCFML-SharedKey] => **************
[Thu Jan 19 11:18:20.283958 2023] [modcfml:notice] [pid 11049] Request header [x-vdirs] => /cgi-bin,/opt/homebrew/var/www/cgi-bin;
[Thu Jan 19 11:18:20.616301 2023] [proxy_ajp:error] [pid 11049] AH01081: ajp_msg_check_header() incoming message is too big 11704, max is 8192
[Thu Jan 19 11:18:20.616470 2023] [proxy_ajp:error] [pid 11049] AH01031: ajp_ilink_receive() received bad header
[Thu Jan 19 11:18:20.616491 2023] [proxy_ajp:error] [pid 11049] [client 127.0.0.1:64568] AH00992: ajp_read_header: ajp_ilink_receive failed
[Thu Jan 19 11:18:20.616511 2023] [proxy_ajp:error] [pid 11049] (120007)APR does not understand this error code: [client 127.0.0.1:64568] AH00893: dialog to (null) (localhost:8009) failed
Thoughts or directions to further reading appreciated.zackster
01/19/2023, 12:29 PMAH01081: ajp_msg_check_header() incoming message is too big 11704, max is 8192
maybe bump up the modcfml logging to debug, to see what's being passed?zackster
01/19/2023, 12:30 PMrichard.herbert
01/19/2023, 12:32 PMCFMLHandlers ".cfm .cfc .cfml"
ModCFML_SharedKey "********"
# Optional, all for logging and debugging:
LogHeaders true
LogHandlers true
LogAliases true
VDirHeader true
Not sure how I could determine the CB path length?zackster
01/19/2023, 12:34 PMrichard.herbert
01/19/2023, 12:38 PMzackster
01/19/2023, 12:40 PMzackster
01/19/2023, 12:40 PMrichard.herbert
01/19/2023, 12:41 PMrichard.herbert
01/19/2023, 12:50 PMrichard.herbert
01/19/2023, 12:51 PMzackster
01/19/2023, 12:51 PMrichard.herbert
01/19/2023, 12:51 PMzackster
01/19/2023, 12:52 PMrichard.herbert
01/19/2023, 12:56 PMzackster
01/19/2023, 1:11 PMthisOldDave
01/19/2023, 1:11 PMthisOldDave
01/19/2023, 1:13 PMbdw429s
01/19/2023, 2:00 PMbdw429s
01/19/2023, 2:01 PMbdw429s
01/19/2023, 2:02 PMzackster
01/19/2023, 2:02 PMzackster
01/19/2023, 2:02 PMrichard.herbert
01/19/2023, 3:02 PMhttps://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxyiobuffersizeYep, that fixed it! I kept upping the size as it kept hitting the limit I set until I thought, “blow it” and turned it up to the max
65536 and all seems good. Not sure what to do about the statement “_you must also change the packetSize attribute of your AJP connector on the Tomcat side!_“. I’ve not seen a setting in modcfml to do that?
Thanks again @zackster for finding that setting!
@thisOldDave I assume your suggestion is for when only using Undertow?
@bdw429s As Zac said, those lines are from the Apache logs.
Can I provide any more info?thisOldDave
01/19/2023, 3:04 PMrichard.herbert
01/19/2023, 3:42 PMbdw429s
01/19/2023, 4:56 PMbdw429s
01/19/2023, 4:56 PMdefault is 8192
bdw429s
01/19/2023, 4:57 PMrichard.herbert
01/19/2023, 5:00 PMrichard.herbert
01/19/2023, 5:02 PMbdw429s
01/19/2023, 5:03 PMbdw429s
01/19/2023, 5:03 PMbdw429s
01/19/2023, 5:04 PMbdw429s
01/19/2023, 5:04 PMrichard.herbert
01/19/2023, 5:09 PM