Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Log missing in frontend. #926

Open
riderx opened this issue Dec 12, 2024 · 5 comments
Open

Log missing in frontend. #926

riderx opened this issue Dec 12, 2024 · 5 comments

Comments

@riderx
Copy link
Contributor

riderx commented Dec 12, 2024

Describe the bug/issue
We have many kind of event who are never showing up in Capgo logs, like decrypt_fail so we need to investigate why this happen

@WcaleNieWolny
Copy link
Contributor

@riderx from my recent experience, I think that the backend will often reset the connection.

I strongly suggest adding a retry mechanism to the plugin (retry the request 3 times)

@WcaleNieWolny
Copy link
Contributor

Just happened now:


Task <FF3AE844-99F8-471A-AD7C-296523A94564>.<3> finished with error [-1005] Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo={_kCFStreamErrorCodeKey=-4, NSUnderlyingError=0x30316f210 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 "(null)" UserInfo={NSErrorPeerAddressKey=<CFData 0x301cb81e0 [0x2053034d0]>{length = 16, capacity = 16, bytes = 0x100201bbac42285a0000000000000000}, _kCFStreamErrorCodeKey=-4, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <FF3AE844-99F8-471A-AD7C-296523A94564>.<3>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalDataTask <FF3AE844-99F8-471A-AD7C-296523A94564>.<3>"
), NSLocalizedDescription=The network connection was lost., NSErrorFailingURLStringKey=https://api.capgo.app/stats, NSErrorFailingURLKey=https://api.capgo.app/stats, _kCFStreamErrorDomainKey=4}

@riderx
Copy link
Contributor Author

riderx commented Dec 13, 2024

i think it's because we don't close it properly in latest version i fixed it i think

@riderx
Copy link
Contributor Author

riderx commented Dec 13, 2024

my report was from something backend i think somewhere it seems we filter them

@WcaleNieWolny
Copy link
Contributor

@riderx I don't think this is a valid issue. I just checked and I can see decrypt_fail in the dashboard
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants