Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.7.0版的rest协议,无论是内嵌式或者外部集成式都不起作用。2.6.5版却没问题。 #3487

Closed
2 tasks
xuyaokun-github opened this issue Feb 15, 2019 · 5 comments

Comments

@xuyaokun-github
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.
  • I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: 2.7.0
  • Operating System version: windows
  • Java version: 1.8

Steps to reproduce this issue

  1. 参考dubbo官网的rest协议使用例子来模拟
    http://dubbo.apache.org/zh-cn/docs/user/references/protocol/rest.html
  2. 按照上面链接中说的写法,分别尝试2.6.5版和2.7.0版就能看出差别。2.6.5版发布的rest服务能正常被访问,而2.7.0版的rest服务不能被访问。

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

What do you expected from the above steps?

Actual Result

What actually happens?
2.7.0版的rest协议,无论是内嵌式(jetty或者tomcat)或者外部集成式(通过web.xml配置)都不起作用。2.6.5版却没问题。这是2.7.0版的一个bug.

这个bug会导致restful接口无法正常访问。

@xuyaokun-github
Copy link
Author

i can provide a demo to reproduce this problem.

@kezhenxu94
Copy link
Member

可能与 #3445 相关

@xuyaokun-github
Copy link
Author

https://github.com/kunghsu1021/dubborestdemo 样例demo @kezhenxu94
这个bug会在2.7.1版修复吗?

@kezhenxu94
Copy link
Member

@kunghsu1021 关注一下 pr #3479

@chickenlj
Copy link
Contributor

Duplicate of #3445

@chickenlj chickenlj marked this as a duplicate of #3445 Feb 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants