Message not received - context deadline exceeded
Is there an existing issue for this?
- [X] I have searched the existing issues
Package version
latest
OS
None
Language version and compiler version
go
Bug description
(Posted on behalf of @sakul-budhathoki .) We have experience few issues on the weshnet; it works perfectly fine at some time; at other time friend request, messages doesn't goes to other side.
@D4ryl00
Current behavior
Sometimes messages aren't received. See the attached wesh-message.txt . Log message:
context deadline exceeded
Expected behavior
All messages should be received.
Environment
macOS
Other
No response
Hello @sakul-budhathoki . Do you think that we would be able to reproduce this behavior, or are you able to reproduce it in your environment? We may need to try to generate more useful logs.
Hello @sakul-budhathoki . Do you think that we would be able to reproduce this behavior, or are you able to reproduce it in your environment? We may need to try to generate more useful logs.
We have noticed context deadline exceeded error on the Teritori android app.
Reproduction steps:
Start Android app:
Clone https://github.com/TERITORI/teritori-dapp
-
yarn -
make build-android-weshframework -
npx expo prebuild --clean -
yarn android
Run weshnet on web to communicate with android app:
-
cd ./weshd - create folder {projectRoot}/weshd/temp/wesh-dir
-
go run --tags noNativeLogger ./go/webnavigate on browser: https://app.teritori.com/message/?weshPort=4242
Once app start (android app)
- Toggle the chat on the bottom tab bar
- adb logcat | grep GoLog
The error will occur not all the time but sometime of the day.
Thanks for the instructions, @sakul-budhathoki . I'm having some trouble building. Can you tell me what versions of Go, yarn and cocoapods are needed to build it? (The README has the version for yarn, but not the others.)
Thanks for the instructions, @sakul-budhathoki . I'm having some trouble building. Can you tell me what versions of Go, yarn and cocoapods are needed to build it? (The README has the version for yarn, but not the others.)
Hi @jefft0, These are my versions for the project. go version: go1.20.10 pod version: 1.13.0 yarn: 3.5.0 node: 18.1.0 java: 17.0.10 2024-01-16 LTS
Hi @sakul-budhathoki , we updated weshnet dependencies and the rendez-vous node. With Jeff, we did some tests on Berty Messenger. Could you give it a try again?
We also think that https://github.com/berty/weshnet-expo could be interesting to you.
Thanks!
GitHub
🚧 [Work In Progress] 🚧 This library cannot be used yet!! - berty/weshnet-expo