Giter VIP home page Giter VIP logo

kotlin's People

Contributors

asarkar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kotlin's Issues

getting truncated response from netty server to client

I cloned the repo and run the netty server locally. works fine.
I changed to host to qa.env.comp.com
This is our backend server which responds with Json payload as follows

GET https://qa.env.comp.com/data/services/account/5670, will return

{
  "id": 567
  "username": "Bob43"
  "firstname" : "bob"
  "lastname: "smith"
}

I started the server as follows

java -jar proxy/build/libs/proxy.jar -h qa.env.comp.com -p 443

Then when I hit localhost:8080/data/services/account/5670, I see the request being made
but the response seems to be truncated. The hex from the logs corresponds to open parenthesis - (

2019-04-03 18:52:28.290 [nioEventLoopGroup-3-2] [DEBUG] o.a.k.n.Slf4jLoggingHandler - [id: 0x38eec1a5, L:/10.18.26.20:53876 - R:qa.env.comp.com/123.34.56.2:443] FLUSH
2019-04-03 18:52:28.332 [nioEventLoopGroup-3-2] [DEBUG] o.a.k.n.Slf4jLoggingHandler - [id: 0x38eec1a5, L:/10.18.26.20:53876 - R:qa.env.comp.com/123.34.56.2:443] READ: 7B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 15 00 00 00 02 02 28                            |......(         |
+--------+-------------------------------------------------+----------------+
2019-04-03 18:52:28.332 [nioEventLoopGroup-3-2] [DEBUG] o.a.k.n.Slf4jLoggingHandler - [id: 0x38eec1a5, L:/10.18.26.20:53876 - R:qa.env.comp.com/123.34.56.2:443] READ COMPLETE
2019-04-03 18:52:28.333 [nioEventLoopGroup-3-2] [DEBUG] o.a.k.n.Slf4jLoggingHandler - [id: 0x38eec1a5, L:/10.18.26.20:53876 - R:qa.env.comp.com/123.34.56.2:443] READ COMPLETE
2019-04-03 18:52:28.333 [nioEventLoopGroup-3-2] [INFO ] o.a.k.n.Slf4jLoggingHandler - [id: 0x38eec1a5, L:/10.18.26.20:53876 ! R:qa.env.comp.com/123.34.56.2:443] INACTIVE
2019-04-03 18:52:28.333 [nioEventLoopGroup-3-2] [INFO ] o.a.k.n.Slf4jLoggingHandler - [id: 0x38eec1a5, L:/10.18.26.20:53876 ! R:qa.env.comp.com/123.34.56.2:443] CLOSE
2019-04-03 18:52:28.333 [nioEventLoopGroup-3-2] [INFO ] o.a.k.n.Slf4jLoggingHandler - [id: 0x38eec1a5, L:/10.18.26.20:53876 ! R:qa.env.comp.com/123.34.56.2:443] UNREGISTERED

Any help on how to fix this?

Thank you very much

P.S the only change I did was to increase HttpObjectAggregator(50000, true)

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.