Comments (6)
Hi, I have not looked at this repo for several years, I kind of suspect that it is terribly out of date.
from go-microservice-eureka.
Hi,
I got the same issue when I tried to get things up and running. I added ;charset=UTF-8 to the Content-Type header, e.g:
Content-Type: application/json;charset=UTF-8
E.g. in the eurekaclient.go file.
I was running against a quite new Spring Clound Eureka instance provided by a Spring Boot application.
Also, I'm having issues with my service disappearing from Eureka with "Registry: lease doesn't exist, registering resource" in the Eureka log. Still troubleshooting that.
Hope this helps.
from go-microservice-eureka.
I was able to get it to register with the following
{ "instance": { "instanceId": "vendor:${instanceId}", "hostName": "${ipAddress}", "app": "vendor", "ipAddr": "${ipAddress}", "vipAddress": "vendor-data-service", "status": "UP", "port": { "$":8080, "@enabled": "true" }, "securePort": { "$": 8443, "@enabled": "false" }, "homePageUrl": "http://${ipAddress}:${port}/", "statusPageUrl": "http://${ipAddress}:${port}/info", "healthCheckUrl": "http://${ipAddress}:${port}/health", "dataCenterInfo": { "@class": "com.netflix.appinfo.MyDataCenterInfo", "name": "MyOwn" } } }
from go-microservice-eureka.
Does this still work ?
from go-microservice-eureka.
Hi, I have not looked at this repo for several years, I kind of suspect that it is terribly out of date.
Thank you .
from go-microservice-eureka.
Hi,
I just inject this dependency and it works !
<!-- https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter-loadbalancer -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
<version>3.1.4</version>
</dependency>
from go-microservice-eureka.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-microservice-eureka.