Closed davequested closed 7 years ago
I've dug further, it seems if I POST data from a form using enctype="multipart/form-data" that it hangs for ages then returns this error.
Can you post your active config? http://localhost/a.cfm?BonCodeConfigList=true
Run this on server.
Hi Bilal
Here's my .settings file:
`
`
I get this error in the logs:
2016-09-25 14:16:49 BonCode AJP Connenctor version 1.0.29 2016-09-25 14:20:00 1.0.29 ERROR TCP Client level -- Server/Port:localhost/8016 Thread was being aborted. at BonCodeAJP13.BonCodeAJP13ServerConnection.ComunicateWithTomcat() at BonCodeAJP13.BonCodeAJP13ServerConnection.HandleConnection() at BonCodeAJP13.BonCodeAJP13ServerConnection.p_CreateConnection(BonCodeAJP13PacketCollection packetsToSend)
OK. Thanks for sharing. Will have to recreate somehow. Are there any errors recorded in CF /Tomcat logs that you can find?
Also, can you help me create a test case. Requirements: ACF 2016, Post a form with enctype="multipart/form-data", can we use a blank post-to-page? Does a file need to be posted?
Thanks, Bilal
I've narrowed down the issue. If you create a test.cfm and put this code there:
<cfoutput>
<form action="test.cfm?action=true" method="post" enctype="multipart/form-data">
<button type="submit" name="submit">Submit</button>
</form>
</cfoutput>
<cfif isDefined("url.action")>
<cfdump var="#getHttpRequestData()#">
</cfif>
<cfabort>
It seems to hang when trying to getHttpRequestData() for a POST/multipart form submission
Thanks Dave. That looks more like an Adobe specific behavior that I have to reverse engineer. Adobe adds their own spin to the protocol and behavior is not published.
Thanks for looking into this Bilal, appreciated. If it helps, using the WSCONFIG way that Adobe uses it works fine.
We want to use BonCode for performance, no horrible Jakarta folders everywhere and also that WSCONFIG doesn't work for all sites properly on ACF2016.
No problem. Just going to take a bit longer to check out.
Thanks Bilal, if you need any more info just shout. Appreciate your efforts here.
@davequested I did find and resolve this issue but I found something else with ACF2016 I need to investigate that is related. Will be a bit longer.
Fantastic Bilal, just give me a shout when you'd like me to test.
Thank you sooooo much Bilal. All working as expected now. Appreciate the fix.
closing.
Hi Bilal
I've started using your connector, which has been working great, many thanks. For some requests though I'm seeing these errors. It's like ACF2016 has thrown an error but the connector/iis can't return it or something:
Any ideas?
Dave