{"action":"created","issue":{"url":"https://api.github.com/repos/getsentry/raven-php/issues/216","labels_url":"https://api.github.com/repos/getsentry/raven-php/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/raven-php/issues/216/comments","events_url":"https://api.github.com/repos/getsentry/raven-php/issues/216/events","html_url":"https://github.com/getsentry/raven-php/issues/216","id":78100558,"number":216,"title":"Expect: 100-continue multi curl problem with Gunicorn","user":{"login":"khrizt","id":725227,"avatar_url":"https://avatars.githubusercontent.com/u/725227?v=3","gravatar_id":"","url":"https://api.github.com/users/khrizt","html_url":"https://github.com/khrizt","followers_url":"https://api.github.com/users/khrizt/followers","following_url":"https://api.github.com/users/khrizt/following{/other_user}","gists_url":"https://api.github.com/users/khrizt/gists{/gist_id}","starred_url":"https://api.github.com/users/khrizt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khrizt/subscriptions","organizations_url":"https://api.github.com/users/khrizt/orgs","repos_url":"https://api.github.com/users/khrizt/repos","events_url":"https://api.github.com/users/khrizt/events{/privacy}","received_events_url":"https://api.github.com/users/khrizt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-19T14:00:37Z","updated_at":"2015-05-21T23:01:13Z","closed_at":"2015-05-19T20:17:23Z","body":"Hi,\r\n\r\nWe are trying the new sentry 7 version (we are currently in 7.1.4) and we ran into some problems while logging messages from PHP. With the migration to sentry 7 and the change to http protocol in sentry we switched to async mode in Raven so having 1 sentry server would not be a bottleneck problem for our 20-server platform.\r\n\r\nThe problem we are facing is that some messages get to sentry and some others don't and putting a sniffer to check if the message was being sent we found this:\r\n\r\n```\r\nserver.41304 > sentry-server.http: Flags [P.], cksum 0xd93d (incorrect -> 0x050e), seq 0:387, ack 1, win 115, options [nop,nop,TS val 1945893044 ecr 1015529530], length 387\r\nE.....@.@.......\r\n....X.P..S....P...s.=.....\r\ns...<..:POST /api/36/store/ HTTP/1.1\r\nHost: sentry-server\r\nAccept: */*\r\nUser-Agent: raven-php/0.11.0\r\nX-Sentry-Auth: Sentry sentry_timestamp=1432042202.261651, sentry_client=raven-php/0.11.0, sentry_version=5, sentry_key=[sentry_key], sentry_secret=[sentry_secret]\r\nContent-Type: application/octet-stream\r\nContent-Length: 3448\r\nExpect: 100-continue\r\n```\r\n\r\nAnd it looks like the server does not respond and raven does not send the next message. But on some other messages we get this:\r\n\r\n```\r\nserver.41150 > sentry-server.http: Flags [P.], cksum 0xd93d (incorrect -> 0xb36a), seq 0:387, ack 1, win 115, options [nop,nop,TS val 1945857646 ecr 1015494134], length 387\r\nE.....@.@.Z.....\r\n......P\\?h.l`.C...s.=.....\r\ns.nn<.5.POST /api/36/store/ HTTP/1.1\r\nHost: sentry-server\r\nAccept: */*\r\nUser-Agent: raven-php/0.11.0\r\nX-Sentry-Auth: Sentry sentry_timestamp=1432042060.666881, sentry_client=raven-php/0.11.0, sentry_version=5, sentry_key=[sentry_key], sentry_secret=[sentry_secret]\r\nContent-Type: application/octet-stream\r\nContent-Length: 1612\r\nExpect: 100-continue\r\n\r\n\r\n15:27:40.680485 IP (tos 0x0, ttl 64, id 1733, offset 0, flags [DF], proto TCP (6), length 52)\r\n    server.41150 > sentry-server.http: Flags [.], cksum 0xd7ba (incorrect -> 0x6093), seq 387, ack 26, win 115, options [nop,nop,TS val 1945857646 ecr 1015494135], length 0\r\nE..4..@.@.\\k....\r\n......P\\?j0l`.\\...s.......\r\ns.nn<.5.\r\n15:27:40.722371 IP (tos 0x0, ttl 64, id 44060, offset 0, flags [DF], proto TCP (6), length 60)\r\n    server.41151 > sentry-server.http: Flags [S], cksum 0xd7c2 (incorrect -> 0x37e7), seq 3113402981, win 14600, options [mss 1460,sackOK,TS val 1945857657 ecr 0,nop,wscale 7], length 0\r\nE..<..@.@.......\r\n......P...e......9............\r\ns.ny........\r\n15:27:40.722771 IP (tos 0x0, ttl 64, id 1734, offset 0, flags [DF], proto TCP (6), length 1500)\r\n    server.41150 > sentry-server.http: Flags [.], cksum 0xdd62 (incorrect -> 0xf569), seq 387:1835, ack 26, win 115, options [nop,nop,TS val 1945857657 ecr 1015494135], length 1448\r\nE.....@.@.V.....\r\n......P\\?j0l`.\\...s.b.....\r\ns.ny<.5.eJy1Vgtvm0gQ/isrpEZ92Lz8duq7IzZOLNnGB/jaXKnQGm8wCSxkWZy0Uf/7zYLtRElbpadGQgjmvfPNzsydlBPK2Rc5opywCxyQXD7jPJP6d1JC+CZdS33p1HSlmlSwGL43wOx7iqfgIEgLynOZs3QbcTlIEznYsCjnEabymmxJ7Cl/Bul6kKdBhGM/TsOIHoGVgbDxqmG80sfw3NzcPDBxFGMaFjgkA5L7pnOUCc6asEGYpmFMIIzrgrAvfs5ZREOI5/c7CNL0KiK5yIAfYnF8Q5N1ud3qtlSt0erIWlNr9+DV00F6cbZwTMeZjECQqZ1LVWO8rfVWvc1l2mX8uhNeXRa69K0mbQgGP6XdszTnIP+MFIKHZU5Y3QgBJlCZpV+jOMae0pJV9HqGA8AtzTfHaAL4xQgIyHLQR6SpcucYsW2/0ZbVN+iUBFepp+iqpsKjoXHEyEV66ymCXf7BOTwFlOQmuDSCgGTCHSe33FM2PIlrOMviKMA8Sqmn3ArSu9sn5CQ+vh6ocq/21lPelp/dg7n6dJd5sEtofenUCC1FWvciJgU8K2DDr1FWQ2tyEWMuYBmWsAADQBn8GJJjdEBk8BM8atLH+oTmUbipgODRdu+GUhKI4wD9ipCsjuNoW3JwsCF14ANa4iYk+LYu6kgV4BK6FcA6Q3uycP2lPQUBTwGtA2Xyy5dHVJfhnpWWipx5SpwGGOiriPZ3lOoT3sKTaf9j2r4zOZ0b7tI2Qe89Xq8ZyfM/jEwEDwUAWdN19HpEVuDoDXII2xKGMEfPiAgtUsZRV30P8e/seg8dW2P3g1H6/YG7e9m5MTOffQF2OsZoZIMOYCxr7a6sQQXovXv2wrJdYHdVINnmzHLNJxqqrDXawB5Zw+XMnLu+bVlumd4thmRCo/CUg3tP2QVFCZALCkXAchzXyy4DwmRV4bsPbjaZgykgJziHVvrXz49UVcV4MjV3qfjfMUR0TW7lbJPdn3uXilan1e0A9dRwzQ/GuT+Zu6Y9NobC3fB04imarD3In2251tAShXvmuos91zb/XpqO689M98waHYYBEO1z33Htyfz0Rbrw3m91cV5kkuxAOADwMJPQRHzHnI6fMPZxuZOZ6Y+nliEyrTUbutrU1bZaa2utR1JS/579DVpFXt45n+JEdLMNjlNe5KADAV5C5wFaWaR5xMmzrwhkJCQMxA81UiUJWByH5cxZpwmO6K83IYg4gxZ8kbIElKskxKXbvrQmqyKEf5gSDAsnhw84DKwSuR/B/tDQG71ODdaJJIXJnRF85Rd5NQf0mt5CsxPpwH3KqNaOFymAKPtedxAm/Ue7T4XZs+GA4UoYKxVoEQvKRRST591yRmKCc5J/575XncVTdjMoBqanOGVKpkJiV6JxRMGXpsMqE+McwJfc0r7nLfcWS3HPe2jIe2BIBFzQ/RRkBZVE4SYAaIXO\r\n15:27:40.722789 IP (tos 0x0, ttl 64, id 1735, offset 0, flags [DF], proto TCP (6), length 216)\r\n    server.41150 > sentry-server.http: Flags [P.], cksum 0xd85e (incorrect -> 0xc6ac), seq 1835:1999, ack 26, win 115, options [nop,nop,TS val 1945857657 ecr 1015494135], length 164\r\nE.....@.@.[.....\r\n......P\\?o.l`.\\...s.^.....\r\ns.ny<.5.p0dl9hkt7KV5YqCFYRvInCIHuqt9jobWHM0MB41MdHLumo5cpvLxvjnb2737TS4yzHAC5/70GaLmERjlOBFYw/7TqqututZztUZf7/Sb6r+ifLcQU1mqUhN2tKDXJat1r9Fsqr1V82LVbLY6naDdCcgKZv1/pJqivg==\r\n15:27:40.723072 IP (tos 0x0, ttl 64, id 44061, offset 0, flags [DF], proto TCP (6), length 52)\r\n```\r\nAnd the message is correctly sent.\r\n\r\nWe have seen some problems with apache with that header but the thing is we are using Gunicorn from the Sentry installation. Sync mode works ok but it can be a bottleneck problem as I said before.\r\n\r\nAny help will be appreciated"},"comment":{"url":"https://api.github.com/repos/getsentry/raven-php/issues/comments/104444975","html_url":"https://github.com/getsentry/raven-php/issues/216#issuecomment-104444975","issue_url":"https://api.github.com/repos/getsentry/raven-php/issues/216","id":104444975,"user":{"login":"dcramer","id":23610,"avatar_url":"https://avatars.githubusercontent.com/u/23610?v=3","gravatar_id":"","url":"https://api.github.com/users/dcramer","html_url":"https://github.com/dcramer","followers_url":"https://api.github.com/users/dcramer/followers","following_url":"https://api.github.com/users/dcramer/following{/other_user}","gists_url":"https://api.github.com/users/dcramer/gists{/gist_id}","starred_url":"https://api.github.com/users/dcramer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcramer/subscriptions","organizations_url":"https://api.github.com/users/dcramer/orgs","repos_url":"https://api.github.com/users/dcramer/repos","events_url":"https://api.github.com/users/dcramer/events{/privacy}","received_events_url":"https://api.github.com/users/dcramer/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T23:01:13Z","updated_at":"2015-05-21T23:01:13Z","body":"We have tagged 0.12.0"}}