You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "jeho0815 (JIRA)" <ji...@apache.org> on 2018/01/29 03:56:00 UTC

[jira] [Comment Edited] (SCB-308) Vertx transport server timeout will cause VertxServerRequestToHttpServletRequest getRemoteAddress NullPointException

    [ https://issues.apache.org/jira/browse/SCB-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16342860#comment-16342860 ] 

jeho0815 edited comment on SCB-308 at 1/29/18 3:55 AM:
-------------------------------------------------------

yes, we should keep the remote address's host and port, some one need record an accesslog with these infomation ,this will been cleared with VertServerServletRequest Object


was (Author: jeho0815):
yes, we should keep the remote address's host and port, some one need record an accesslog with these infomation 

> Vertx transport server timeout will cause VertxServerRequestToHttpServletRequest getRemoteAddress NullPointException
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: SCB-308
>                 URL: https://issues.apache.org/jira/browse/SCB-308
>             Project: Apache ServiceComb
>          Issue Type: Bug
>          Components: Java-Chassis
>    Affects Versions: java-chassis-1.0.0-m1
>            Reporter: jeho0815
>            Assignee: jeho0815
>            Priority: Major
>
> VertxServerRequestToHttpServletRequest use the the vertx HttpServerRequest  socketAddress, this will call the netty channel to get remote addtess, but server has timeout, so the remote address has been released and return null. so we have to bind the socketaddress to the ServletRequest



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)