tauri: [bug] AppImage show error on Manjaro and Debian

Describe the bug

When installing AppImage on Manjaro it shows the following errors: image

When installing on Debian 11/bullseye:

./cinny_1.8.1_amd64.AppImage
Gtk-Message: 19:54:32.651: Failed to load module "colorreload-gtk-module"
Gtk-Message: 19:54:32.652: Failed to load module "window-decorations-gtk-module"
Gtk-Message: 19:54:33.148: Failed to load module "colorreload-gtk-module"
Gtk-Message: 19:54:33.148: Failed to load module "window-decorations-gtk-module"

Reproduction

Expected behavior

AppImage should be self contained as explained in https://github.com/tauri-apps/tauri/discussions/2924#discussioncomment-1666317

Platform and versions

Operating System - Ubuntu 20.04.4 LTS
Wwebkit2gtk-4.0

Node.js environment
  Node.js - 17.6.0
  @tauri-apps/cli - 1.0.0-rc.7
  @tauri-apps/api - 1.0.0-rc.2

Global packages
  npm - 8.5.1
  pnpm - Not installed
  yarn - 1.22.17

Rust environment
  rustup 1.24.3 (ce5817a94 2021-05-31)
  rustc 1.59.0 (9d1b2106e 2022-02-23)
  cargo 1.59.0 (49d8809dc 2022-02-10)
  toolchain - stable-x86_64-unknown-linux-gnu

App directory structure
/.git
/.github
/contrib
/dist
/node_modules
/public
/src
/src-tauri

App
  tauri - 1.0.0-rc.4
  tauri-build - 1.0.0-rc.4
  tao - 0.6.4
  wry - 0.13.3
  build-type - bundle
  CSP - default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
  distDir - ../dist
  devPath - http://localhost:8080/
  framework - React
  bundler - Webpack

Stack trace

No response

Additional context

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

Do you mean that the http requests don’t work in .deb installed apps either?

yeah. atleast it didn’t for me on Ubuntu.

I have no idea what causes that connection error, in the devtools console it says something like “internal webkit error”, which isn’t really helpful, especially since doing the request manually in the devtools console works completely fine. Furthermore i was only able to reproduce this error on ubuntu, building on other distros was fine. It’s also not a cross-distro compatibility problem since the appimage built on ubuntu doesn’t work on that very same system either…

Since the initial reported problem is fixed i’m gonna close this issue and keep looking for solutions, but i spent so much time on that already i’m not really hopeful that there really is a (easy) solution so maybe i just have to implement flatpak support earlier than planned so we can promote that one as the main way to distrribute your app 🤷