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

Cloud Sync [Bug] #2842

Closed
10 of 17 tasks
Chammar37 opened this issue Jun 10, 2024 · 11 comments · Fixed by #3182
Closed
10 of 17 tasks

Cloud Sync [Bug] #2842

Chammar37 opened this issue Jun 10, 2024 · 11 comments · Fixed by #3182
Labels
🐛 Bug Something isn't working | 缺陷 released

Comments

@Chammar37
Copy link

📦 Environment

  • Official
  • Official Preview
  • Vercel / Zeabur / Sealos
  • Docker
  • Other

📌 Version

v0.162.21

💻 Operating System

  • Windows
  • macOS
  • Ubuntu
  • Other Linux
  • iOS
  • Android
  • Other

🌐 Browser

  • Chrome
  • Edge
  • Safari
  • Firefox
  • Other

🐛 Bug Description

The cloud sync was working for a while, syncing with multiple computers and then all of sudden it stopped working and i lost my lists/topics/chats on other computers, saying 'Cloud Sync Failed'.

I've tried to re-create another channel with a different name, the sync says 'Connected' although I don't see topics/chats from my other computer.

Is there a better way of making the 'shared chats' use case more reliable with WebRTC Sync? Is there coming releases to fix these issues?

Thank you!

📷 Recurrence Steps

Adding 'Sync Channel Name' and 'Sync Channel Password', clicking Enable Sync.

Connecting other computers with same name/password

🚦 Expected Behavior

To see all the same Lists, Topics and Chats from my other computer on the lobechat UI

📝 Additional Information

No response

@Chammar37 Chammar37 added the 🐛 Bug Something isn't working | 缺陷 label Jun 10, 2024
@github-project-automation github-project-automation bot moved this to Roadmap - Chat 1.x in Lobe Chat Routine Jun 10, 2024
@lobehubbot
Copy link
Member

👀 @Chammar37

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@cogscides
Copy link

Same for me. Sync functionality disappeared and then I enabled it via flags. Now it's not syncing. It displays "Connection Failed" and here is the console log outputs:

WebSocket connection to 'wss://y-webrtc-signaling.lobehub.com/' failed: 
o @ 70065.4eb3154cdab79e5d.js:1
---
70065.4eb3154cdab79e5d.js:1 WebSocket connection to 'wss://y-webrtc-signaling.lobehub.com/' failed: WebSocket is closed before the connection is established. 
disconnect @ 70065.4eb3154cdab79e5d.js:1

@9Somboon
Copy link

I think the feature might be discontinued in the community version. To be an important feature for subscription users on the lobehub website.

@cogscides
Copy link

To be an important feature for subscription users on the lobehub website.

Very sad to hear that as at the moment community self-hosted version lack any options to sync except Vercel stack.

@arvinxx
Copy link
Contributor

arvinxx commented Jun 29, 2024

@cogscides
Copy link

@cogscides @9Somboon we don't remove it. You still can enable it with Feature Flag https://lobehub.com/docs/self-hosting/advanced/feature-flags

I enabled it, and I see it in UI. But I got errors in the console:

#2842 (comment)

@cogscides
Copy link

Can we have a WEB_RTC_SIGNALING_URL specified in the environment so we can host the signaling container?

@cogscides
Copy link

Are there any updates on this? It makes the self-hosted version useless as we haven't any other convenient sync options. As far as I know, server db isn't yet implemented for self-hosted option.

@lobehubbot
Copy link
Member

@Chammar37

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

@lobehubbot
Copy link
Member

🎉 This issue has been resolved in version 1.3.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@cogscides
Copy link

cogscides commented Jul 10, 2024

Discussion on how to setup WebRTC sync for lobe-chat: #3192

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷 released
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants