{"action":"created","issue":{"url":"https://api.github.com/repos/Bilal-S/iis2tomcat/issues/75","repository_url":"https://api.github.com/repos/Bilal-S/iis2tomcat","labels_url":"https://api.github.com/repos/Bilal-S/iis2tomcat/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/Bilal-S/iis2tomcat/issues/75/comments","events_url":"https://api.github.com/repos/Bilal-S/iis2tomcat/issues/75/events","html_url":"https://github.com/Bilal-S/iis2tomcat/issues/75","id":376613857,"node_id":"MDU6SXNzdWUzNzY2MTM4NTc=","number":75,"title":"Can't upload file","user":{"login":"ccallendar","id":10427053,"node_id":"MDQ6VXNlcjEwNDI3MDUz","avatar_url":"https://avatars1.githubusercontent.com/u/10427053?v=4","gravatar_id":"","url":"https://api.github.com/users/ccallendar","html_url":"https://github.com/ccallendar","followers_url":"https://api.github.com/users/ccallendar/followers","following_url":"https://api.github.com/users/ccallendar/following{/other_user}","gists_url":"https://api.github.com/users/ccallendar/gists{/gist_id}","starred_url":"https://api.github.com/users/ccallendar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccallendar/subscriptions","organizations_url":"https://api.github.com/users/ccallendar/orgs","repos_url":"https://api.github.com/users/ccallendar/repos","events_url":"https://api.github.com/users/ccallendar/events{/privacy}","received_events_url":"https://api.github.com/users/ccallendar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-01T23:48:45Z","updated_at":"2018-11-02T17:07:09Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nWe upgraded BonCode from 1.0.36 to 1.0.40, and now we can no longer upload files from a web form to Lucee (v5.1.3.18) backend. I've also tried with 1.0.37, 38, and 39 and same problem.\r\n\r\nIf I upload straight through tomcat then it works, but with IIS+BonCode it fails, eventually hitting the lucee request timeout (50 seconds). I tried making the Lucee request timeout longer (3 minutes) and the uploads will work most of the time, but they take a very long time (~2 minutes for a 5 MB file on my computer going to local server).\r\n\r\nThe weird part is if I set my BonCode LogLevel up to 3 or 4, then the uploads work! And are very fast (~ 5 seconds). \r\n\r\nMy tomcat/lucee server.xml file has this line:\r\n`<Connector port=\"8009\" protocol=\"AJP/1.3\" redirectPort=\"8443\" maxThreads=\"500\" keepAliveTimeout=\"-1\" connectionTimeout=\"121000\" packetSize=\"65536\" />`\r\nMy IIS app pool Idle timeout is 2 minutes.\r\n\r\nAnd my BonCodeAJP13.settings file is this:\r\n```\r\n<Settings>\r\n  <Port>8009</Port>\r\n  <Server>localhost</Server>   \r\n  <MaxConnections>500</MaxConnections>\r\n  <PacketSize>65536</PacketSize>\r\n  <LogLevel>2</LogLevel>\r\n  <LogDir>c:\\Temp\\BonCodeLogs</LogDir>\r\n  <EnableRemoteAdmin>False</EnableRemoteAdmin>\r\n  <EnableHeaderDataSupport>True</EnableHeaderDataSupport>\r\n  <ForceSecureSession>False</ForceSecureSession>\r\n  <AllowEmptyHeaders>True</AllowEmptyHeaders>\r\n  <FlushThresholdTicks>50000</FlushThresholdTicks>\r\n</Settings>\r\n```\r\n\r\nThanks!\r\n"},"comment":{"url":"https://api.github.com/repos/Bilal-S/iis2tomcat/issues/comments/435446741","html_url":"https://github.com/Bilal-S/iis2tomcat/issues/75#issuecomment-435446741","issue_url":"https://api.github.com/repos/Bilal-S/iis2tomcat/issues/75","id":435446741,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTQ0Njc0MQ==","user":{"login":"Bilal-S","id":668901,"node_id":"MDQ6VXNlcjY2ODkwMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/668901?v=4","gravatar_id":"","url":"https://api.github.com/users/Bilal-S","html_url":"https://github.com/Bilal-S","followers_url":"https://api.github.com/users/Bilal-S/followers","following_url":"https://api.github.com/users/Bilal-S/following{/other_user}","gists_url":"https://api.github.com/users/Bilal-S/gists{/gist_id}","starred_url":"https://api.github.com/users/Bilal-S/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bilal-S/subscriptions","organizations_url":"https://api.github.com/users/Bilal-S/orgs","repos_url":"https://api.github.com/users/Bilal-S/repos","events_url":"https://api.github.com/users/Bilal-S/events{/privacy}","received_events_url":"https://api.github.com/users/Bilal-S/received_events","type":"User","site_admin":false},"created_at":"2018-11-02T17:07:09Z","updated_at":"2018-11-02T17:07:09Z","author_association":"OWNER","body":"Chris,\r\nis there a min test case that you can share? Or does this happen with any upload (sending from browser to tomcat)?\r\nIf we were to create page A: render HTML and allow a file for upload to page B\r\nand page B: target for upload (form post)\r\n\r\nWill that do?\r\n\r\nBest,\r\nBilal"}}
{"actor":{"display_login":"Bilal-S"}}