Login is stuck on "Signing in..." - this usually means one or more backend services are not running.
# Check if running
curl http://localhost:9090
# Start Keycloak (if not running)
cd C:\keycloak-23.0.0\bin
.\kc.bat start-dev# Check if running
netstat -ano | findstr :3307
# Start MySQL service if needed
net start MySQL- Open in IntelliJ:
EurekaServer/src/main/java/tn/esprit/eureka/EurekaServerApplication.java - Click Run button
- Open in IntelliJ:
ApiGateway/src/main/java/tn/esprit/gateway/ApiGatewayApplication.java - Click Run button
- Open in IntelliJ:
UserService/src/main/java/tn/esprit/user/UserApplication.java - Click Run button
- Open in IntelliJ:
AbonnementService/src/main/java/tn/esprit/abonnement/AbonnementApplication.java - Click Run button
# Check all ports at once
netstat -ano | findstr "9090 3307 8761 8888 8085 8084"- Start MySQL
- Start Keycloak
- Start Eureka Server (wait 30 seconds)
- Start API Gateway
- Start User Service
- Start Abonnement Service
# Test Keycloak
curl http://localhost:9090
# Test Eureka
curl http://localhost:8761
# Test API Gateway
curl http://localhost:8888
# Test User Service (through Gateway)
curl http://localhost:8888/user-service/api/auth/test-keycloak
# Test Abonnement Service (through Gateway)
curl http://localhost:8888/abonnement-service/api/abonnements- Cause: Service not registered with Eureka or Gateway routing issue
- Solution: Check Eureka dashboard at http://localhost:8761 to see registered services
- Cause: Service not running
- Solution: Start the service in IntelliJ
- Cause: User Service or Keycloak not responding
- Solution:
- Check User Service logs in IntelliJ
- Check Keycloak is running on port 9090
- Verify Keycloak realm "wordly-realm" exists
Based on the screenshot, I see:
- Multiple 404 errors in console
- Login stuck on "Signing in..."
This indicates:
- User Service might not be running - Check port 8085
- API Gateway might not be routing correctly - Check port 8888
- Keycloak might not be accessible - Check port 9090
Please check which services are running:
netstat -ano | findstr "9090 3307 8761 8888 8085 8084"And start any missing services.