Comments (3)
This is just an indicator that the connection to your reports server (in
this case BugSense) timed out. ACRA will attempt to send the report again
later. Perhaps that Exceptionshould be logged at warning instead of error.
The question is, why is it timing out for your device? Does it have a net
connection?
Perhaps you need to increase the ACRA SocketTimeout config. I think default
is 3000 or 5000 millis.
If you increase that to 10,000 millis does it help?
William
On Fri, Oct 26, 2012 at 6:39 AM, Coding Crow [email protected]:
Device: Samsung Galaxy Ace
Android: 2.2.1I am getting the below error while using ACRA from the real device whereas
the emulator is sending reports with the same code.10-26 01:42:17.405: D/ACRA(29928): Sending request to
http://www.bugsense.com/api/acra?api_key=3041ce56
10-26 01:42:24.687: D/ACRA(29928): SocketTimeOut - increasing time out to
10000 millis and trying again
10-26 01:42:24.992: D/ACRA(29928): SocketTimeOut - increasing time out to
10000 millis and trying again
10-26 01:42:27.695: E/ACRA(29928): Failed to send crash report for
1351195791000-approved.stacktrace
10-26 01:42:27.695: E/ACRA(29928): org.acra.sender.ReportSenderException:
Error while sending report to Http Post Form.
10-26 01:42:27.695: E/ACRA(29928): at
org.acra.sender.HttpPostSender.send(HttpPostSender.java:139)
10-26 01:42:27.695: E/ACRA(29928): at
org.acra.SendWorker.sendCrashReport(SendWorker.java:178)
10-26 01:42:27.695: E/ACRA(29928): at
org.acra.SendWorker.checkAndSendReports(SendWorker.java:141)
10-26 01:42:27.695: E/ACRA(29928): at
org.acra.SendWorker.run(SendWorker.java:77)
10-26 01:42:27.695: E/ACRA(29928): Caused by:
org.apache.http.conn.ConnectTimeoutException: Connect to /
74.125.135.121:80 timed out
10-26 01:42:27.695: E/ACRA(29928): at
org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:121)
10-26 01:42:27.695: E/ACRA(29928): at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:153)
10-26 01:42:27.695: E/ACRA(29928): at
org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
10-26 01:42:27.695: E/ACRA(29928): at
org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
10-26 01:42:27.695: E/ACRA(29928): at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:434)
10-26 01:42:27.695: E/ACRA(29928): at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
10-26 01:42:27.695: E/ACRA(29928): at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
10-26 01:42:27.695: E/ACRA(29928): at
org.acra.util.HttpRequest.sendPost(HttpRequest.java:141)
10-26 01:42:27.695: E/ACRA(29928): at
org.acra.sender.HttpPostSender.send(HttpPostSender.java:136)
10-26 01:42:27.695: E/ACRA(29928): ... 3 more—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9.
from acra.
Yes, the device has net connection. How to increase SocketTimeout. I could not find any such thing in the documentation.
from acra.
@ReportsCrashes(formUri = "
http://www.bugsense.com/api/acra?api_key=blah_blah", formKey="",
socketTimeout = 10000, // This is the milliseconds waiting for data.
On Sat, Oct 27, 2012 at 2:00 AM, Coding Crow [email protected]:
Yes, the device has net connection. How to increase SocketTimeout. I could
not find any such thing in the documentation.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-9817755.
from acra.
Related Issues (20)
- Notification - Not posted. PendingIntents attached to actions with remote inputs must be mutable HOT 1
- Notification does not launch intent HOT 2
- Mitigate duplicates in the ReportContent HOT 1
- Filter exceptions HOT 6
- MailSender does not open GMail (Android 14) HOT 3
- How can I find api for server? HOT 1
- No leading boundary when using POST withAttachmentUris HOT 6
- HTTP Multipart Report Filename HOT 3
- Mac Address in os 11 HOT 2
- ACRA incompatible with Cronet
- Custom Extensions and KSP support HOT 2
- ACRA initialization : getting ClassCastException on application update HOT 3
- HttpSender sends an empty body in ACRA 5.11.1 HOT 6
- AndroidStudio couldn't find the class 'MailSenderConfiguration or MailSenderConfigurationBuilder' HOT 3
- AndroidStudio couldn't find the class 'MailSenderConfiguration or MailSenderConfigurationBuilder' Again.
- ACRA SDK Error HOT 6
- Java 17 support HOT 2
- Possible to send Acra reports with own custom error dialog? HOT 3
- 403: Client error - request will be discarded HOT 7
- Custom ReportSender is called but send function is never reached HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acra.