Coder Social home page Coder Social logo

Comments (10)

AnatolyPristensky avatar AnatolyPristensky commented on May 23, 2024

Hello @ling9400, could you please describe your issue more detailed?
It would be very helpful for us if you can fill the following form:

Description

Please describe the issue you are facing using the SDK.

Repro Steps

Please list the steps used to reproduce your issue.

Details

  1. Which SDK version are you using?
    • e.g. 1.5.0
  2. Which OS version did you experience the issue on?
    • e.g. Android 8.1.0
  3. What device version did you see this error on? Were you using an emulator or a physical device?
    • e.g. Google Pixel 2 emulator, Samsung Galaxy S8 physical device
  4. What third party libraries are you using?
    • example
  5. Please enable verbose logging for your app using AppCenter.setLogLevel(Log.VERBOSE) before your call to AppCenter.start(...) and include the logs here:

from appcenter-sdk-android.

ling9400 avatar ling9400 commented on May 23, 2024

Hello @ling9400, could you please describe your issue more detailed? It would be very helpful for us if you can fill the following form:

Description

Please describe the issue you are facing using the SDK.

Repro Steps

Please list the steps used to reproduce your issue.

Details

  1. Which SDK version are you using?

    • e.g. 1.5.0
  2. Which OS version did you experience the issue on?

    • e.g. Android 8.1.0
  3. What device version did you see this error on? Were you using an emulator or a physical device?

    • e.g. Google Pixel 2 emulator, Samsung Galaxy S8 physical device
  4. What third party libraries are you using?

    • example
  5. Please enable verbose logging for your app using AppCenter.setLogLevel(Log.VERBOSE) before your call to AppCenter.start(...) and include the logs here:
    Description
    the sdk getHostAddress when app on background

Repro Steps
1.init sdk
2.put app on background

Details
Which SDK version are you using?
e.g. 4.4.3 and 5.0.3
Which OS version did you experience the issue on?
all vivo device
What device version did you see this error on? Were you using an emulator or a physical device?
all vivo device
What third party libraries are you using?
appcenter android sdk
Please enable verbose logging for your app using AppCenter.setLogLevel(Log.VERBOSE) before your call to AppCenter.start(...) and include the logs here:
at java.net.Inet4Address.getHostAddress()
at java.net.InetAddress.toString(InetAddress.java:659)
at java.lang.String.valueOf(String.java:2827)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at libcore.io.IoBridge.connectDetail(IoBridge.java:207)
at libcore.io.IoBridge.isConnected(IoBridge.java:269)
at libcore.io.IoBridge.connectErrno(IoBridge.java:188)
at libcore.io.IoBridge.connect(IoBridge.java:130)
at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:129)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:356)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:357)
at java.net.Socket.connect(Socket.java:616)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.okhttp.internal.Platform.connectSocket(Platform.java:145)
at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:141)
at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:112)
at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:184)
at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:126)
at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:95)
at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:281)
at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:224)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:461)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:127)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:258)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:218)
at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream(Unknown Source:0)
at c.y.a.d.e.a(DefaultHttpClientCallTask.java:37)
at c.y.a.d.e.a(DefaultHttpClientCallTask.java:60)
at c.y.a.d.e.doInBackground(DefaultHttpClientCallTask.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:333)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)

from appcenter-sdk-android.

MikhailSuendukov avatar MikhailSuendukov commented on May 23, 2024

Hello, the error itself is missing in your logs, and there is also no mention of the appcenter center in the stack trace. Are you sure the problem is with the appcenter sdk?

from appcenter-sdk-android.

ling9400 avatar ling9400 commented on May 23, 2024

Hello, the error itself is missing in your logs, and there is also no mention of the appcenter center in the stack trace. Are you sure the problem is with the appcenter sdk?

Yes,i'm sure,DefaultHttpClientCallTask is the class in appcenter sdk and it is the only class in my code

from appcenter-sdk-android.

MikhailSuendukov avatar MikhailSuendukov commented on May 23, 2024

Yes, indeed, but without information about what kind of error and under what conditions it occurs, it is impossible to continue investigating it. So could you please provide the full stack trace along with the error and describe how this error can be reproduced.

from appcenter-sdk-android.

ling9400 avatar ling9400 commented on May 23, 2024

Yes, indeed, but without information about what kind of error and under what conditions it occurs, it is impossible to continue investigating it. So could you please provide the full stack trace along with the error and describe how this error can be reproduced.

it is not a bug, it just a Privacy issues in Chinese,is there any api to close get hostAddress?

from appcenter-sdk-android.

MikhailSuendukov avatar MikhailSuendukov commented on May 23, 2024

I'm sorry, but I don't quite understand what API you require?

from appcenter-sdk-android.

ling9400 avatar ling9400 commented on May 23, 2024

I'm sorry, but I don't quite understand what API you require?

at java.net.Inet4Address.getHostAddress()
at java.net.InetAddress.toString(InetAddress.java:659)
at java.lang.String.valueOf(String.java:2827)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at libcore.io.IoBridge.connectDetail(IoBridge.java:207)
at libcore.io.IoBridge.connectErrno(IoBridge.java:185)
at libcore.io.IoBridge.connect(IoBridge.java:130)
at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:129)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:356)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:357)
at java.net.Socket.connect(Socket.java:616)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.okhttp.internal.Platform.connectSocket(Platform.java:145)
at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:141)
at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:112)
at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:184)
at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:126)
at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:95)
at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:281)
at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:224)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:461)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:127)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:258)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:218)
at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream(Unknown Source:0)
at com.microsoft.appcenter.http.DefaultHttpClientCallTask.doHttpCall(DefaultHttpClientCallTask.java:226)
at com.microsoft.appcenter.http.DefaultHttpClientCallTask.doInBackground(DefaultHttpClientCallTask.java:279)
at com.microsoft.appcenter.http.DefaultHttpClientCallTask.doInBackground(DefaultHttpClientCallTask.java:48)
at android.os.AsyncTask$2.call(AsyncTask.java:333)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)

is this logs can help you?

from appcenter-sdk-android.

MikhailSuendukov avatar MikhailSuendukov commented on May 23, 2024

Unfortunately no. As I said earlier, without information about what kind of error and under what conditions it occurs, it is impossible to continue investigating it. So could you please provide the full stack trace along with the error and describe how this error can be reproduced. It will also be very useful to get a small demo application that will reproduce this error.

from appcenter-sdk-android.

MikhailSuendukov avatar MikhailSuendukov commented on May 23, 2024

I am currently closing this issue due to inactivity, but if you have additional information or new questions, feel free to reopen it.

from appcenter-sdk-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.