Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

KotlinInside를 사용한 프로그램을 장시간 실행시, 글 작성이 인증 문제로 실패함 #5

Closed
JellyBrick opened this issue Nov 14, 2019 · 4 comments
Labels
bug Something isn't working help wanted Extra attention is needed LoginUser 반고닉/고닉 세션에서 발생하는 문제입니다.

Comments

@JellyBrick
Copy link
Member

JellyBrick commented Nov 14, 2019

에러

고정닉 세션을 사용하는 프로그램을 장시간 실행시, 오류가 발생합니다.

WriteResult(result=false, articleId=null, cause=certification, id=null)

매일 오전/오후 1시마다 특정 키를 갱신해주어야 하는 것으로 보입니다.

app_id의 재발급만으로는 글을 작성할 수 없는 것으로 보입니다.

@JellyBrick JellyBrick added bug Something isn't working help wanted Extra attention is needed LoginUser 반고닉/고닉 세션에서 발생하는 문제입니다. labels Nov 14, 2019
@JellyBrick
Copy link
Member Author

JellyBrick commented Nov 25, 2019

23시간마다 특정 키를 갱신해주어야 하는 것으로 보입니다.

@JellyBrick
Copy link
Member Author

JellyBrick commented Nov 29, 2019

user_id를 12시간마다 갱신해줘야 하는 것으로 보입니다.
(키는 변경되지 않지만, 로그인 요청을 다시 보내야 하는 것으로 보임)

@JellyBrick JellyBrick added help wanted Extra attention is needed and removed help wanted Extra attention is needed bug Something isn't working labels Nov 29, 2019
@JellyBrick JellyBrick pinned this issue Nov 29, 2019
@JellyBrick JellyBrick added the bug Something isn't working label Nov 30, 2019
@JellyBrick
Copy link
Member Author

Timer를 사용하여 user_id를 12시간마다 갱신해주면(로그인 요청을 다시 보내면) 해결됩니다.

@JellyBrick
Copy link
Member Author

KotlinInside.createInstancesessionAutoRefreshtrue일 경우 (기본값은 false), "12시간마다 세션을 자동으로 갱신하는 타이머"를 생성합니다.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working help wanted Extra attention is needed LoginUser 반고닉/고닉 세션에서 발생하는 문제입니다.
Projects
None yet
Development

No branches or pull requests

1 participant