soberhacker / obsidian-telegram-sync

Transfer messages and files from Telegram to Obsidian
GNU Affero General Public License v3.0
303 stars 30 forks source link

The plugin does not connect to the bot. #284

Open mrdkind opened 5 months ago

mrdkind commented 5 months ago

After March 29, the plugin remains in connecting mode and does not connect to the Telegram bot. I tried with some bots and some of my friends also had this problem

soberhacker commented 5 months ago

where are you from?

mrdkind commented 5 months ago

iran

MooWantFree commented 5 months ago

I encountered the same problem, because the country where I live has blocked the network connection of Telegram. Therefore, my current practice is to replace all the fixed Telegram URLs in the plugins or use a network proxy. I was wondering, could the plugin itself provide a place to customize the bot URL?

soberhacker commented 4 months ago

I encountered the same problem, because the country where I live has blocked the network connection of Telegram. Therefore, my current practice is to replace all the fixed Telegram URLs in the plugins or use a network proxy. I was wondering, could the plugin itself provide a place to customize the bot URL?

@MooWantFree Hmm, very interesting. So, you manually edit main.js, yes? Which strings are you replacing and with what?

soberhacker commented 4 months ago

@mrdkind Аre you still having problems with connection?

MooWantFree commented 4 months ago

@soberhacker I built a ws proxy and http proxy on my server, and replace the url which in devTools-network to my proxy url