(Android) Okhttp3 + retrofit 2 > illegalStateException: closed
로깅을 위해 interceptor 에 response.body().string(); 를 걸어놓은것이 문제였다. https://github.com/square/okhttp/issues/1240 java.lang.IllegalStateException: closed when trying to access response in onResponse(Response response) · Issue #1240 · square/o I get java.lang.IllegalStateException: closed at com.squareup.okhttp.internal.http.HttpConnection$FixedLengthSource.read(HttpConnection.java:455) at okio.Buffer.w..
Computer/Android&iOS
2019. 4. 26. 16:18
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- php
- 앵커브리핑
- 손석희
- Asterisk
- 안드로이드
- 스위프트
- Kotlin
- C
- linux
- 점유율
- 리눅스
- nodejs
- 서버
- C언어
- git hub
- Swift
- IOS
- 깃헙
- 배열
- 뉴스룸
- Phaser
- node.js
- BBC 가쉽
- mysql
- Android
- CentOS
- Node
- 노드
- GIT
- xcode
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
글 보관함