Code Monkey home page Code Monkey logo

Comments (9)

ningji avatar ningji commented on July 27, 2024

also from Demo-Stack page, when i run "redis-server ./sample.redis.conf", the port is 6379.
While mock_exchange_runner sends bid requests on port 12339 and wins notification on port 12340.

Are the ports suppose to be different ? i'm new to all these. Any help appreciated.
Or if you can point me to a place to get help.
Many thanks !

from rtbkit.

EricRobert avatar EricRobert commented on July 27, 2024

Hi,

Is the error you're experiencing happens all the time or only once in a
while? I've seen this happen sometimes since we removed the call to close
the connection after every win notification. I haven't had the time to
investigate that yet. It is not a sign that there is a misconfiguration or
that you did something wrong.

So yet, all those ports are used. The master banker service uses redis
while the other 2 simulate an actual exchange that will likely enable you
to send both stream of data on different endpoints. Of course, you can
configure that to fit your needs.

Cheers,

Éric

On Sun, Aug 25, 2013 at 11:14 PM, ningji [email protected] wrote:

also from Demo-Stack page, when i run "redis-server ./sample.redis.conf",
the port is 6379.
While mock_exchange_runner sends bid requests on port 12339 and wins
notification on port 12340.

Are the ports suppose to be different ? i'm new to all these. Any help
appreciated.
Or if you can point me to a place to get help.
Many thanks !


Reply to this email directly or view it on GitHubhttps://github.com//issues/77#issuecomment-23241910
.

from rtbkit.

ningji avatar ningji commented on July 27, 2024

Hi Eric,
Glad to see someone get back to me.
This happens each time.
I have a fresh installed 64-bit ubuntu 12.04.Followed get-start page, all works fine.
For Demo-stack page, had problem with max file limit, i changed config and set it to 10032. After reboot, "ulimit -n" is 10032.then when i follow all steps, this problem shows up each time.
Let me know how i can help you to debug this, i do check e-mail each day, can pass you all the config/info in my pc.
Regards !
Date: Mon, 26 Aug 2013 07:39:06 -0700
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [rtbkit] error parsing http header: request header:6:1: too much data for content length: 831 > 209 for data "POST /win HTTP/1.1 (#77)

Hi,

Is the error you're experiencing happens all the time or only once in a

while? I've seen this happen sometimes since we removed the call to close

the connection after every win notification. I haven't had the time to

investigate that yet. It is not a sign that there is a misconfiguration or

that you did something wrong.

So yet, all those ports are used. The master banker service uses redis

while the other 2 simulate an actual exchange that will likely enable you

to send both stream of data on different endpoints. Of course, you can

configure that to fit your needs.

Cheers,

Éric

On Sun, Aug 25, 2013 at 11:14 PM, ningji [email protected] wrote:

also from Demo-Stack page, when i run "redis-server ./sample.redis.conf",

the port is 6379.

While mock_exchange_runner sends bid requests on port 12339 and wins

notification on port 12340.

Are the ports suppose to be different ? i'm new to all these. Any help

appreciated.

Or if you can point me to a place to get help.

Many thanks !

Reply to this email directly or view it on GitHubhttps://github.com//issues/77#issuecomment-23241910

.


Reply to this email directly or view it on GitHub.

from rtbkit.

EricRobert avatar EricRobert commented on July 27, 2024

Hi,

Ok, but when you say 'this problem shows up each time' you mean the logs
are filled with this error message or is it happening one or once in a
while? In the cases I've seen, this error is reported only once in a while
for some of the win message notifications. This means that one win message
is dropped and thus, it has only a minor impact on the actual functional
aspect of the stack.

Also, this seems to be directly related to the mock exchange since we're
not seeing this issue in production.

Cheers,

Éric

On Mon, Aug 26, 2013 at 10:57 AM, ningji [email protected] wrote:

Hi Eric,
Glad to see someone get back to me.
This happens each time.
I have a fresh installed 64-bit ubuntu 12.04.Followed get-start page, all
works fine.
For Demo-stack page, had problem with max file limit, i changed config and
set it to 10032. After reboot, "ulimit -n" is 10032.then when i follow all
steps, this problem shows up each time.
Let me know how i can help you to debug this, i do check e-mail each day,
can pass you all the config/info in my pc.
Regards !
Date: Mon, 26 Aug 2013 07:39:06 -0700
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [rtbkit] error parsing http header: request header:6:1: too
much data for content length: 831 > 209 for data "POST /win HTTP/1.1 (#77)

Hi,

Is the error you're experiencing happens all the time or only once in a

while? I've seen this happen sometimes since we removed the call to close

the connection after every win notification. I haven't had the time to

investigate that yet. It is not a sign that there is a misconfiguration or

that you did something wrong.

So yet, all those ports are used. The master banker service uses redis

while the other 2 simulate an actual exchange that will likely enable you

to send both stream of data on different endpoints. Of course, you can

configure that to fit your needs.

Cheers,

Éric

On Sun, Aug 25, 2013 at 11:14 PM, ningji [email protected] wrote:

also from Demo-Stack page, when i run "redis-server ./sample.redis.conf",

the port is 6379.

While mock_exchange_runner sends bid requests on port 12339 and wins

notification on port 12340.

Are the ports suppose to be different ? i'm new to all these. Any help

appreciated.

Or if you can point me to a place to get help.

Many thanks !

Reply to this email directly or view it on GitHub<
https://github.com/rtbkit/rtbkit/issues/77#issuecomment-23241910>

.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/77#issuecomment-23268209
.

from rtbkit.

ningji avatar ningji commented on July 27, 2024

Hi Eric,
right now i'm away from that pc, this is what i remember,

  1. each time i reboot the pc2. try to follow exactly in the demo stack page3. in this step, i never see the "wins coming back to exchange", this is the real problem.To add budget, simply do a POST request like so:curl http://localhost:9985/v1/accounts/hello/budget -d '{ "USD/1M": 123456789000 }'
    Note that this notation specify that the amount is in micro dollars. Thus, this is about 125$.When budget gets added, you should start to see wins coming back to the exchange:
  2. so i looked into the log folder, and found many lines of "error parsing http header" in the ad-server-some_numbers.log. When i get home, i can post more error messages.

"this seems to be directly related to the mock exchange", are you saying mock exchange is another package ?just started to learn all these.
Regards !

Date: Mon, 26 Aug 2013 08:33:52 -0700
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [rtbkit] error parsing http header: request header:6:1: too much data for content length: 831 > 209 for data "POST /win HTTP/1.1 (#77)

Hi,

Ok, but when you say 'this problem shows up each time' you mean the logs

are filled with this error message or is it happening one or once in a

while? In the cases I've seen, this error is reported only once in a while

for some of the win message notifications. This means that one win message

is dropped and thus, it has only a minor impact on the actual functional

aspect of the stack.

Also, this seems to be directly related to the mock exchange since we're

not seeing this issue in production.

Cheers,

Éric

On Mon, Aug 26, 2013 at 10:57 AM, ningji [email protected] wrote:

Hi Eric,

Glad to see someone get back to me.

This happens each time.

I have a fresh installed 64-bit ubuntu 12.04.Followed get-start page, all

works fine.

For Demo-stack page, had problem with max file limit, i changed config and

set it to 10032. After reboot, "ulimit -n" is 10032.then when i follow all

steps, this problem shows up each time.

Let me know how i can help you to debug this, i do check e-mail each day,

can pass you all the config/info in my pc.

Regards !

Date: Mon, 26 Aug 2013 07:39:06 -0700

From: [email protected]

To: [email protected]

CC: [email protected]

Subject: Re: [rtbkit] error parsing http header: request header:6:1: too

much data for content length: 831 > 209 for data "POST /win HTTP/1.1 (#77)

Hi,

Is the error you're experiencing happens all the time or only once in a

while? I've seen this happen sometimes since we removed the call to close

the connection after every win notification. I haven't had the time to

investigate that yet. It is not a sign that there is a misconfiguration or

that you did something wrong.

So yet, all those ports are used. The master banker service uses redis

while the other 2 simulate an actual exchange that will likely enable you

to send both stream of data on different endpoints. Of course, you can

configure that to fit your needs.

Cheers,

Éric

On Sun, Aug 25, 2013 at 11:14 PM, ningji [email protected] wrote:

also from Demo-Stack page, when i run "redis-server ./sample.redis.conf",

the port is 6379.

While mock_exchange_runner sends bid requests on port 12339 and wins

notification on port 12340.

Are the ports suppose to be different ? i'm new to all these. Any help

appreciated.

Or if you can point me to a place to get help.

Many thanks !

Reply to this email directly or view it on GitHub<

https://github.com/rtbkit/rtbkit/issues/77#issuecomment-23241910>

.

Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHubhttps://github.com//issues/77#issuecomment-23268209

.


Reply to this email directly or view it on GitHub.

from rtbkit.

ningji avatar ningji commented on July 27, 2024

from ad-server.log

{"account":[],"adSpotId":"1","auctionId":"1810308066","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.273034,"type":3,"uids":{"prov":"2328679620","xchg":"2715627626"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 216
Content-Type: application/json
Connection: Keep-Alive

{"account":["hello","world"],"adSpotId":"2","auctionId":"1810308066","bidTimestamp":0.0,"channels":[],"timestamp":1377567799.273072,"type":1,"uids":{"prov":"2328679620","xchg":"2715627626"},"winPrice":[97,"USD/1M"]}
POST /win HTTP/1.1
Content-Length: 210
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"2","auctionId":"1810308066","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.273103,"type":3,"uids":{"prov":"2328679620","xchg":"2715627626"},"winPrice":0}
"
POST /win HTTP/1.1
Content-Length: 210
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"1810308066","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.273034,"type":3,"uids":{"prov":"2328679620","xchg":"2715627626"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 216
Content-Type: application/json
Connection: Keep-Alive

{"account":["hello","world"],"adSpotId":"2","auctionId":"1810308066","bidTimestamp":0.0,"channels":[],"timestamp":1377567799.273072,"type":1,"uids":{"prov":"2328679620","xchg":"2715627626"},"winPrice":[97,"USD/1M"]}
POST /win HTTP/1.1
Content-Length: 210
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"2","auctionId":"1810308066","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.273103,"type":3,"uids":{"prov":"2328679620","xchg":"2715627626"},"winPrice":0}

problem parsing in state: 0x1b97420 of type RTBKIT::HttpAdServerConnectionHandler
error: handler input had exception request header:6:1: too much data for content length: 834 > 210 for data "POST /win HTTP/1.1
Content-Length: 210
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"1810308066","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.273034,"type":3,"uids":{"prov":"2328679620","xchg":"2715627626"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 216
Content-Type: application/json
Connection: Keep-Alive

{"account":["hello","world"],"adSpotId":"2","auctionId":"1810308066","bidTimestamp":0.0,"channels":[],"timestamp":1377567799.273072,"type":1,"uids":{"prov":"2328679620","xchg":"2715627626"},"winPrice":[97,"USD/1M"]}
POST /win HTTP/1.1
Content-Length: 210
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"2","auctionId":"1810308066","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.273103,"type":3,"uids":{"prov":"2328679620","xchg":"2715627626"},"winPrice":0}
"
got double packet: got content length 514 wanted 210

----------------- Exception thrown ------------------------
type: ML::Exception
pid: 2564; tid: 2639
what: request header:6:1: too much data for content length: 514 > 210 for data "POST /win HTTP/1.1
Content-Length: 210
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"3790828051","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.434643,"type":3,"uids":{"prov":"2838695184","xchg":"2422769549"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 205
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"3790828051","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567799.434763,"type":3,"uids":{"prov":"2838695184","xchg":"2422769549"},"winPrice":0}
"
stack:
00: 0x0x7f6c2c33cdf7 at __cxa_throw + 0x27 in build/x86_64/bin/libexception_hook.so + 0xdf7build/x86_64/bin/libexception_hook.so(__cxa_throw+0x27) [0x7f6c2c33cdf7]
01: 0x0x7f6c2a914dea at ML::Parse_Context::exception(std::string const&) const + 0xaa in build/x86_64/bin/libutils.so + 0x67deabuild/x86_64/bin/libutils.so(_ZNK2ML13Parse_Context9exceptionERKSs+0xaa) [0x7f6c2a914dea]
02: 0x0x7f6c2b79d147 at Datacratic::HttpHeader::parse(std::string const&) + 0xe77 in build/x86_64/bin/libservices.so + 0x80147build/x86_64/bin/libservices.so(_ZN10Datacratic10HttpHeader5parseERKSs+0xe77) [0x7f6c2b79d147]
03: 0x0x7f6c2b7856f4 at Datacratic::HttpConnectionHandler::handleData(std::string const&) + 0xa4 in build/x86_64/bin/libservices.so + 0x686f4build/x86_64/bin/libservices.so(_ZN10Datacratic21HttpConnectionHandler10handleDataERKSs+0xa4) [0x7f6c2b7856f4]
04: 0x0x7f6c2b78491d at Datacratic::PassiveConnectionHandler::handleInput() + 0x2fd in build/x86_64/bin/libservices.so + 0x6791dbuild/x86_64/bin/libservices.so(_ZN10Datacratic24PassiveConnectionHandler11handleInputEv+0x2fd) [0x7f6c2b78491d]
05: 0x0x7f6c2b775836 at Datacratic::TransportBase::handleInput() + 0xe6 in build/x86_64/bin/libservices.so + 0x58836build/x86_64/bin/libservices.so(_ZN10Datacratic13TransportBase11handleInputEv+0xe6) [0x7f6c2b775836]
06: 0x0x7f6c2b772677 at Datacratic::TransportBase::handleEvents() + 0x6b7 in build/x86_64/bin/libservices.so + 0x55677build/x86_64/bin/libservices.so(_ZN10Datacratic13TransportBase12handleEventsEv+0x6b7) [0x7f6c2b772677]
07: 0x0x7f6c2b778f64 at Datacratic::EndpointBase::handleEpollEvent(epoll_event&) + 0xb4 in build/x86_64/bin/libservices.so + 0x5bf64build/x86_64/bin/libservices.so(_ZN10Datacratic12EndpointBase16handleEpollEventER11epoll_event+0xb4) [0x7f6c2b778f64]
08: 0x0x7f6c2b79874b at Datacratic::Epoller::handleEvents(int, int, std::function<bool (epoll_event&)> const&, std::function<void ()> const&, std::function<void ()> const&) + 0x29b in build/x86_64/bin/libservices.so + 0x7b74bbuild/x86_64/bin/libservices.so(ZN10Datacratic7Epoller12handleEventsEiiRKSt8functionIFbR11epoll_eventEERKS1_IFvvEESB+0x29b) [0x7f6c2b79874b]
09: 0x0x7f6c2b77d2c4 at Datacratic::EndpointBase::runEventThread(int, int) + 0x314 in build/x86_64/bin/libservices.so + 0x602c4build/x86_64/bin/libservices.so(_ZN10Datacratic12EndpointBase14runEventThreadEii+0x314) [0x7f6c2b77d2c4]
10: 0x0x7f6c298fbb9d in /home/ningji/local/lib/libboost_thread.so.1.52.0 + 0x10b9d/home/ningji/local/lib/libboost_thread.so.1.52.0(+0x10b9d) [0x7f6c298fbb9d]
11: 0x0x7f6c2c546e9a in /lib/x86_64-linux-gnu/libpthread.so.0 + 0x7e9a/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a) [0x7f6c2c546e9a]
12: 0x0x7f6c2ac3fccd at clone + 0x6d in /lib/x86_64-linux-gnu/libc.so.6 + 0xf3ccd/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f6c2ac3fccd]

error parsing http header: request header:6:1: too much data for content length: 514 > 210 for data "POST /win HTTP/1.1
Content-Length: 210
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"3790828051","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.434643,"type":3,"uids":{"prov":"2838695184","xchg":"2422769549"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 205
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"3790828051","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567799.434763,"type":3,"uids":{"prov":"2838695184","xchg":"2422769549"},"winPrice":0}
"
POST /win HTTP/1.1
Content-Length: 210
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"3790828051","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.434643,"type":3,"uids":{"prov":"2838695184","xchg":"2422769549"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 205
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"3790828051","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567799.434763,"type":3,"uids":{"prov":"2838695184","xchg":"2422769549"},"winPrice":0}

problem parsing in state: 0x1be3560 of type RTBKIT::HttpAdServerConnectionHandler
error: handler input had exception request header:6:1: too much data for content length: 514 > 210 for data "POST /win HTTP/1.1
Content-Length: 210
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"3790828051","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.434643,"type":3,"uids":{"prov":"2838695184","xchg":"2422769549"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 205
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"3790828051","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567799.434763,"type":3,"uids":{"prov":"2838695184","xchg":"2422769549"},"winPrice":0}
"
got double packet: got content length 510 wanted 208

