Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analytics Dashboard not accessible in Docker Desktop #460

Closed
NishikaDeSilva opened this issue Sep 15, 2020 · 1 comment
Closed

Analytics Dashboard not accessible in Docker Desktop #460

NishikaDeSilva opened this issue Sep 15, 2020 · 1 comment

Comments

@NishikaDeSilva
Copy link
Contributor

NishikaDeSilva commented Sep 15, 2020

Description:
Unable to access the analytics dashboard. The redirection to login fails with the following error.

WARN {org.wso2.msf4j.internal.MSF4JHttpConnectorListener} - Unmapped exception feign.RetryableException: Connection refused (Connection refused) executing GET https://127.0.0.1:32293/api/am/admin/v1/custom-urls/carbon.super                                            
    at feign.FeignException.errorExecuting(FeignException.java:67)                                                                                                                                                                                                                                    
    at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:104)                                                                                                                                                                                                             
    at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:76)                                                                                                                                                                                                                        
    at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:103)                                                                                                                                                                                                                  
    at com.sun.proxy.$Proxy77.getCustomUrlInfo(Unknown Source)                                                                                                                                                                                                                                        
    at org.wso2.analytics.apim.idp.client.ApimIdPClient.getCustomUrlInfo(ApimIdPClient.java:721)                                                                                                                                                                                                      
    at org.wso2.analytics.apim.idp.client.ApimIdPClient.login(ApimIdPClient.java:294)                                                                                                                                                                                                                 
    at org.wso2.carbon.analytics.auth.rest.api.impl.LoginApiServiceImpl.loginAppNamePost(LoginApiServiceImpl.java:147)                                                                                                                                                                                
    at org.wso2.carbon.analytics.auth.rest.api.LoginApi.loginAppNamePost(LoginApi.java:82)                                                                                                                                                                                                            
    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.wso2.msf4j.internal.router.HttpMethodInfo.invokeResource(HttpMethodInfo.java:187)                                                                                                                                                                                                          
    at org.wso2.msf4j.internal.router.HttpMethodInfo.invoke(HttpMethodInfo.java:143)                                                                                                                                                                                                                 
    at org.wso2.msf4j.internal.MSF4JHttpConnectorListener.dispatchMethod(MSF4JHttpConnectorListener.java:218)                                                                                                                                                                                       
    at org.wso2.msf4j.internal.MSF4JHttpConnectorListener.lambda$onMessage$47(MSF4JHttpConnectorListener.java:129)                                                                                                                                                                                    
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)                                                                                                                                                                                                      
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)                                                                                                                                                                                                      
    at java.base/java.lang.Thread.run(Thread.java:834)                                                                                                                                                                                                                                                
Caused by: java.net.ConnectException: Connection refused (Connection refused)                                                                                                                                                                                                                         
    at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)                                                                                                                                                                                                                                
    at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)                                                                                                                                                                                                        
    at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)                                                                                                                                                                                                  
    at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)                                                                                                                                                                                                           
    at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)                                                                                                                                                                                                                           
    at java.base/java.net.Socket.connect(Socket.java:609)                                                                                                                                                                                                                                             
    at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:289)                                                                                                                                                                                                                     
    at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:177)                                                                                                                                                                                                                              
    at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)                                                                                                                                                                                                                          
    at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)                                                                                                                                                                                                                          
    at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:265)                                                                                                                                                                                                                  
    at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:372)                                                                                                                                                                                                                     
    at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)                                                                                                                                                          
    at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1187)                                                                                                                                                                                               
    at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)                                                                                                                                                                                                
    at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)                                                                                                                                                                   
    at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592)                                                                                                                                                                                             
    at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)                                                                                                                                                                                              
    at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)                                                                                                                                                                                                               
    at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:334)                                                                                                                                                                                   
    at feign.Client$Default.convertResponse(Client.java:152)                                                                                                                                                                                                                                          
    at feign.Client$Default.execute(Client.java:74)                                                                                                                                                                                                                                                   
    at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:97)                                                                                                                                                                                                              
    ... 18 more

Affected Product Version:
3.2.0

OS, DB, other environment details and versions:
Docker for Desktop

@chirangaalwis
Copy link
Member

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants