Spring Cloud Docker - Cannot access any service through api gateway and Cannot access any service itself
I have a problem about accessing any service through api gateway.
Here is the properties file of api-gateway
```
```
For instance, I tried to access user service through api gateway, I...
I have a problem in my Spring Cloud Example running in Docker.
I cannot fetch all properties file from config server.
How can I do that?
I only fetched 4 properties file (advertisement service, user service, api gateway and report service) while other properties file(eureka server and...
I'm trying to implement an example of **Spring Cloud** with its all services running in **Docker**.
I cannot register any service to **eureka server** as **eureka server** throws a connection issue in **Docker**.
When I show the **logs** of **eureka server** through this command (**docker...
I have problem on Docker side.
When I run docker-compose,
1) Keycloak,rabbitmq,mysql and config server are running.
2) Here is my error in Eureka Server
```Connect Timeout Exception on Url - http://configserver:9191/. Will be trying the next u
rl if available
2022-08-17 11:39:08.699 WARN 1...
hi i'm having problems with my script
it won't show my djimages when my staff are on air
"could someone please possible help"
here's my js script
(function( d ) {
'use strict';
function onair(){
var dj = d.querySelector('#dj'),
nd = new Date(),
dy = nd.getDay()...
I have a problem about running docker-compose file through this command (`docker-compose up -d`).
After running the command, I noticed that 3 services (**advertisement service, user service and lastly report service**) cannot run. It throws an error when I try to see logs in each services...
I'm trying to implement an example of **Spring Cloud**. I have a problem **not showing queue** in **rabbitmq** running in **docker** when I send a message from advertisement service to report service..
Here is the **rabbitmq code** defined in **docker-compose.yml**
rabbitmq:
image...
I tried to implement an **example** of **Spring Boot Microservice** examples.
I have a problem in **docker-compose** file.
**Eureka server** and **api gateways** throws an **issue** defined below while there is no issue in config server.
Here is the issue ...
Consider the following code:
public String joinWords(String[] words) {
String sentence = "";
for(String w : words) {
sentence = sentence + w;
}
return sentence;
}
Because each concatenation generates a new copy of the string, the overall complexity is O(n2). Fortunately...
I'm follow a tutorial on Spring Boot Security, but I got stuck. Currently I'm setting up a CommandLineRunner, which does 3 things:
- Create Roles
- Create User
- Add roles to users
Running the code creates a table with the created roles and a table for the created users, but adding roles to...
Hello All, I am in learning face to java programming and to run my program at the command prompt, I downloaded the java development kit also known as JDK, and I set my windows 10 system path to:
C:\Program Files\Java\jdk-9.0.1\bin;C:\Program Files\Java\jre-9.0.1\bin
After writing a simple...
Hello everyone,
I am new here and a beginner,
I want to install fudaa-refonde and for this purpose I need to install JAVA version 2 (JRE 1.3) on ubuntu 18 LTS. This is an old version of JRE and I am a bit lost on the oracle website.
Thanks for your Help
studjo
Hello Everyone, I am new in this community and new to Java and am attempting to write code that takes the number of sides of a polygon and the length of each side as input and gives the area of the polygon as output. The JRE I am using says that my code will not run, possibly because of an...
Hi,
I don't suppose anyone could help me with an issue I'm having trying to make an Othello board game AI. The issue is with creating the list of "children" where each child is a copy of the current board with one legal move made on it (using this for minimax) I'm getting this error "Cannot...
Hello there, CF!
As I was scouting the web the other day for some interesting Java projects to contribute to, I came across two that not could I contribute to, but rather, mod and analyse. I present to you, two of Markus "Notch" Persson's(creator of Minecraft) previous projects: "Breaking The...
When I try building my app in android studio I get this error:
Executing tasks: [:app:assembleDebug] in project C:\Users\[My User Name]\AndroidStudioProjects\CookingConverterA10
> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :app:compileDebugAidl NO-SOURCE
> Task...
Hello I'm trying to do a password_has and password verify for my project. I'm trying to make my project safer step by step. I have already put a pashword hash in my code and that works as you see:
but I can't seem to get it to verify. it either says password incorrect or I can't login at all...
What is a cpp class an how does it work. In java and c# a class(marked as public) is pretty much just a source file, or a public class is associated with a source file, for example:
Program.java:
public class Program{
}
Or
Program.cs:
public class Program{
}
Or I can have some not...
I have an app developed with Java Development Kit and I after building to an Executable JAR, I tried a free jar to exe converter hoping that it doesn't require JRE to run on a Windows Computer. I tried to run it on a Windows 10 Virtual Machine and it says Java Runtime 1.8 or above is required(I...
Hi,
What am i doing wrong that it does not give the answer"hello world". Instead i get error message: "e is not defined"
function greeting(k){
var ans=m+e;
m=hello;
e=world;
return ans;
}
var i=greeting(k);
print(i);