----------------- Exception thrown ------------------------
type: ML::Exception
pid: 2564; tid: 2640
what: request header:6:1: too much data for content length: 510 > 208 for data "POST /win HTTP/1.1
Content-Length: 208
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"3459809383","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.468994,"type":3,"uids":{"prov":"760416187","xchg":"518023840"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 203
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"3459809383","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567799.469027,"type":3,"uids":{"prov":"760416187","xchg":"518023840"},"winPrice":0}
"
stack:
00: 0x0x7f6c2c33cdf7 at __cxa_throw + 0x27 in build/x86_64/bin/libexception_hook.so + 0xdf7build/x86_64/bin/libexception_hook.so(__cxa_throw+0x27) [0x7f6c2c33cdf7]
01: 0x0x7f6c2a914dea at ML::Parse_Context::exception(std::string const&) const + 0xaa in build/x86_64/bin/libutils.so + 0x67deabuild/x86_64/bin/libutils.so(_ZNK2ML13Parse_Context9exceptionERKSs+0xaa) [0x7f6c2a914dea]
02: 0x0x7f6c2b79d147 at Datacratic::HttpHeader::parse(std::string const&) + 0xe77 in build/x86_64/bin/libservices.so + 0x80147build/x86_64/bin/libservices.so(_ZN10Datacratic10HttpHeader5parseERKSs+0xe77) [0x7f6c2b79d147]
03: 0x0x7f6c2b7856f4 at Datacratic::HttpConnectionHandler::handleData(std::string const&) + 0xa4 in build/x86_64/bin/libservices.so + 0x686f4build/x86_64/bin/libservices.so(_ZN10Datacratic21HttpConnectionHandler10handleDataERKSs+0xa4) [0x7f6c2b7856f4]
04: 0x0x7f6c2b78491d at Datacratic::PassiveConnectionHandler::handleInput() + 0x2fd in build/x86_64/bin/libservices.so + 0x6791dbuild/x86_64/bin/libservices.so(_ZN10Datacratic24PassiveConnectionHandler11handleInputEv+0x2fd) [0x7f6c2b78491d]
05: 0x0x7f6c2b775836 at Datacratic::TransportBase::handleInput() + 0xe6 in build/x86_64/bin/libservices.so + 0x58836build/x86_64/bin/libservices.so(_ZN10Datacratic13TransportBase11handleInputEv+0xe6) [0x7f6c2b775836]
06: 0x0x7f6c2b772677 at Datacratic::TransportBase::handleEvents() + 0x6b7 in build/x86_64/bin/libservices.so + 0x55677build/x86_64/bin/libservices.so(_ZN10Datacratic13TransportBase12handleEventsEv+0x6b7) [0x7f6c2b772677]
07: 0x0x7f6c2b778f64 at Datacratic::EndpointBase::handleEpollEvent(epoll_event&) + 0xb4 in build/x86_64/bin/libservices.so + 0x5bf64build/x86_64/bin/libservices.so(_ZN10Datacratic12EndpointBase16handleEpollEventER11epoll_event+0xb4) [0x7f6c2b778f64]
08: 0x0x7f6c2b79874b at Datacratic::Epoller::handleEvents(int, int, std::function<bool (epoll_event&)> const&, std::function<void ()> const&, std::function<void ()> const&) + 0x29b in build/x86_64/bin/libservices.so + 0x7b74bbuild/x86_64/bin/libservices.so(ZN10Datacratic7Epoller12handleEventsEiiRKSt8functionIFbR11epoll_eventEERKS1_IFvvEESB+0x29b) [0x7f6c2b79874b]
09: 0x0x7f6c2b77d1c0 at Datacratic::EndpointBase::runEventThread(int, int) + 0x210 in build/x86_64/bin/libservices.so + 0x601c0build/x86_64/bin/libservices.so(_ZN10Datacratic12EndpointBase14runEventThreadEii+0x210) [0x7f6c2b77d1c0]
10: 0x0x7f6c298fbb9d in /home/ningji/local/lib/libboost_thread.so.1.52.0 + 0x10b9d/home/ningji/local/lib/libboost_thread.so.1.52.0(+0x10b9d) [0x7f6c298fbb9d]
11: 0x0x7f6c2c546e9a in /lib/x86_64-linux-gnu/libpthread.so.0 + 0x7e9a/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a) [0x7f6c2c546e9a]
12: 0x0x7f6c2ac3fccd at clone + 0x6d in /lib/x86_64-linux-gnu/libc.so.6 + 0xf3ccd/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f6c2ac3fccd]

error parsing http header: request header:6:1: too much data for content length: 510 > 208 for data "POST /win HTTP/1.1
Content-Length: 208
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"3459809383","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.468994,"type":3,"uids":{"prov":"760416187","xchg":"518023840"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 203
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"3459809383","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567799.469027,"type":3,"uids":{"prov":"760416187","xchg":"518023840"},"winPrice":0}
"
POST /win HTTP/1.1
Content-Length: 208
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"3459809383","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.468994,"type":3,"uids":{"prov":"760416187","xchg":"518023840"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 203
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"3459809383","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567799.469027,"type":3,"uids":{"prov":"760416187","xchg":"518023840"},"winPrice":0}

problem parsing in state: 0x1b97420 of type RTBKIT::HttpAdServerConnectionHandler
error: handler input had exception request header:6:1: too much data for content length: 510 > 208 for data "POST /win HTTP/1.1
Content-Length: 208
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"3459809383","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.468994,"type":3,"uids":{"prov":"760416187","xchg":"518023840"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 203
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"3459809383","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567799.469027,"type":3,"uids":{"prov":"760416187","xchg":"518023840"},"winPrice":0}
"
got double packet: got content length 512 wanted 209

----------------- Exception thrown ------------------------
type: ML::Exception
pid: 2564; tid: 2637
what: request header:6:1: too much data for content length: 512 > 209 for data "POST /win HTTP/1.1
Content-Length: 209
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"170137231","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.744327,"type":3,"uids":{"prov":"1044214035","xchg":"3410452049"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 204
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"170137231","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567799.744361,"type":3,"uids":{"prov":"1044214035","xchg":"3410452049"},"winPrice":0}
"
stack:
00: 0x0x7f6c2c33cdf7 at __cxa_throw + 0x27 in build/x86_64/bin/libexception_hook.so + 0xdf7build/x86_64/bin/libexception_hook.so(__cxa_throw+0x27) [0x7f6c2c33cdf7]
01: 0x0x7f6c2a914dea at ML::Parse_Context::exception(std::string const&) const + 0xaa in build/x86_64/bin/libutils.so + 0x67deabuild/x86_64/bin/libutils.so(_ZNK2ML13Parse_Context9exceptionERKSs+0xaa) [0x7f6c2a914dea]
02: 0x0x7f6c2b79d147 at Datacratic::HttpHeader::parse(std::string const&) + 0xe77 in build/x86_64/bin/libservices.so + 0x80147build/x86_64/bin/libservices.so(_ZN10Datacratic10HttpHeader5parseERKSs+0xe77) [0x7f6c2b79d147]
03: 0x0x7f6c2b7856f4 at Datacratic::HttpConnectionHandler::handleData(std::string const&) + 0xa4 in build/x86_64/bin/libservices.so + 0x686f4build/x86_64/bin/libservices.so(_ZN10Datacratic21HttpConnectionHandler10handleDataERKSs+0xa4) [0x7f6c2b7856f4]
04: 0x0x7f6c2b78491d at Datacratic::PassiveConnectionHandler::handleInput() + 0x2fd in build/x86_64/bin/libservices.so + 0x6791dbuild/x86_64/bin/libservices.so(_ZN10Datacratic24PassiveConnectionHandler11handleInputEv+0x2fd) [0x7f6c2b78491d]
05: 0x0x7f6c2b775836 at Datacratic::TransportBase::handleInput() + 0xe6 in build/x86_64/bin/libservices.so + 0x58836build/x86_64/bin/libservices.so(_ZN10Datacratic13TransportBase11handleInputEv+0xe6) [0x7f6c2b775836]
06: 0x0x7f6c2b772677 at Datacratic::TransportBase::handleEvents() + 0x6b7 in build/x86_64/bin/libservices.so + 0x55677build/x86_64/bin/libservices.so(_ZN10Datacratic13TransportBase12handleEventsEv+0x6b7) [0x7f6c2b772677]
07: 0x0x7f6c2b778f64 at Datacratic::EndpointBase::handleEpollEvent(epoll_event&) + 0xb4 in build/x86_64/bin/libservices.so + 0x5bf64build/x86_64/bin/libservices.so(_ZN10Datacratic12EndpointBase16handleEpollEventER11epoll_event+0xb4) [0x7f6c2b778f64]
08: 0x0x7f6c2b79874b at Datacratic::Epoller::handleEvents(int, int, std::function<bool (epoll_event&)> const&, std::function<void ()> const&, std::function<void ()> const&) + 0x29b in build/x86_64/bin/libservices.so + 0x7b74bbuild/x86_64/bin/libservices.so(ZN10Datacratic7Epoller12handleEventsEiiRKSt8functionIFbR11epoll_eventEERKS1_IFvvEESB+0x29b) [0x7f6c2b79874b]
09: 0x0x7f6c2b77d1c0 at Datacratic::EndpointBase::runEventThread(int, int) + 0x210 in build/x86_64/bin/libservices.so + 0x601c0build/x86_64/bin/libservices.so(_ZN10Datacratic12EndpointBase14runEventThreadEii+0x210) [0x7f6c2b77d1c0]
10: 0x0x7f6c298fbb9d in /home/ningji/local/lib/libboost_thread.so.1.52.0 + 0x10b9d/home/ningji/local/lib/libboost_thread.so.1.52.0(+0x10b9d) [0x7f6c298fbb9d]
11: 0x0x7f6c2c546e9a in /lib/x86_64-linux-gnu/libpthread.so.0 + 0x7e9a/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a) [0x7f6c2c546e9a]
12: 0x0x7f6c2ac3fccd at clone + 0x6d in /lib/x86_64-linux-gnu/libc.so.6 + 0xf3ccd/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f6c2ac3fccd]

error parsing http header: request header:6:1: too much data for content length: 512 > 209 for data "POST /win HTTP/1.1
Content-Length: 209
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"170137231","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.744327,"type":3,"uids":{"prov":"1044214035","xchg":"3410452049"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 204
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"170137231","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567799.744361,"type":3,"uids":{"prov":"1044214035","xchg":"3410452049"},"winPrice":0}
"
POST /win HTTP/1.1
Content-Length: 209
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"170137231","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.744327,"type":3,"uids":{"prov":"1044214035","xchg":"3410452049"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 204
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"170137231","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567799.744361,"type":3,"uids":{"prov":"1044214035","xchg":"3410452049"},"winPrice":0}

problem parsing in state: 0x1be37e0 of type RTBKIT::HttpAdServerConnectionHandler
error: handler input had exception request header:6:1: too much data for content length: 512 > 209 for data "POST /win HTTP/1.1
Content-Length: 209
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"170137231","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.744327,"type":3,"uids":{"prov":"1044214035","xchg":"3410452049"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 204
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"170137231","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567799.744361,"type":3,"uids":{"prov":"1044214035","xchg":"3410452049"},"winPrice":0}
"
got double packet: got content length 508 wanted 207

----------------- Exception thrown ------------------------
type: ML::Exception
pid: 2564; tid: 2637
what: request header:6:1: too much data for content length: 508 > 207 for data "POST /win HTTP/1.1
Content-Length: 207
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"441384977","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.817060,"type":3,"uids":{"prov":"611500373","xchg":"366788423"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 202
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"441384977","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567799.817094,"type":3,"uids":{"prov":"611500373","xchg":"366788423"},"winPrice":0}
"
stack:
00: 0x0x7f6c2c33cdf7 at __cxa_throw + 0x27 in build/x86_64/bin/libexception_hook.so + 0xdf7build/x86_64/bin/libexception_hook.so(__cxa_throw+0x27) [0x7f6c2c33cdf7]
01: 0x0x7f6c2a914dea at ML::Parse_Context::exception(std::string const&) const + 0xaa in build/x86_64/bin/libutils.so + 0x67deabuild/x86_64/bin/libutils.so(_ZNK2ML13Parse_Context9exceptionERKSs+0xaa) [0x7f6c2a914dea]
02: 0x0x7f6c2b79d147 at Datacratic::HttpHeader::parse(std::string const&) + 0xe77 in build/x86_64/bin/libservices.so + 0x80147build/x86_64/bin/libservices.so(_ZN10Datacratic10HttpHeader5parseERKSs+0xe77) [0x7f6c2b79d147]
03: 0x0x7f6c2b7856f4 at Datacratic::HttpConnectionHandler::handleData(std::string const&) + 0xa4 in build/x86_64/bin/libservices.so + 0x686f4build/x86_64/bin/libservices.so(_ZN10Datacratic21HttpConnectionHandler10handleDataERKSs+0xa4) [0x7f6c2b7856f4]
04: 0x0x7f6c2b78491d at Datacratic::PassiveConnectionHandler::handleInput() + 0x2fd in build/x86_64/bin/libservices.so + 0x6791dbuild/x86_64/bin/libservices.so(_ZN10Datacratic24PassiveConnectionHandler11handleInputEv+0x2fd) [0x7f6c2b78491d]
05: 0x0x7f6c2b775836 at Datacratic::TransportBase::handleInput() + 0xe6 in build/x86_64/bin/libservices.so + 0x58836build/x86_64/bin/libservices.so(_ZN10Datacratic13TransportBase11handleInputEv+0xe6) [0x7f6c2b775836]
06: 0x0x7f6c2b772677 at Datacratic::TransportBase::handleEvents() + 0x6b7 in build/x86_64/bin/libservices.so + 0x55677build/x86_64/bin/libservices.so(_ZN10Datacratic13TransportBase12handleEventsEv+0x6b7) [0x7f6c2b772677]
07: 0x0x7f6c2b778f64 at Datacratic::EndpointBase::handleEpollEvent(epoll_event&) + 0xb4 in build/x86_64/bin/libservices.so + 0x5bf64build/x86_64/bin/libservices.so(_ZN10Datacratic12EndpointBase16handleEpollEventER11epoll_event+0xb4) [0x7f6c2b778f64]
08: 0x0x7f6c2b79874b at Datacratic::Epoller::handleEvents(int, int, std::function<bool (epoll_event&)> const&, std::function<void ()> const&, std::function<void ()> const&) + 0x29b in build/x86_64/bin/libservices.so + 0x7b74bbuild/x86_64/bin/libservices.so(ZN10Datacratic7Epoller12handleEventsEiiRKSt8functionIFbR11epoll_eventEERKS1_IFvvEESB+0x29b) [0x7f6c2b79874b]
09: 0x0x7f6c2b77d1c0 at Datacratic::EndpointBase::runEventThread(int, int) + 0x210 in build/x86_64/bin/libservices.so + 0x601c0build/x86_64/bin/libservices.so(_ZN10Datacratic12EndpointBase14runEventThreadEii+0x210) [0x7f6c2b77d1c0]
10: 0x0x7f6c298fbb9d in /home/ningji/local/lib/libboost_thread.so.1.52.0 + 0x10b9d/home/ningji/local/lib/libboost_thread.so.1.52.0(+0x10b9d) [0x7f6c298fbb9d]
11: 0x0x7f6c2c546e9a in /lib/x86_64-linux-gnu/libpthread.so.0 + 0x7e9a/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a) [0x7f6c2c546e9a]
12: 0x0x7f6c2ac3fccd at clone + 0x6d in /lib/x86_64-linux-gnu/libc.so.6 + 0xf3ccd/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f6c2ac3fccd]

error parsing http header: request header:6:1: too much data for content length: 508 > 207 for data "POST /win HTTP/1.1
Content-Length: 207
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"441384977","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.817060,"type":3,"uids":{"prov":"611500373","xchg":"366788423"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 202
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"441384977","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567799.817094,"type":3,"uids":{"prov":"611500373","xchg":"366788423"},"winPrice":0}
"
POST /win HTTP/1.1
Content-Length: 207
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"441384977","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.817060,"type":3,"uids":{"prov":"611500373","xchg":"366788423"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 202
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"441384977","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567799.817094,"type":3,"uids":{"prov":"611500373","xchg":"366788423"},"winPrice":0}

problem parsing in state: 0x1be37e0 of type RTBKIT::HttpAdServerConnectionHandler
error: handler input had exception request header:6:1: too much data for content length: 508 > 207 for data "POST /win HTTP/1.1
Content-Length: 207
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"441384977","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.817060,"type":3,"uids":{"prov":"611500373","xchg":"366788423"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 202
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"441384977","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567799.817094,"type":3,"uids":{"prov":"611500373","xchg":"366788423"},"winPrice":0}
"
got double packet: got content length 514 wanted 210

