nginxinc / nginx-amplify-agent

NGINX Amplify Agent
BSD 2-Clause "Simplified" License
21 stars 9 forks source link

413 Client Error: Request Entity Too Large for url #37

Open mesouug opened 6 years ago

mesouug commented 6 years ago

Hello. Thank you for a good product but looks like we faced server side limitation: We are using CentOS Linux release 7.5.1804 and nginx-amplify-agent-1.4.1-1.el7.x86_64

2018-09-14 11:57:38,618 [17340] supervisor [ec82a8b8c511f1cd2645a6d8fda4f39d] post https://receiver.amplify.nginx.com:443/1.3/d401b883b5d6adef4b83e4a4b947e3a7/agent/ 200 85 4 1.701
2018-09-14 11:58:32,817 [17340] bridge_manager failed POST "https://receiver.amplify.nginx.com:443/1.3/d401b883b5d6adef4b83e4a4b947e3a7/update/", exception: ""
2018-09-14 11:58:32,818 [17340] bridge_manager [None] post https://receiver.amplify.nginx.com:443/1.3/d401b883b5d6adef4b83e4a4b947e3a7/update/ 500 5443447 0 22.268
2018-09-14 11:58:32,819 [17340] bridge_manager failed to push data due to SysCallError
2018-09-14 11:59:56,529 [17340] bridge_manager failed POST "https://receiver.amplify.nginx.com:443/1.3/d401b883b5d6adef4b83e4a4b947e3a7/update/", exception: "413 Client Error: Request Entity Too Large for url: https://receiver.amplify.nginx.com:443/1.3/d401b883b5d6adef4b83e4a4b947e3a7/update/"
2018-09-14 11:59:56,529 [17340] bridge_manager [None] post https://receiver.amplify.nginx.com:443/1.3/d401b883b5d6adef4b83e4a4b947e3a7/update/ 413 5445479 0 10.420
2018-09-14 11:59:56,530 [17340] bridge_manager failed to push data due to HTTPError
2018-09-14 12:00:19,546 [17340] supervisor [2aa43e4b9b63ce18f613e2530c5bd216] post https://receiver.amplify.nginx.com:443/1.3/d401b883b5d6adef4b83e4a4b947e3a7/agent/ 200 85 4 23.503
2018-09-14 12:01:18,188 [17340] bridge_manager failed POST "https://receiver.amplify.nginx.com:443/1.3/d401b883b5d6adef4b83e4a4b947e3a7/update/", exception: "413 Client Error: Request Entity Too Large for url: https://receiver.amplify.nginx.com:443/1.3/d401b883b5d6adef4b83e4a4b947e3a7/update/"
2018-09-14 12:01:18,188 [17340] bridge_manager [None] post https://receiver.amplify.nginx.com:443/1.3/d401b883b5d6adef4b83e4a4b947e3a7/update/ 413 5446486 0 10.384
2018-09-14 12:01:18,189 [17340] bridge_manager failed to push data due to HTTPError
2018-09-14 12:02:16,220 [17340] supervisor [49bd3a90b1ee3d2093d998458915d6dd] post https://receiver.amplify.nginx.com:443/1.3/d401b883b5d6adef4b83e4a4b947e3a7/agent/ 200 85 4 11.257
2018-09-14 12:03:51,941 [17340] bridge_manager failed POST "https://receiver.amplify.nginx.com:443/1.3/d401b883b5d6adef4b83e4a4b947e3a7/update/", exception: "413 Client Error: Request Entity Too Large for url: https://receiver.amplify.nginx.com:443/1.3/d401b883b5d6adef4b83e4a4b947e3a7/update/"
2018-09-14 12:03:51,943 [17340] bridge_manager [None] post https://receiver.amplify.nginx.com:443/1.3/d401b883b5d6adef4b83e4a4b947e3a7/update/ 413 5449101 0 11.652
2018-09-14 12:03:51,943 [17340] bridge_manager failed to push data due to HTTPError
2018-09-14 12:04:13,454 [17340] supervisor [27b54309a07992ef0597c3f870982042] post https://receiver.amplify.nginx.com:443/1.3/d401b883b5d6adef4b83e4a4b947e3a7/agent/ 200 85 4 0.768
2018-09-14 12:06:27,895 [17340] supervisor [575021b695ba320598ceaf734b2bc6f9] post https://receiver.amplify.nginx.com:443/1.3/d401b883b5d6adef4b83e4a4b947e3a7/agent/ 200 85 4 2.801
2018-09-14 12:07:39,157 [17340] bridge_manager failed POST "https://receiver.amplify.nginx.com:443/1.3/d401b883b5d6adef4b83e4a4b947e3a7/update/", exception: ""
2018-09-14 12:07:39,158 [17340] bridge_manager [None] post https://receiver.amplify.nginx.com:443/1.3/d401b883b5d6adef4b83e4a4b947e3a7/update/ 500 5452400 0 20.301
2018-09-14 12:07:39,161 [17340] bridge_manager failed to push data due to SysCallError
2018-09-14 12:08:40,610 [17340] supervisor [3734ac3b1115291dc6c1fb7d026fe8ff] post https://receiver.amplify.nginx.com:443/1.3/d401b883b5d6adef4b83e4a4b947e3a7/agent/ 200 85 4 4.240

Please assist with that issue.

Thanks, Mikhail.

eby commented 5 years ago

Getting the same error with Ubuntu 16.04, Nginx 1.14 and agent 1.4.1-1~xenial.

The supervisor can post ok but the bridge_manager fails. I'm guessing this is a config issue on the amplify receiving end?