Closed Abhinav-401 closed 4 years ago
I have same problem. What the way resolve this problem?
Do you have docker installed on your system? If yes,then I changed host.docker.internal property to 127.0.0.1. Search the system for drivers folder. I don't remember the path after this. (WINDOWS)
If docker is not installed, then your services are not being initialized properly. I don't have the solution for this.
On Tue, Feb 18, 2020, 17:50 imeshkov notifications@github.com wrote:
I have same problem. What the way resolve this problem?
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/spring-cloud/spring-cloud-gateway/issues/1572?email_source=notifications&email_token=AMYSDUBC42QC2AAKWNAMGSTRDPHBZA5CNFSM4KUMIPI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMBYPUI#issuecomment-587433937, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMYSDUGGOL2PKVDPTOK2SHTRDPHBZANCNFSM4KUMIPIQ .
Yes, the problem was in the installed docker. I changed host.docker.internal property to 127.0.0. . It's works. Thanks.
No problem
On Tue, Feb 18, 2020, 21:01 imeshkov notifications@github.com wrote:
Yes, the problem was in the installed docker. I changed host.docker.internal property to 127.0.0. . It's works. Thanks.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/spring-cloud/spring-cloud-gateway/issues/1572?email_source=notifications&email_token=AMYSDUBPDUEH2JP7GRFSE4TRDP5NTA5CNFSM4KUMIPI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMCNPIY#issuecomment-587519907, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMYSDUC2AWP7Q2DCUGOX6ADRDP5NTANCNFSM4KUMIPIQ .
Hey guys, i have same problem too, my spring cloud gateway unable to find actual microservice. what url should i use from my gateway. tried : http://127.0.0.1:8080/user-service/hello/ <-- not working http://host.docker.internal:8080/loan-service/hello <-- not working.
yo what is the solutions
Hi, I am following a tutorial on spring cloud gateway and netflix eureka: https://www.javainuse.com/spring/cloud-gateway-eureka
My config file for gateway is:
Gateway and both the services have been registered with eureka. But, now, if I try to open something like: http://host.docker.internal:9090/employee/message OR http://localhost:9090/employee/message (Same), then I'm getting error 500. The stack trace is:
I'm able to access localhost:8080/employee/message and localhost:8082/consumer/message without any problem. Can someone tell me what the problem here is? Is there something wrong with the config. Also, if I put the address in the config instead of the service name, then it's working fine.