----------------- Exception thrown ------------------------
type: ML::Exception
pid: 2564; tid: 2639
what: request header:6:1: too much data for content length: 514 > 210 for data "POST /win HTTP/1.1
Content-Length: 210
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"2631584757","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.983578,"type":3,"uids":{"prov":"3910005749","xchg":"1559636186"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 205
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"2631584757","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567799.983611,"type":3,"uids":{"prov":"3910005749","xchg":"1559636186"},"winPrice":0}
"
stack:
00: 0x0x7f6c2c33cdf7 at __cxa_throw + 0x27 in build/x86_64/bin/libexception_hook.so + 0xdf7build/x86_64/bin/libexception_hook.so(__cxa_throw+0x27) [0x7f6c2c33cdf7]
01: 0x0x7f6c2a914dea at ML::Parse_Context::exception(std::string const&) const + 0xaa in build/x86_64/bin/libutils.so + 0x67deabuild/x86_64/bin/libutils.so(_ZNK2ML13Parse_Context9exceptionERKSs+0xaa) [0x7f6c2a914dea]
02: 0x0x7f6c2b79d147 at Datacratic::HttpHeader::parse(std::string const&) + 0xe77 in build/x86_64/bin/libservices.so + 0x80147build/x86_64/bin/libservices.so(_ZN10Datacratic10HttpHeader5parseERKSs+0xe77) [0x7f6c2b79d147]
03: 0x0x7f6c2b7856f4 at Datacratic::HttpConnectionHandler::handleData(std::string const&) + 0xa4 in build/x86_64/bin/libservices.so + 0x686f4build/x86_64/bin/libservices.so(_ZN10Datacratic21HttpConnectionHandler10handleDataERKSs+0xa4) [0x7f6c2b7856f4]
04: 0x0x7f6c2b78491d at Datacratic::PassiveConnectionHandler::handleInput() + 0x2fd in build/x86_64/bin/libservices.so + 0x6791dbuild/x86_64/bin/libservices.so(_ZN10Datacratic24PassiveConnectionHandler11handleInputEv+0x2fd) [0x7f6c2b78491d]
05: 0x0x7f6c2b775836 at Datacratic::TransportBase::handleInput() + 0xe6 in build/x86_64/bin/libservices.so + 0x58836build/x86_64/bin/libservices.so(_ZN10Datacratic13TransportBase11handleInputEv+0xe6) [0x7f6c2b775836]
06: 0x0x7f6c2b772677 at Datacratic::TransportBase::handleEvents() + 0x6b7 in build/x86_64/bin/libservices.so + 0x55677build/x86_64/bin/libservices.so(_ZN10Datacratic13TransportBase12handleEventsEv+0x6b7) [0x7f6c2b772677]
07: 0x0x7f6c2b778f64 at Datacratic::EndpointBase::handleEpollEvent(epoll_event&) + 0xb4 in build/x86_64/bin/libservices.so + 0x5bf64build/x86_64/bin/libservices.so(_ZN10Datacratic12EndpointBase16handleEpollEventER11epoll_event+0xb4) [0x7f6c2b778f64]
08: 0x0x7f6c2b79874b at Datacratic::Epoller::handleEvents(int, int, std::function<bool (epoll_event&)> const&, std::function<void ()> const&, std::function<void ()> const&) + 0x29b in build/x86_64/bin/libservices.so + 0x7b74bbuild/x86_64/bin/libservices.so(ZN10Datacratic7Epoller12handleEventsEiiRKSt8functionIFbR11epoll_eventEERKS1_IFvvEESB+0x29b) [0x7f6c2b79874b]
09: 0x0x7f6c2b77d1c0 at Datacratic::EndpointBase::runEventThread(int, int) + 0x210 in build/x86_64/bin/libservices.so + 0x601c0build/x86_64/bin/libservices.so(_ZN10Datacratic12EndpointBase14runEventThreadEii+0x210) [0x7f6c2b77d1c0]
10: 0x0x7f6c298fbb9d in /home/ningji/local/lib/libboost_thread.so.1.52.0 + 0x10b9d/home/ningji/local/lib/libboost_thread.so.1.52.0(+0x10b9d) [0x7f6c298fbb9d]
11: 0x0x7f6c2c546e9a in /lib/x86_64-linux-gnu/libpthread.so.0 + 0x7e9a/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a) [0x7f6c2c546e9a]
12: 0x0x7f6c2ac3fccd at clone + 0x6d in /lib/x86_64-linux-gnu/libc.so.6 + 0xf3ccd/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f6c2ac3fccd]

error parsing http header: request header:6:1: too much data for content length: 514 > 210 for data "POST /win HTTP/1.1
Content-Length: 210
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"2631584757","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.983578,"type":3,"uids":{"prov":"3910005749","xchg":"1559636186"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 205
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"2631584757","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567799.983611,"type":3,"uids":{"prov":"3910005749","xchg":"1559636186"},"winPrice":0}
"
POST /win HTTP/1.1
Content-Length: 210
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"2631584757","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.983578,"type":3,"uids":{"prov":"3910005749","xchg":"1559636186"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 205
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"2631584757","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567799.983611,"type":3,"uids":{"prov":"3910005749","xchg":"1559636186"},"winPrice":0}

problem parsing in state: 0x1be3560 of type RTBKIT::HttpAdServerConnectionHandler
error: handler input had exception request header:6:1: too much data for content length: 514 > 210 for data "POST /win HTTP/1.1
Content-Length: 210
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"2631584757","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567799.983578,"type":3,"uids":{"prov":"3910005749","xchg":"1559636186"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 205
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"1","auctionId":"2631584757","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567799.983611,"type":3,"uids":{"prov":"3910005749","xchg":"1559636186"},"winPrice":0}
"
got double packet: got content length 514 wanted 210

----------------- Exception thrown ------------------------
type: ML::Exception
pid: 2564; tid: 2638
what: request header:6:1: too much data for content length: 514 > 210 for data "POST /win HTTP/1.1
Content-Length: 210
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"2","auctionId":"2047960141","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567800.159476,"type":3,"uids":{"prov":"1862754491","xchg":"1037645438"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 205
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"2","auctionId":"2047960141","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567800.159509,"type":3,"uids":{"prov":"1862754491","xchg":"1037645438"},"winPrice":0}
"
stack:
00: 0x0x7f6c2c33cdf7 at __cxa_throw + 0x27 in build/x86_64/bin/libexception_hook.so + 0xdf7build/x86_64/bin/libexception_hook.so(__cxa_throw+0x27) [0x7f6c2c33cdf7]
01: 0x0x7f6c2a914dea at ML::Parse_Context::exception(std::string const&) const + 0xaa in build/x86_64/bin/libutils.so + 0x67deabuild/x86_64/bin/libutils.so(_ZNK2ML13Parse_Context9exceptionERKSs+0xaa) [0x7f6c2a914dea]
02: 0x0x7f6c2b79d147 at Datacratic::HttpHeader::parse(std::string const&) + 0xe77 in build/x86_64/bin/libservices.so + 0x80147build/x86_64/bin/libservices.so(_ZN10Datacratic10HttpHeader5parseERKSs+0xe77) [0x7f6c2b79d147]
03: 0x0x7f6c2b7856f4 at Datacratic::HttpConnectionHandler::handleData(std::string const&) + 0xa4 in build/x86_64/bin/libservices.so + 0x686f4build/x86_64/bin/libservices.so(_ZN10Datacratic21HttpConnectionHandler10handleDataERKSs+0xa4) [0x7f6c2b7856f4]
04: 0x0x7f6c2b78491d at Datacratic::PassiveConnectionHandler::handleInput() + 0x2fd in build/x86_64/bin/libservices.so + 0x6791dbuild/x86_64/bin/libservices.so(_ZN10Datacratic24PassiveConnectionHandler11handleInputEv+0x2fd) [0x7f6c2b78491d]
05: 0x0x7f6c2b775836 at Datacratic::TransportBase::handleInput() + 0xe6 in build/x86_64/bin/libservices.so + 0x58836build/x86_64/bin/libservices.so(_ZN10Datacratic13TransportBase11handleInputEv+0xe6) [0x7f6c2b775836]
06: 0x0x7f6c2b772677 at Datacratic::TransportBase::handleEvents() + 0x6b7 in build/x86_64/bin/libservices.so + 0x55677build/x86_64/bin/libservices.so(_ZN10Datacratic13TransportBase12handleEventsEv+0x6b7) [0x7f6c2b772677]
07: 0x0x7f6c2b778f64 at Datacratic::EndpointBase::handleEpollEvent(epoll_event&) + 0xb4 in build/x86_64/bin/libservices.so + 0x5bf64build/x86_64/bin/libservices.so(_ZN10Datacratic12EndpointBase16handleEpollEventER11epoll_event+0xb4) [0x7f6c2b778f64]
08: 0x0x7f6c2b79874b at Datacratic::Epoller::handleEvents(int, int, std::function<bool (epoll_event&)> const&, std::function<void ()> const&, std::function<void ()> const&) + 0x29b in build/x86_64/bin/libservices.so + 0x7b74bbuild/x86_64/bin/libservices.so(ZN10Datacratic7Epoller12handleEventsEiiRKSt8functionIFbR11epoll_eventEERKS1_IFvvEESB+0x29b) [0x7f6c2b79874b]
09: 0x0x7f6c2b77d1c0 at Datacratic::EndpointBase::runEventThread(int, int) + 0x210 in build/x86_64/bin/libservices.so + 0x601c0build/x86_64/bin/libservices.so(_ZN10Datacratic12EndpointBase14runEventThreadEii+0x210) [0x7f6c2b77d1c0]
10: 0x0x7f6c298fbb9d in /home/ningji/local/lib/libboost_thread.so.1.52.0 + 0x10b9d/home/ningji/local/lib/libboost_thread.so.1.52.0(+0x10b9d) [0x7f6c298fbb9d]
11: 0x0x7f6c2c546e9a in /lib/x86_64-linux-gnu/libpthread.so.0 + 0x7e9a/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a) [0x7f6c2c546e9a]
12: 0x0x7f6c2ac3fccd at clone + 0x6d in /lib/x86_64-linux-gnu/libc.so.6 + 0xf3ccd/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f6c2ac3fccd]

error parsing http header: request header:6:1: too much data for content length: 514 > 210 for data "POST /win HTTP/1.1
Content-Length: 210
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"2","auctionId":"2047960141","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567800.159476,"type":3,"uids":{"prov":"1862754491","xchg":"1037645438"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 205
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"2","auctionId":"2047960141","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567800.159509,"type":3,"uids":{"prov":"1862754491","xchg":"1037645438"},"winPrice":0}
"
POST /win HTTP/1.1
Content-Length: 210
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"2","auctionId":"2047960141","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567800.159476,"type":3,"uids":{"prov":"1862754491","xchg":"1037645438"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 205
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"2","auctionId":"2047960141","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567800.159509,"type":3,"uids":{"prov":"1862754491","xchg":"1037645438"},"winPrice":0}

problem parsing in state: 0x1b97e20 of type RTBKIT::HttpAdServerConnectionHandler
error: handler input had exception request header:6:1: too much data for content length: 514 > 210 for data "POST /win HTTP/1.1
Content-Length: 210
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"2","auctionId":"2047960141","bidTimestamp":0.0,"channels":[],"label":"IMPRESSION","timestamp":1377567800.159476,"type":3,"uids":{"prov":"1862754491","xchg":"1037645438"},"winPrice":0}
POST /win HTTP/1.1
Content-Length: 205
Content-Type: application/json
Connection: Keep-Alive

{"account":[],"adSpotId":"2","auctionId":"2047960141","bidTimestamp":0.0,"channels":[],"label":"CLICK","timestamp":1377567800.159509,"type":3,"uids":{"prov":"1862754491","xchg":"1037645438"},"winPrice":0}
"

from rtbkit.

jeremybarnes avatar jeremybarnes commented on July 27, 2024

I'm not sure, but what may be happening here is that there is more data in the packet than the Content-Length indicates.

I have seen this before when a single connection to the ad server was shared between multiple threads.

To send two different POSTs on the one connection, what should happen is

POST 1
wait for response from server
POST 2
wait for response from server

What appears to be happening is

POST 1
POST 2 --> BOOM (two posts received where one was expected)
wait for response from server
wait for response from server

from rtbkit.

ningji avatar ningji commented on July 27, 2024

anyone else followed the Demo-Stack page and made it work ? if so can you tell me the steps you did ? thanks !

from rtbkit.

EricRobert avatar EricRobert commented on July 27, 2024

Fixed by a3ae224

from rtbkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.