You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/09/09 06:07:21 UTC

[GitHub] [servicecomb-java-chassis] diwenzheng opened a new issue #2561: 2.5.0 注册中心CSE调用返回失败

diwenzheng opened a new issue #2561:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2561


   statusCode 200, reasonPhrase OK, response content-type application/json; charset=utf-8 is not supported
   
   这是日志的东西,1.3.0不会返回这个,


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] diwenzheng commented on issue #2561: 2.5.0 注册中心CSE调用返回失败

Posted by GitBox <gi...@apache.org>.
diwenzheng commented on issue #2561:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2561#issuecomment-915808871


   还有一个就是cse get的问题 java.lang.IllegalStateException: Could not create URI object: Illegal character in query at index 135: cse://Alarm/rest/ir/v1/alarm?pageNum=1&pageSize=20&alarmName=&alarmId=&id=&alarmLevel=&alarmType=&alarmStatus=&param=&orderBy=create_at DESC&startTime=0&endTime=0&species=current


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #2561: 2.5.0 注册中心CSE调用返回失败

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #2561:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2561#issuecomment-915811637


   你能描述下如何使用才能够出现上述问题现象吗?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] diwenzheng commented on issue #2561: 2.5.0 注册中心CSE调用返回失败

Posted by GitBox <gi...@apache.org>.
diwenzheng commented on issue #2561:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2561#issuecomment-915971426


   第一个应该是你们升级之后的问题了,之前接收方是一个HttpRequest对象,1.3.0的时候必须使用byte接收,否则报错.2.5.0看样子是强类型关系有点,我要byte他是json,所以返回上述.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] diwenzheng commented on issue #2561: 2.5.0 注册中心CSE调用返回失败

Posted by GitBox <gi...@apache.org>.
diwenzheng commented on issue #2561:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2561#issuecomment-915808960


   @liubao68 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] diwenzheng closed issue #2561: 2.5.0 注册中心CSE调用返回失败

Posted by GitBox <gi...@apache.org>.
diwenzheng closed issue #2561:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2561


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] diwenzheng edited a comment on issue #2561: 2.5.0 注册中心CSE调用返回失败

Posted by GitBox <gi...@apache.org>.
diwenzheng edited a comment on issue #2561:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2561#issuecomment-915824696


   > 你能描述下如何使用才能够出现上述问题现象吗?
   
   第一个问题是 1.3.0通过cse调用的时候responseEntity = restTemplate.exchange(url, httpMethod, requestEntity, new ParameterizedTypeReference<byte[]>() , 2.5.0这样就会报错.
   第二个问题,如果没猜错,=的后面不让有空格.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] diwenzheng commented on issue #2561: 2.5.0 注册中心CSE调用返回失败

Posted by GitBox <gi...@apache.org>.
diwenzheng commented on issue #2561:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2561#issuecomment-915857379


   第二个问题我已经解决了,原因还是在于官方升级了springboot版本,所以对于get参数有校验了,发现如果是非法字符抛异常.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] diwenzheng commented on issue #2561: 2.5.0 注册中心CSE调用返回失败

Posted by GitBox <gi...@apache.org>.
diwenzheng commented on issue #2561:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2561#issuecomment-915824696


   > 你能描述下如何使用才能够出现上述问题现象吗?
   
   第一个问题是 正常cse调用 post,使用exchange发送,打印的日志为这样,直接调用下属服务返回的正常,
   第二个问题,如果没猜错,=的后面不让有空格.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org