Title: NetworkOnMainThreadException during disconnect() · Issue #21 · parse-community/ParseLiveQuery-Android · GitHub
Open Graph Title: NetworkOnMainThreadException during disconnect() · Issue #21 · parse-community/ParseLiveQuery-Android
X Title: NetworkOnMainThreadException during disconnect() · Issue #21 · parse-community/ParseLiveQuery-Android
Description: The act of disconnecting the client attempts to perform a network request on the main thread, leading to a crash: Caused by android.os.NetworkOnMainThreadException at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.jav...
Open Graph Description: The act of disconnecting the client attempts to perform a network request on the main thread, leading to a crash: Caused by android.os.NetworkOnMainThreadException at android.os.StrictMode$AndroidB...
X Description: The act of disconnecting the client attempts to perform a network request on the main thread, leading to a crash: Caused by android.os.NetworkOnMainThreadException at android.os.StrictMode$AndroidB...
Opengraph URL: https://github.com/parse-community/ParseLiveQuery-Android/issues/21
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"NetworkOnMainThreadException during disconnect()","articleBody":"The act of disconnecting the client attempts to perform a network request on the main thread, leading to a crash:\r\n\r\n```\r\nCaused by android.os.NetworkOnMainThreadException\r\n at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1147)\r\n at com.android.org.conscrypt.OpenSSLSocketImpl.shutdownAndFreeSslNative(OpenSSLSocketImpl.java:1115)\r\n at com.android.org.conscrypt.OpenSSLSocketImpl.close(OpenSSLSocketImpl.java:1110)\r\n at com.firebase.tubesock.WebSocket.closeSocket(WebSocket.java:223)\r\n at com.firebase.tubesock.WebSocket.close(WebSocket.java:197)\r\n at com.parse.TubeSockWebSocketClient.close(TubeSockWebSocketClient.java:65)\r\n at com.parse.ParseLiveQueryClientImpl.disconnect(ParseLiveQueryClientImpl.java:102)\r\n```\r\n\r\nAll other network-related tasks are done in a background TaskExecutor. But `disconnect()`, which calls `WebSocket.close()`, is not happening on that background thread.","author":{"url":"https://github.com/jhansche","@type":"Person","name":"jhansche"},"datePublished":"2017-03-23T17:41:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/21/ParseLiveQuery-Android/issues/21"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e732a2db-1900-b9aa-5fc6-af042276f232 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E374:3C6F7B:421F317:5706B55:6A5D5A49 |
| html-safe-nonce | 85c81718d70607bb8e09adb3b5d8cfdc732e9d3038e629f1f8437f383013528b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzc0OjNDNkY3Qjo0MjFGMzE3OjU3MDZCNTU6NkE1RDVBNDkiLCJ2aXNpdG9yX2lkIjoiNTYxMzQyOTEyOTg4MDYyMzY4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d846d467454c7a7cfcdb067471930c71a798defd73150d8dc01c40925400da45 |
| hovercard-subject-tag | issue:216514386 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/parse-community/ParseLiveQuery-Android/21/issue_layout |
| twitter:image | https://opengraph.githubassets.com/27dccc4056feadf4754a6b3a0d64d1976b40917396f368f490324eb119a3a2ae/parse-community/ParseLiveQuery-Android/issues/21 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/27dccc4056feadf4754a6b3a0d64d1976b40917396f368f490324eb119a3a2ae/parse-community/ParseLiveQuery-Android/issues/21 |
| og:image:alt | The act of disconnecting the client attempts to perform a network request on the main thread, leading to a crash: Caused by android.os.NetworkOnMainThreadException at android.os.StrictMode$AndroidB... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jhansche |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/parse-community/ParseLiveQuery-Android git https://github.com/parse-community/ParseLiveQuery-Android.git |
| octolytics-dimension-user_id | 26932219 |
| octolytics-dimension-user_login | parse-community |
| octolytics-dimension-repository_id | 68854119 |
| octolytics-dimension-repository_nwo | parse-community/ParseLiveQuery-Android |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 68854119 |
| octolytics-dimension-repository_network_root_nwo | parse-community/ParseLiveQuery-Android |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width