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:
- How to mine Bitcoin using Alibaba Cloud and Tencent Cloud servers (ubuntu)
- ‘dependencies.dependency.version‘ for org.springframework.cloud:spring-cloud-starter-openfeign:jar
- Spring cloud config does not read bootstrap.properties/yml
- java.lang.AbstractMethodError: Receiver class com.alibaba.cloud.sentinel.feign.SentinelContractHolde
- Alibaba cloud ECS curl error 6
- Spring boot problem 1: error reporting life processing instructions for building a spring boot project
- Alibaba cloud builds FTP server 200 port command successful. Consider using PASV. 425 failed to establish connection
- [Solved] Error in registering Eureka for spring cloud micro service: classnotfoundexception: org.apache.http.conn.scheme.schemeregistry
- Spring Cloud:org.springframework.web.client.HttpClientErrorException: 404 null
- RTR3InitEx failed with rc=-1912 (rc=-1912)
- Spring cloud config uses gitee to report auth fail for remote clients
- Common errors reported by Eureka in spring cloud
- Spring cloud is a big hole. Failed to start bean ‘eurekaAutoServiceRegistration’
- An error is reported in the spring cloud setup. Autowired appears and Eureka cannot be registered
- [error handling] idea error reporting com.alibaba.druid . pool.DruidDataSource error
- Batch error reporting in Java spring
- CentOS Liunx 7 uses rdesktop to remotely connect to the Alibaba Cloud server and it appears Failed to connect, CredSSP required by server.
- Idea error: (4, 28) Java: package com.alibaba.fastjson does not exist
- This (code, message, data: null) still exists after importing spring cloud project into Lombok; the data in the project is unrecognized
- [Solved] qt5.9 + vs2015 32bit Error: “-1: error: LNK1158: Can not Run “rc.exe”