joedevivo / chatterbox

HTTP/2 Server for Erlang. Boy, that guy was a real chatterbox waddn't he? I didn't think he was ever going to stop with the story.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Message: a HEADERS frame cannot appear in the middle of a stream

abhilashra opened this issue · comments

I am getting above error, how to fix the above issue.

I am using grpcbox.

And by payload is of below size

{ok,#{payload =>
          {route_groups,#{routes =>
                              [#{info =>
                                     #{account_id => 1755856,
                                       ani_loc_dc => "1201555",
                                       ani_loc_id => 7174,fr_prefix => "1",
                                       fr_rand => 25,fr_route_id => 2301749,
                                       lb_group => "us-east-1",
                                       location_dc => "1973499",
                                       location_id => 138453,noa => 'INT',
                                       partition_id => 38077,prefix => "+",
                                       rds =>
                                           "BET_XXXXX_cc1fb83777e9de5e267afff8fe26885e815e18aa",
                                       route_type => 'CFR',
                                       router => "10.252.132.33",
                                       router_id => "v2.5.cc9bfbc-mod",
                                       sip_rtg_type => 'PROXY',
                                       stirshaken => 'US_CC_orif',
                                       switch_id => 108,utc => 1710259275},
                                 route =>
                                     [#{account_id => 1729502,
                                        addr => ["10.71.17.4:5060"],
                                        dtg => undefined,index => 1,
                                        switch_id => 167,tns => "6651",
                                        trunk_assign_id => 78389},
                                      #{account_id => 1729502,
                                        addr =>
                                            ["10.66.100.9:5130",
                                             "10.71.100.9:5130"],
                                        dtg => "nphoaxsboliv_y",index => 2,
                                        switch_id => 155,tns => "1274",
                                        trunk_assign_id => 80266}]}]}},
      transaction_id => 0}