Spring cloud Alibaba 2020.0.rc1 does not integrate ribbon error reporting unknownhostexception

The title starts from 3 because other pits have been recorded before

3. Spring cloud Alibaba 2020.0.rc1 does not integrate ribbon error reporting unknownhostexception

3.1 first check whether our notes are correct, and then look at the following

3.2 no ribbon

We can see from the dependency package that spring cloud Alibaba 2020.0.rc1 is not integrated with ribbon, which is not right,

In this version, calling the microservice through resttemplate always prompts that the microservice is not found

3.3 it’s OK to go back to 2.1.4 or manually add the ribbon dependency

When I go back to 2.1.4.release and look at dependency, there is ribbon

The visit is normal

Join ribbon manually

It’s OK, too

Although I don’t know whether to give up the ribbon or forget to add it, I haven’t found any other method and usage to record the time 2021.3.22

Read More: