Skip to content

request gateway 405 #14

@liuhaogui

Description

@liuhaogui

访问api模块: http://localhost:8081/user/test

{
message: "Hi, this is the Greeter API"
}

但是访问gateway 405
request url : http://localhost:8080/user/test

{
id: "go.micro.client.transport",
code: 500,
detail: "405 Not Allowed: <html> <head><title>405 Not Allowed</title></head> <body bgcolor="white"> <center><h1>405 Not Allowed</h1></center> <hr><center>nginx/1.8.1</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> ",
status: "Internal Server Error"
}

auth和broker注释掉也报这个错误,请问gateway如何访问其他微服务模块的呢? 谢谢。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions