opendiffy / diffy

Other
1.25k stars 142 forks source link

Return(Response("HTTP/1.1 Status(400)")) #12

Closed senthillkumar closed 5 years ago

senthillkumar commented 5 years ago

@puneetkhanduri,

I have been getting HTTP status code (400) for our application.

Logs: 09:26:46.165 [finagle/netty4-18] INFO ai.diffy.lifter.HttpLifter - Return(Response("HTTP/1.1 Status(400)")) 09:26:46.165 [finagle/netty4-18] INFO ai.diffy.lifter.HttpLifter - Return(Response("HTTP/1.1 Status(400)")) 09:26:46.165 [finagle/netty4-18] INFO ai.diffy.lifter.HttpLifter - Return(Response("HTTP/1.1 Status(400)"))

Command: java -jar diffy-server.jar -master.primary=prod.XXXXXX.com:443 -master.secondary=prod.xxxxxxx.com:443 -candidate=feature.xxxxxx.com:443 -service.protocol=https -serviceName=prod -proxy.port=:55545 -admin.port=:55546 -allowHttpSideEffects=true -https.port=:55547 -rootUrl=xxx.xxxxxx.com:55547 -log.append=true

Curl -l "http://xxx.xxxxxx.com:55545/request"

Request not hit to our servers (candidate,primary and secondary).

senthillkumar commented 5 years ago

Pointed the loadbalancer host and port, after pointing to the correct host and port it worked.