Always connecting, never connected
Closed this issue · 10 comments
Hi soberhacker,
I entered Bot token and my username in Bot(requied) in Obsidian V1.4.16 and Telegram Sync 2.2.0 plugin settings page. But it is always shows connecting... It never connected, not even once.
Firstly, I thought the root cause is the parameters of bot token or username is invalid. So I tried the same parameters in logseq plugin named Indox Telegram v0.1.4. And the parameters worked fine.
Secondly, I thought it's casued by network blocks in China. I changed VPNs but the plugin is still not working. I also tried logseq Inbox Telegram plugin in the same PC via same VPN I used for Obsidian Telegram Sync, it works well. I believed the network is not the root cause.
Hi Yenan3:
- Please, check the developer console (Ctrl+Shift+I) for any errors
- Check your access to the Telegram API by checking the bot's message queue in any browser. Visit the following link: https://api.telegram.org/bot{YOUR:BOT:TOKEN}/getUpdates
- Send me screenshots of all the actions you described
Hi soberhacker,
Thanks for the quick reply.
-
I'm not familar with how to find errors in developer console. I tried and the console said 20 errors and 2 issues, you can see in the following screenshot.
-
The browser shows the following screenshot after I visit the link you provided.
3.1. Tried to connect my telegram bot, but it's always connecting
3.2. The logseq plugin works fine. See the following screenshot for plugin setting page.
3.3. You may find more detials in following screenshots.
3.4. The logseq plugin work well with telegram, but in the same PC the obsidian plugin doesn't
Thanks for your report.
-
The 'Issues' tab is not what I was expecting. Please refer to the Console tab.
-
I'm 90% sure that the issue lies either with your system settings (such as antivirus software or firewall) or with the compatibility between your VPN and Obsidian. Try to seek help in the China Telegram group: https://t.me/obsidiangroup
Hi Soberhacker.
I have TUN mode turned on in Clash and it can be CONNECTED!
Great job! Now if anyone asks, I'll definitely point them your way for guidance.
Thanks
Brilliant! I've already started adding this explanation to the plugin.