weshnet icon indicating copy to clipboard operation
weshnet copied to clipboard

Message not received - context deadline exceeded

Open jefft0 opened this issue 1 year ago • 5 comments

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

jefft0 avatar Apr 11 '24 09:04 jefft0

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.

jefft0 avatar Apr 19 '24 14:04 jefft0

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/web navigate 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.

sakul-budhathoki avatar May 06 '24 06:05 sakul-budhathoki

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.)

jefft0 avatar May 07 '24 14:05 jefft0

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

sakul-budhathoki avatar May 07 '24 15:05 sakul-budhathoki

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

D4ryl00 avatar Oct 18 '24 14:10 D4ryl00