[英]How to register a Spring Boot client application with a secure Eureka server
我需要在安全的 https 模式下運行 Eureka 發現服務器,並運行在 Eureka 服務器上注冊的 Spring 引導客戶端微服務應用程序(也在 https 模式下)。 客戶端和服務器之間的所有通信都必須使用安全的 TLS 加密。 我創建了一個自簽名的 SSL 證書並將其添加到 PKCS12 ...
[英]How to register a Spring Boot client application with a secure Eureka server
我需要在安全的 https 模式下運行 Eureka 發現服務器,並運行在 Eureka 服務器上注冊的 Spring 引導客戶端微服務應用程序(也在 https 模式下)。 客戶端和服務器之間的所有通信都必須使用安全的 TLS 加密。 我創建了一個自簽名的 SSL 證書並將其添加到 PKCS12 ...
[英]bean of type 'com.netflix.discovery.AbstractDiscoveryClientOptionalArgs' could not be found
我正在嘗試為我的微服務創建一個 Zuul Api 網關。 它也有尤里卡發現客戶端。 這是應用程序 class ZuulServerApplication.java package com.ftr.zuul; import org.springframework.boot.SpringAppli ...
[英]Build Spring eureka client with graalvm native-image
很抱歉,因為這是我在堆棧溢出中的第一個問題,所以我希望我能正確解釋這個問題...... 我正在使用spring boot 3.0.1和GraalVM CE 22.3.0和spring cloud 2022.0.0 我正在嘗試使用 .netflix eureka 客戶端構建我的服務的native-im ...
[英]How to create several instances of a Microservice: SpringBoot and Spring Cloud
我是微服務的新手,我遇到了幾個概念,如服務注冊和負載平衡。 我有以下問題- 如何創建特定微服務的多個實例? 使用Eureka Server的 Service Registry 如何幫助在多個微服務實例上分配負載? 在我的場景中,我創建了 3 個不同的微服務並將它們注冊到我的服務注冊表中—— 服務注 ...
[英]Strange behaviour server side load balancing in Spring Cloud Gateway with Netflix Eureka
我正在嘗試使用 SpringCloudGateway 和 Eureka 實現服務器端 LB。 我有微服務 ABC (abc.test.com) 和網關 (gateway.test.com) 通過主機名在 eureka (eureka.test.com) 中注冊。 如果我從本地機器上的 postman ...
[英]Is there is a way to register microservice with domain name to netflix eureka?
我正面臨尤里卡配置問題 - 是否可以通過域名如“https://www.google.com”(例如通過 ENV 變量傳遞給屬性)而不是 ip 地址(我是在沒有 static ip 地址的地方使用 PAAS 或主機名(通常是供應商的名稱)? 我試過設置尤里卡 要么 但它並沒有達到我想要達到的目的。 ...
[英]problem with spring boot/microservices and eureka
我在 intellij 中運行了 2 個 spring boot/微服務。 這兩項服務啟動時都沒有錯誤。 但是,如果第一個微服務嘗試從第二個微服務調用服務,我會收到錯誤消息。 有任何想法嗎? 該代碼在測試環境中運行良好,但在我的本地計算機上出現以下錯誤。 我不知道應該從哪里開始尋找錯誤。 兩個微服務 ...
[英]-SpringBoot 3 -Eureka registry server -(username & password registration problem)
spring-cloud-config-server 無法注冊到 eureka spring-boot:3.0.0 spring-cloud.version: 2022.0.0-RC2 尤里卡應用.yml ` ` 配置服務器application.yml ` `控制台輸出 ` ` ...
[英]spring-cloud-netflix: Cannot enable eureka client?
嘿,我正在做一個項目,我試圖在服務器上注冊 eureka 客戶端,我很容易啟用服務器,但不知何故無法讓客戶端啟用我還添加了所有需要的依賴項。 我還將在此處包含我的 pom.xml 文件 我已經使用了以前一些類似問題可用的大部分技術,但我無法解決這個問題。 ...
[英]Eureka Discovery Server not registering client
我們幾乎沒有使用 Eureka 發現服務器的微服務。 在本地,一切正常,但當我們將它部署在 AWS App Runner 上時,它沒有注冊任何微服務。 任何建議這里可能有什么問題? 以下是我們微服務中的示例配置文件 - 這是我們的發現服務應用程序的示例配置文件- 我們嘗試按照所附示例代碼中的說明更新 ...
[英]I'm having problems with springboot 3.0.0 it doesn't recognize my eureka server and client
我的 springboot 3.0.0 有問題,它無法識別我的 eureka 服務器和客戶端,但在 2.7.4 版本中它可以正常工作,有什么變化嗎? 跟隨我的課程: api網關: 應用程序.properties: 我的路由: 應用程序.properties: 我的分類-產品 我的 controll ...
[英]Spring Microservice Eureka Client Request execution error. endpoint=DefaultEndpoint{ serviceUrl='http://eureka-server:8761/eureka/},
I have one eureka Server that has multiple clients, I have deployed the micro services to to a docker container, whenever I do docker compose pull , ...
[英]Unable to use spring cloud api gateway
我正在開發一個示例 poc,我正在嘗試集成 spring 雲 api 網關在我的 pom.xml 我有 在我的 application.yml 我有 在我的主要 class 我可以直接從它們各自的端口訪問服務,但是當我嘗試從端口網關端口(即 9191)訪問 api 時,我得到 ***2022-09 ...
[英]Eureka - Unable to register eureka server in itself by using Two Way SSL
我一直在嘗試制作兩個 ssl 來保護微服務之間的通信。 當服務 A 想要注冊到 EurekaServer 時,它實際上正在工作。 但是,當我嘗試將 eureka 注冊到同一個 eureka 服務器或其他 eureka 實例時,我總是遇到錯誤的證書異常。 這是我來自尤里卡服務器的 applicatio ...
[英]Spring Cloud : API Gateway routing not working
我正在使用 Spring 雲。 我的 spring 引導應用程序college-service 、 student-service 、 eureka-server和api-gateway中有四個服務。 我正在嘗試使用 API 網關調用college-service和student-service 。 ...
[英]What is the use of Eureka Server in Microservices architecture
我在我的微服務應用程序中使用“Spring Cloud Gateway” 例如: 在這種情況下,如果請求來自客戶端,例如: http://localhost:8100/mydemoservice/api/getdetails 在這種情況下,“Spring Cloud Gateway”會將請求路由到相 ...
[英]Why do we need Eureka and Spring boot load balancer when using Kubernetes not in the cloud?
對於不在雲端的微服務架構: Kubernetes的負載均衡器和spring雲的負載均衡器有什么區別? what are the advantages of implementing Eureka and spring boot load balancer when using Kubernet ...
[英]Purpose of Service Discovery such as Eureka
我不明白服務發現工具背后的原因。 我知道它們是用來連接微服務的,但為什么我們不能將配置服務器中的所有 url/負載均衡器作為屬性存儲? 使用微服務 url 在屬性文件上尋找 eureka 的一些解釋。 謝謝 ...
[英]To disable direct access to microservice & allow only though api gateway
我目前正在使用 Spring Boot 微服務。 為了訪問這些服務,我使用帶有 Eureka 客戶端的 api 網關,但我有一個問題來保護我的服務。 考慮我在本地托管了以下 4 個微服務項目。 用戶:- 托管在 http://localhost:8080/user 所有者:- 托管在 h ...
[英]Im tying to register a service in eureka and im getting the following error
設置我的尤里卡服務器后。 我去了我想注冊的服務,並在主類中添加了這個注釋@EnableDiscoveryClient。 之后我去了 application.properties 並添加了這個配置<eureka.client.service-url.default-zone=http://loc ...