Linux Ubuntu 桌面上的 Discord 应用程序无法启动

Linux Ubuntu 桌面上的 Discord 应用程序无法启动

Linux ubuntu 桌面上的 Discord 应用程序无法启动,并且模式“正在启动...”一直显示,但并未启动该应用程序。

附言:我来自伊朗,可能被政府或 discord 本身禁止使用它,但我以前在应用程序启动时会通过 VPN 打开它,启动(和更新)后无需 VPN 也能正常工作,但现在似乎没有办法启动它。

在此处输入图片描述

当我单击 Discord 图标开始使用时,系统日志的内容如下:

Apr 11 13:50:23 asus discord.desktop[53495]: Starting app.                                                                                       
Apr 11 13:50:23 asus discord.desktop[53495]: Starting updater.                                                                                   
Apr 11 13:50:23 asus discord.desktop[53495]: [Modules] Modules initializing                                                                 
Apr 11 13:50:23 asus discord.desktop[53495]: [Modules] Distribution: remote                                                                 
Apr 11 13:50:23 asus discord.desktop[53495]: [Modules] Host updates: enabled                                                                
Apr 11 13:50:23 asus discord.desktop[53495]: [Modules] Module updates: enabled                                                              
Apr 11 13:50:23 asus discord.desktop[53495]: [Modules] Module install path: /home/majid/.config/discord/0.0.14/modules                      
Apr 11 13:50:23 asus discord.desktop[53495]: [Modules] Module installed file path: /home/majid/.config/discord/0.0.14/modules/installed.json
Apr 11 13:50:23 asus discord.desktop[53495]: [Modules] Module download path: /home/majid/.config/discord/0.0.14/modules/pending           
Apr 11 13:50:23 asus discord.desktop[53495]: [Modules] No updates to install                                                              
Apr 11 13:50:23 asus discord.desktop[53495]: [Modules] Checking for host updates.                                                                
Apr 11 13:50:23 asus discord.desktop[53495]: Error downloading with electron net: net::ERR_PROXY_CONNECTION_FAILED                               
Apr 11 13:50:23 asus discord.desktop[53495]: Falling back to node net library..                                                                  
Apr 11 13:50:24 asus discord.desktop[53495]: [Modules] Host is up to date.                                                                       
Apr 11 13:50:24 asus discord.desktop[53495]: [Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json       
Apr 11 13:50:24 asus discord.desktop[53495]: Error downloading with electron net: net::ERR_PROXY_CONNECTION_FAILED                               
Apr 11 13:50:24 asus discord.desktop[53495]: Falling back to node net library..                                                                  
Apr 11 13:50:24 asus kernel: [17802.375645] [UFW BLOCK] IN=wlp3s0 OUT= MAC=48:5d:60:9e:7f:de:18:0f:76:88:5d:60:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=58256 DF PROTO=2                                                                                            
Apr 11 13:50:24 asus discord.desktop[53495]: [Modules] No module updates available.                                                    
Apr 11 13:50:24 asus discord.desktop[53495]: [WebContents] did-fail-load -130 ERR_PROXY_CONNECTION_FAILED retry in 1000 ms             
Apr 11 13:50:27 asus discord.desktop[29263]: [WebContents] retrying load https://discordapp.com/app?_=1618123370762                     
Apr 11 13:50:27 asus discord.desktop[53495]: [WebContents] retrying load https://discordapp.com/app?_=1618132824773                     
Apr 11 13:50:27 asus discord.desktop[29263]: [WebContents] did-fail-load -130 ERR_PROXY_CONNECTION_FAILED retry in 20000 ms             
Apr 11 13:50:27 asus discord.desktop[53495]: [WebContents] did-fail-load -130 ERR_PROXY_CONNECTION_FAILED retry in 2627.909209011382 ms 
Apr 11 13:50:32 asus discord.desktop[53495]: [WebContents] retrying load https://discordapp.com/app?_=1618132824773                     
Apr 11 13:50:32 asus discord.desktop[53495]: [WebContents] did-fail-load -130 ERR_PROXY_CONNECTION_FAILED retry in 4765.554054590117 ms 
Apr 11 13:50:44 asus discord.desktop[53495]: [WebContents] retrying load https://discordapp.com/app?_=1618132824773                     
Apr 11 13:50:44 asus discord.desktop[53495]: [WebContents] did-fail-load -130 ERR_PROXY_CONNECTION_FAILED retry in 12161.442493055893 ms
Apr 11 13:50:47 asus discord.desktop[29263]: [WebContents] retrying load https://discordapp.com/app?_=1618123370762        
Apr 11 13:50:47 asus discord.desktop[29263]: [WebContents] did-fail-load -130 ERR_PROXY_CONNECTION_FAILED retry in 20000 ms

答案1

Ubuntu 没什么问题。根据此 Discord 主题,伊朗已被禁止使用Discord。

答案2

解决了,这是由于代理设置造成的。我选择了自动开启Settings->Network->Network Proxy->Automatic

相关内容