bepass-org / oblivion-desktop

Oblivion Desktop - Unofficial Warp Client for Windows/Mac/Linux
https://github.com/bepass-org/oblivion-desktop/releases
Other
4.79k stars 544 forks source link

Connection issue on Raspberry Pi(Linux arm64) #432

Closed masmegq closed 1 month ago

masmegq commented 1 month ago

Attention | توجه

What Happened? | چه اتفاقی افتاده؟

I have installed the "deb arm64" on Raspberry Pi 3. The program has successfully installed. However, when I click on Connect button, it says connecting.. for five seconds and then it turns back to disconnected.

Minimal Reproducible Example | چه پروسه‌ای برای مشاهده این مشکل طی کرده‌اید؟

No response

Relevant log output | لاگ برنامه

[2024-07-22 23:10:31.667] [info]  past logs was deleted for new connection.
[2024-07-22 23:10:31.753] [info]  ------------------------MetaData------------------------
[2024-07-22 23:10:31.758] [info]  running on: linux 6.6.31+rpt-rpi-v8 arm64
[2024-07-22 23:10:31.762] [info]  at od: 0.41.3-beta
[2024-07-22 23:10:31.767] [info]  at wp: v1.2.3
[2024-07-22 23:10:31.776] [info]  ls assets/bin: LICENSE,README.md,warp-plus
[2024-07-22 23:10:31.780] [info]  method: gool
[2024-07-22 23:10:31.784] [info]  proxyMode: true
[2024-07-22 23:10:31.790] [info]  routingRules: Default
[2024-07-22 23:10:31.795] [info]  endpoint: default
[2024-07-22 23:10:31.801] [info]  license: false
[2024-07-22 23:10:31.809] [info]  exe: /opt/Oblivion Desktop/oblivion-desktop
[2024-07-22 23:10:31.817] [info]  userData: /home/pi/.config/oblivion-desktop
[2024-07-22 23:10:31.824] [info]  logs: /home/pi/.config/oblivion-desktop/logs
[2024-07-22 23:10:31.833] [info]  ------------------------MetaData------------------------
[2024-07-22 23:10:31.957] [info]  starting wp process...
[2024-07-22 23:10:31.963] [info]  /home/pi/.config/oblivion-desktop/warp-plus --bind 127.0.0.1:8086 --gool --scan
err: /home/pi/.config/oblivion-desktop/warp-plus: 1: Syntax error: ")" unexpected

[2024-07-22 23:10:32.277] [info]  wp process exited.
[2024-07-22 23:10:32.360] [info]  trying to disable system proxy...
[2024-07-22 23:10:32.430] [info]  gsettings found!
[2024-07-22 23:10:32.566] [info]  trying to set system proxy...
[2024-07-22 23:10:32.644] [info]  gsettings found!
[2024-07-22 23:10:32.762] [info]  Proxy settings disabled for GNOME
[2024-07-22 23:10:32.769] [info]  Disabled proxy for GNOME.
[2024-07-22 23:10:34.371] [info]  Enabled proxy for GNOME.
kiomarzsss commented 1 month ago

please run the following command and send the output:

file ~/.config/oblivion-desktop/warp-plus
masmegq commented 1 month ago

Thank you very much for the reply. The output of the command you asked for is "ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped"

But, when I use the file command on the "oblivion desktop" executable, it says "ELF 64-bit LSB pie executable, ARM aarch64 ......"

kiomarzsss commented 1 month ago

ok then. it's a bug in packaging. right now we are packaging the wrong version of warp-plus for linux(arm) for now. i will fix in future updates.

for now to fix the problem you can do the followings:

  1. close the oblivion-desktop app(make sure all processes are closed by running ps aux | grep oblivion-desktop and ps aux | grep warp-plus)
  2. download compatible version of warp-plus for you system(architecture):
    wget https://github.com/bepass-org/warp-plus/releases/download/v1.2.3/warp-plus_linux-arm64.zip
  3. extract the content of the zip file(unzip)
  4. replace the warp-plus binary in installation directory with downloaded version:
    sudo mv warp-plus /opt/Oblivion\ Desktop/resources/assets/bin/warp-plus
  5. open the oblivion-desktop app and you should be fine

this issue will get fix in next version. thank for you contribution and please let me know how it went.

masmegq commented 1 month ago

Thank you very much. The solution worked perfectly.

kiomarzsss commented 1 month ago

happy it was helpful. also the issue has been fixed in https://github.com/bepass-org/oblivion-desktop/commit/867f7aaef5997d458e443f1175eee0d44bf303be and will be available in further releases.