'Feign.RetryableException nodename nor servname provided

I'm currently working on some microservices and when I tried testing an endpoint on my local machine I keep getting this error.

13-03-2022 17:32:48.067 [XNIO-1 task-8] DEBUG 44feb097-ec1b-44dd-898a-15c9d4e822a9   c.l.d.r.control.service.LoginService - Enter: userLogin() with argument[s] = [email protected], 12345678abc, null, true
Hibernate: select customer0_.id as id1_5_, customer0_.created_by as created_2_5_, customer0_.created_date as created_3_5_, customer0_.last_modified_by as last_mod4_5_, customer0_.last_modified_date as last_mod5_5_, customer0_.accepted_terms_version as accepted6_5_, customer0_.avatar as avatar7_5_, customer0_.back_off_counter as back_off8_5_, customer0_.bvn_number as bvn_numb9_5_, customer0_.cbs_mobile_number as cbs_mob10_5_, customer0_.cbs_mobile_number_verified as cbs_mob11_5_, customer0_.channel as channel12_5_, customer0_.cognito_username as cognito13_5_, customer0_.country_code as country14_5_, customer0_.customer_number as custome15_5_, customer0_.default_password as default16_5_, customer0_.email as email17_5_, customer0_.email_sent as email_s18_5_, customer0_.first_name as first_n19_5_, customer0_.invalid_login_attempts_in_window as invalid20_5_, customer0_.is_bvn_verification_attempted as is_bvn_21_5_, customer0_.is_email_verified as is_emai22_5_, customer0_.is_government_employee as is_gove23_5_, customer0_.is_id_verified as is_id_v24_5_, customer0_.is_mse_id_verified as is_mse_25_5_, customer0_.is_registered_from_ussd as is_regi26_5_, customer0_.kyc_level as kyc_lev27_5_, customer0_.last_name as last_na28_5_, customer0_.login_window_start_at as login_w29_5_, customer0_.no_of_password_reset_attempts_in_time_window as no_of_p30_5_, customer0_.otp_verification_status as otp_ver31_5_, customer0_.password_reset_time_window_start as passwor32_5_, customer0_.phone_number as phone_n33_5_, customer0_.preferred_language as preferr34_5_, customer0_.profile_pic_url as profile35_5_, customer0_.referral_code as referra36_5_, customer0_.status as status37_5_, customer0_.wallet_banner_seen as wallet_38_5_, customer0_.wallet_enabled as wallet_39_5_ from customer customer0_ where customer0_.email=?
13-03-2022 17:32:48.359 [XNIO-1 task-8] DEBUG 44feb097-ec1b-44dd-898a-15c9d4e822a9   c.l.d.r.control.service.LoginService - Checking CBS for kyc level for customerID: 113112
13-03-2022 17:32:48.616 [XNIO-1 task-8] ERROR 44feb097-ec1b-44dd-898a-15c9d4e822a9   c.l.d.r.control.service.LoginService - Error in onboarding customerID: 113112
feign.RetryableException: smaeo-application-management: nodename nor servname provided, or not known executing GET http://smaeo-application-management/api/smaeo/customer/details/ghana/2010000026
    at feign.FeignException.errorExecuting(FeignException.java:249)
    at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:120)
    at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:80)
    at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:100)
    at com.sun.proxy.$Proxy278.getCustomerDetails(Unknown Source)
    at com.letshego.das.registration.control.service.LoginService.updateKycInfo(LoginService.kt:247)
    at com.letshego.das.registration.control.service.LoginService.onboardUserUpdates(LoginService.kt:162)
    at com.letshego.das.registration.control.service.LoginService.onboardUserIfCountryHasWalletEnabled(LoginService.kt:92)
    at com.letshego.das.registration.control.service.LoginService.attemptCustomerLogin(LoginService.kt:413)
    at com.letshego.das.registration.control.service.LoginService.userLogin(LoginService.kt:63)
    at com.letshego.das.registration.control.service.LoginService$$FastClassBySpringCGLIB$$3abea1af.invoke(<generated>)
    at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
    at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
    at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
    at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)
    at com.letshego.das.ms.aop.logging.LoggingAspect.logAround(LoggingAspect.kt:92)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)
    at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)
    at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
    at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
    at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:62)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)

Tried changing the configuration properties in the application.yml but still no success. I'm new to this form of architecture and any help would be appreciated



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source