2023-08-08 01:59:23.917 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I --> POST https://api.moyamo.co.kr/v2/auth/login/naver h2
2023-08-08 01:59:23.917 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I User-Agent: Android_OS_SDK:31, App_Version:6.4.31, Cell_Info:google sdk_gphone64_x86_64, Android_Id:a36b82c18eae80e3
2023-08-08 01:59:23.917 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I Content-Type: application/json; charset=UTF-8
2023-08-08 01:59:23.918 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I Content-Length: 129
2023-08-08 01:59:23.918 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I Host: api.moyamo.co.kr
2023-08-08 01:59:23.918 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I Connection: Keep-Alive
2023-08-08 01:59:23.918 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I Accept-Encoding: gzip
2023-08-08 01:59:23.918 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I {"accessToken":"AAAAN+ME0ogHKhm5mMYvvy3GPYJMMI0QFFsDdDOVLU1BdCC8tnx6qrSIBQt8LssW4SkMpisQ7cZ0qoizv5U/SwK4QK8=","nickName":"naver"}
2023-08-08 01:59:23.918 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I --> END POST (129-byte body)
2023-08-08 01:59:24.135 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I <-- 200 https://api.moyamo.co.kr/v2/auth/login/naver (216ms)
2023-08-08 01:59:24.135 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I date: Mon, 07 Aug 2023 16:59:24 GMT
2023-08-08 01:59:24.135 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I content-type: application/json
2023-08-08 01:59:24.136 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I vary: Origin
2023-08-08 01:59:24.136 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I vary: Access-Control-Request-Method
2023-08-08 01:59:24.137 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I vary: Access-Control-Request-Headers
2023-08-08 01:59:24.137 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I x-content-type-options: nosniff
2023-08-08 01:59:24.137 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I x-xss-protection: 1; mode=block
2023-08-08 01:59:24.137 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I cache-control: no-cache, no-store, max-age=0, must-revalidate
2023-08-08 01:59:24.138 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I pragma: no-cache
2023-08-08 01:59:24.138 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I expires: 0
2023-08-08 01:59:24.138 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I x-frame-options: DENY
2023-08-08 01:59:24.139 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I {"resultCode":1000,"resultData":{"userInfo":{"id":1799455,"nickname":"남한강오리2","photoUrl":null,"level":1,"role":"user","status":"normal","levelInfo":{"badge":"http://1758717c88a515aa.kinxzone.com/commons/badges/badge0.png","level":1,"name":"일반"},"activity":{"postingCount":0,"commentCount":0,"adoptedCount":0},"provider":"naver","createdAt":"2023-05-26T04:18:25Z","badgeCount":0,"representBadge":null,"totalPhotosCnt":0,"totalPhotosLikeCnt":0,"security":{"email":null,"phoneNumber":null,"authIdKey":null,"authIdKeySendedAt":null},"newbie":true},"userAccessHistory":null,"userToken":"0a1e66c494184b2ca244866232b8c0e5","userTokenExpireAt":"2023-09-06 16:59:24","refreshToken":"8127b59f64434627aa91357c3bc317a9","refreshTokenExpireAt":"2023-10-07 16:59:24","adNotiAgreement":null,"adNotiConfirmedAt":null},"resultMsg":"성공."}
2023-08-08 01:59:24.139 9052-10245 okhttp.OkHttpClient com.atlas.moyamo I <-- END HTTP (838-byte body)
2023-08-08 01:59:24.217 9052-9052 DataBinding com.atlas.moyamo W Setting the fragment as the LifecycleOwner might cause memory leaks because views lives shorter than the Fragment. Consider using Fragment's view lifecycle
2023-08-08 01:59:24.220 9052-9052 Glide com.atlas.moyamo W Load failed for null with size [0x0]
class com.bumptech.glide.load.engine.GlideException: Received null model
2023-08-08 01:59:24.220 9052-9052 System.out com.atlas.moyamo I imageProfileAdapter 1799455
2023-08-08 01:59:24.228 9052-10256 System.out com.atlas.moyamo I okhttp ResponseInterceptor pre synchronized - http://v2/users/me
2023-08-08 01:59:24.229 9052-10256 System.out com.atlas.moyamo I ResponseInterceptor isExpiredTime 2023-09-06 16:59:24 - 1 - http://v2/users/me
2023-08-08 01:59:24.234 9052-10256 System.out com.atlas.moyamo I call bearer token Bearer e5d087a4a4264b0eafdd681b8935edc5
2023-08-08 01:59:24.234 9052-10256 System.out com.atlas.moyamo I call bearer token2 Bearer 0a1e66c494184b2ca244866232b8c0e5
2023-08-08 01:59:24.235 9052-9052 System.out com.atlas.moyamo I check init viewModel
2023-08-08 01:59:24.235 9052-9052 DataBinding com.atlas.moyamo W Setting the fragment as the LifecycleOwner might cause memory leaks because views lives shorter than the Fragment. Consider using Fragment's view lifecycle
2023-08-08 01:59:24.238 9052-9052 Glide com.atlas.moyamo W Load failed for null with size [0x0]
class com.bumptech.glide.load.engine.GlideException: Received null model
2023-08-08 01:59:24.238 9052-9052 System.out com.atlas.moyamo I imageProfileAdapter 0
2023-08-08 01:59:24.238 9052-9052 Glide com.atlas.moyamo W Load failed for null with size [0x0]
class com.bumptech.glide.load.engine.GlideException: Received null model
2023-08-08 01:59:24.241 9052-10257 System.out com.atlas.moyamo I okhttp ResponseInterceptor pre synchronized - http://v2/users/me
2023-08-08 01:59:24.244 9052-10257 System.out com.atlas.moyamo I ResponseInterceptor isExpiredTime 2023-09-06 16:59:24 - 1 - http://v2/users/me
2023-08-08 01:59:24.248 9052-10257 System.out com.atlas.moyamo I call bearer token Bearer 0a1e66c494184b2ca244866232b8c0e5
2023-08-08 01:59:24.249 9052-10257 System.out com.atlas.moyamo I call bearer token2 Bearer 0a1e66c494184b2ca244866232b8c0e5
2023-08-08 01:59:24.250 9052-9323 System.out com.atlas.moyamo I Print Throw Stack
2023-08-08 01:59:24.253 9052-9052 Glide com.atlas.moyamo W Load failed for null with size [0x0]
class com.bumptech.glide.load.engine.GlideException: Received null model
2023-08-08 01:59:24.254 9052-9052 Glide com.atlas.moyamo W Load failed for null with size [0x0]
class com.bumptech.glide.load.engine.GlideException: Received null model
2023-08-08 01:59:24.254 9052-9052 Glide com.atlas.moyamo W Load failed for null with size [0x0]
class com.bumptech.glide.load.engine.GlideException: Received null model
2023-08-08 01:59:24.254 9052-9323 System.out com.atlas.moyamo I error Job was cancelled
2023-08-08 01:59:24.258 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I --> POST https://api.moyamo.co.kr/v2/logs h2
2023-08-08 01:59:24.258 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I User-Agent: Android_OS_SDK:31, App_Version:6.4.31, Cell_Info:google sdk_gphone64_x86_64, Android_Id:a36b82c18eae80e3
2023-08-08 01:59:24.258 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I Content-Type: application/json; charset=UTF-8
2023-08-08 01:59:24.258 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I Content-Length: 165
2023-08-08 01:59:24.258 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I Host: api.moyamo.co.kr
2023-08-08 01:59:24.258 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I Connection: Keep-Alive
2023-08-08 01:59:24.258 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I Accept-Encoding: gzip
2023-08-08 01:59:24.258 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I {"androidOS":31,"androidid":"a36b82c18eae80e3","appVersion":"6.4.31","cellInfo":"google sdk_gphone64_x86_64","stack":"","timestamp":"1691427564250","userid":1799455}
2023-08-08 01:59:24.258 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I --> END POST (165-byte body)
2023-08-08 01:59:24.273 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I <-- 200 https://api.moyamo.co.kr/v2/logs (14ms)
2023-08-08 01:59:24.273 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I date: Mon, 07 Aug 2023 16:59:24 GMT
2023-08-08 01:59:24.273 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I content-type: application/json
2023-08-08 01:59:24.273 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I vary: Origin
2023-08-08 01:59:24.273 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I vary: Access-Control-Request-Method
2023-08-08 01:59:24.273 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I vary: Access-Control-Request-Headers
2023-08-08 01:59:24.274 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I x-content-type-options: nosniff
2023-08-08 01:59:24.274 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I x-xss-protection: 1; mode=block
2023-08-08 01:59:24.274 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I cache-control: no-cache, no-store, max-age=0, must-revalidate
2023-08-08 01:59:24.274 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I pragma: no-cache
2023-08-08 01:59:24.274 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I expires: 0
2023-08-08 01:59:24.274 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I x-frame-options: DENY
2023-08-08 01:59:24.274 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I {"resultCode":1000,"resultData":null,"resultMsg":null}
2023-08-08 01:59:24.275 9052-10260 okhttp.OkHttpClient com.atlas.moyamo I <-- END HTTP (54-byte body)
2023-08-08 01:59:24.291 9052-10257 okhttp.OkHttpClient com.atlas.moyamo I --> GET https://api.moyamo.co.kr/v2/users/me h2
2023-08-08 01:59:24.291 9052-10257 okhttp.OkHttpClient com.atlas.moyamo I Authorization: Bearer 0a1e66c494184b2ca244866232b8c0e5
2023-08-08 01:59:24.292 9052-10257 okhttp.OkHttpClient com.atlas.moyamo I User-Agent: Android_OS_SDK:31, App_Version:6.4.31, Cell_Info:google sdk_gphone64_x86_64, Android_Id:a36b82c18eae80e3
2023-08-08 01:59:24.292 9052-10257 okhttp.OkHttpClient com.atlas.moyamo I Host: api.moyamo.co.kr
2023-08-08 01:59:24.292 9052-10257 okhttp.OkHttpClient com.atlas.moyamo I Connection: Keep-Alive
2023-08-08 01:59:24.298 9052-10257 okhttp.OkHttpClient com.atlas.moyamo I Accept-Encoding: gzip
2023-08-08 01:59:24.299 9052-10257 okhttp.OkHttpClient com.atlas.moyamo I --> END GET
2023-08-08 01:59:24.325 9052-9052 System.out com.atlas.moyamo I Print Throw Stack response 1000
2023-08-08 01:59:24.331 9052-10257 okhttp.OkHttpClient com.atlas.moyamo I <-- 200 https://api.moyamo.co.kr/v2/users/me (32ms)
2023-08-08 01:59:24.331 9052-10257 okhttp.OkHttpClient com.atlas.moyamo I date: Mon, 07 Aug 2023 16:59:24 GMT
2023-08-08 01:59:24.331 9052-10257 okhttp.OkHttpClient com.atlas.moyamo I content-type: application/json
2023-08-08 01:59:24.331 9052-10257 okhttp.OkHttpClient com.atlas.moyamo I vary: Origin
2023-08-08 01:59:24.331 9052-10257 okhttp.OkHttpClient com.atlas.moyamo I vary: Access-Control-Request-Method
2023-08-08 01:59:24.331 9052-10257 okhttp.OkHttpClient com.atlas.moyamo I vary: Access-Control-Request-Headers
2023-08-08 01:59:24.333 9052-10257 okhttp.OkHttpClient com.atlas.moyamo I x-content-type-options: nosniff
2023-08-08 01:59:24.333 9052-10257 okhttp.OkHttpClient com.atlas.moyamo I x-xss-protection: 1; mode=block
2023-08-08 01:59:24.333 9052-10257 okhttp.OkHttpClient com.atlas.moyamo I cache-control: no-cache, no-store, max-age=0, must-revalidate
2023-08-08 01:59:24.333 9052-10257 okhttp.OkHttpClient com.atlas.moyamo I pragma: no-cache
2023-08-08 01:59:24.333 9052-10257 okhttp.OkHttpClient com.atlas.moyamo I expires: 0
2023-08-08 01:59:24.333 9052-10257 okhttp.OkHttpClient com.atlas.moyamo I x-frame-options: DENY
2023-08-08 01:59:24.333 9052-10257 okhttp.OkHttpClient com.atlas.moyamo I {"resultCode":1000,"resultData":{"id":1799455,"nickname":"남한강오리2","photoUrl":null,"level":1,"role":"user","status":"normal","levelInfo":{"badge":"http://1758717c88a515aa.kinxzone.com/commons/badges/badge0.png","level":1,"name":"일반"},"activity":{"postingCount":0,"commentCount":0,"adoptedCount":0},"provider":"naver","badgeCount":0,"representBadge":null,"totalPhotosCnt":0,"totalPhotosLikeCnt":0,"photoEnable":false,"security":{"email":null,"phoneNumber":null,"authIdKey":null,"authIdKeySendedAt":null},"newbie":true},"resultMsg":null}
2023-08-08 01:59:24.335 9052-10257 okhttp.OkHttpClient com.atlas.moyamo I <-- END HTTP (548-byte body)
2023-08-08 01:59:24.335 9052-10257 System.out com.atlas.moyamo I ResponseInterceptor ........정상처리.......... - http://v2/users/me
2023-08-08 01:59:24.351 9052-9052 Glide com.atlas.moyamo W Load failed for null with size [0x0]
class com.bumptech.glide.load.engine.GlideException: Received null model
2023-08-08 01:59:24.351 9052-9052 System.out com.atlas.moyamo I imageProfileAdapter 1799455
result 로 반환된 accessToken 의 자릿수와, 그 이후에 사용되는 Bearer 의 다름이 확인되었다.
특히 result로 반환된 accessToken 으로는 shop 의 API가 호출이 가능해서 인증이 가능했지만, Bearer 로는 불가능했다.
아마 내가 보기엔 이 부분이 문제가 되는 것 같다!
'ANDROID' 카테고리의 다른 글
Trusty TEE (0) | 2024.03.11 |
---|---|
[Admob] Google Admob 조지기 직전 (197/3.6.27 release) (0) | 2023.12.20 |
[Android] Classpath 문제 해결하기 (0) | 2023.06.26 |
[Android Update] access_token (0) | 2023.06.20 |
How to check the Internet Connection periodically in whole application? (0) | 2019.01.13 |