-
Notifications
You must be signed in to change notification settings - Fork 626
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
telegram whatsapp bridge: [Client ERROR] Client outdated (405) connect failure #2175
Comments
solve incredible need update go!!!!!! command is if not work or have other bersion need remove before restart ubuntu later send command: if continue have problem with go module (go: command not found) need add this line in 2 file: write in terminal: now reboot: start command: QR CODE IS OK!!!!! |
i updated everything but still getting error.
|
Have restart linux ? send sudo reboot command [telegram.mytelegram] RemoteNickFormat="<{NICK}> " [whatsapp.mywhatsapp] [[gateway]] [[gateway.inout]] [[gateway.inout]] |
Can confirm what @mujeebcpy experienced. I built the app with updated go as well, but got the same errors as described. I'm bridging whatsapp to matrix, and at first sight it looks like whatsmeow has to be updated. |
same problem here. go update not solved the problem [Client/Socket ERROR] Error reading from websocket: websocket: close 1006 (abnormal closure): unexpected EOF |
first restart, send: $sudo reboot |
I did exactly as you told, used version 1.23.0, to no success. |
I guess this is a dirty fix, the actual solution would be to bump the whatsmeow version. If you need a working binary asap, just clone my fork, and run |
Thanks for your effort! But a problem with the path occurs: go install -tags nomsteams,nozulip,whatsappmulti github.com/IntGrah/matterbridge@master Maybe you could change that as well? |
|
@IntGrah Getting import lookup disabled error while installing post cloning the repo |
My bad, I was messing around with changing the module name. It should work now. |
And it does!! Many thanks for your efforts. 👍 |
Its working now, thank you :) |
@fabio841 Happy to see you are suggesting to view a video made by me 😄 ibcomputing is my channel and i made that tutorial |
thanks @mujeebcpy essentially the channel has an ID that can be easily searched via developer console and WhatsApp web and ends with @newslatter. Do you think this feature could be added? This would make it possible to use a channel instead of a group. I tried replacing the "TG Group Chat ID" of the group that ends in @g.us with ID @newslatter in the matterbridge.toml file but it doesn't work. |
@fabio841 ya. sending to channel is must now. i manage telegram channel so if i can use matterbridge to update my whatsapp channel in realtime it will be excellent. |
only @42wim can help |
I have the exact same problem using Windows with go 1.23 |
My fork has a temporary fix. Clone it and then run |
Thank you. It works now... |
@IntGrah you think it's possible adding feature for bridge channel ? (no group) I tried replacing the "TG Group Chat ID" of the group that ends in @g.us with ID @newslatter in the matterbridge.toml file but it doesn't work. |
it's possible usa https://github.com/pedroslopez/whatsapp-web.js for adding bridge with channel instead whatsmeow ? |
Fixed in master now |
0000] INFO main: Running version 1.26.0
[0000] INFO router: Parsing gateway gateway1
[0000] INFO router: Starting bridge: whatsapp.mywhatsapp
13:36:59.744 [Client ERROR] Client outdated (405) connect failure
[0003] INFO whatsapp: QR channel result: err-client-outdated
[0005] INFO whatsapp: WhatsApp connection successful
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x12f5042]
goroutine 1 [running]:
github.com/42wim/matterbridge/bridge/whatsappmulti.(*Bwhatsapp).Connect(0xc000358fc0)
/root/go/pkg/mod/github.com/42wim/matterbridge@v1.26.0/bridge/whatsappmulti/whatsapp.go:119 +0x622
github.com/42wim/matterbridge/gateway.(*Router).Start(0xc000108780)
/root/go/pkg/mod/github.com/42wim/matterbridge@v1.26.0/gateway/router.go:76 +0x35f
main.main()
/root/go/pkg/mod/github.com/42wim/matterbridge@v1.26.0/matterbridge.go:65 +0x39e
Why have this error ?
I have launch command ./matterbridge -conf matterbridge.toml
The text was updated successfully, but these errors were encountered: