Arvi Leino

Results comments of Arvi Leino

+1 Also having this issue. Celery version 4.0.2 (latentcall)

Problem might be in https://github.com/Kong/lua-multipart/blob/236b8d9f4f4b6424271ed79dba2ae8189e2bdb17/src/multipart.lua#L129

@bungle Looks like bug is still there. Versions: - Ubuntu 16.04.3 LTS (Xenial Xerus) - Kong 0.11.2 - multipart 0.5.2-2 - A simple HTTP multipart encoder/decoder for Lua Setting API:...

Thanks for testing. The problem seems to be little different from what I described earlier. If feedback data is sent through Kong **and api_key is added with request-transformer plugin** option...

Found it. Plugin request-transformer seems to add extra line break characters. If image contains \r it is converted to \r\n Sample data below. **Original data**: `--------------------------d3cfb9fe757b8050\r\nContent-Disposition: form-data; name="media"; filename="box.png"\r\nContent-Type: application/octet-stream\r\n\r\n\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x01,\x00\x00\x01,\x01\x03\x00\x00\x00C\xb3\x1c6\x00\x00\x00\x03sBIT\x08\x08\x08\xdb\xe1O\xe0\x00\x00\x00\tpHYs\x00\x00\x03v\x00\x00\x03v\x01}\xd5\x82\xcc\x00\x00\x00\x19tEXtSoftware\x00www.inkscape.org\x9b\xee

Made quick test: 1. Updated multipart to 0.5.2-2 and defined API 2. Tried API -> works 3. Added request-transformer 4. Tried API -> did not work. Returned [{"code":400,"description":"An internal error...

Made other test: `curl -X "POST" "http://localhost/echo" -F "address_string=TEST ADDRESS" -F "service_code=73da8c74-49e8-e611-8bc2-005056820025" -F "description=TEST FEEDBACK" -F "first_name=FIRST" -F "last_name=LAST"` Request-transformer 0.5.2-2 seems to multiply some fields and lose some: `b'--------------------------d6fcd41540af83d8\r\nContent-Disposition:...

"An internal error occurred" is from upstream server and I can not see it's logs. client_body_buffer_size is set to 1024m and there is no new messages in error.log access.log has...

Create API: `curl -i -X POST --url http://localhost:8001/apis/ --data 'name=echo' --data 'uris=/echo/' --data 'upstream_url=http://localhost:8020/'` Echo service: ``` from flask import * import requests import json app = Flask(__name__) @app.errorhandler(404) def...

@bungle Upgraded to Kong 0.11.2. Getting expected result after commands: ``` yes | kong migrations reset kong migrations up sudo kong start curl -i -X POST --url http://localhost:8001/apis/ --data 'name=echo'...