ProtonMail / proton-bridge

Proton Mail Bridge application
GNU General Public License v3.0
1.18k stars 160 forks source link

"--noninteractive" option leads to "Server did not provide gRPC service configuration in time." #447

Open tpaniaki opened 11 months ago

tpaniaki commented 11 months ago

Expected Behavior

Starting bridge with protonmail-bridge --noninteractive should work without errors.

Current Behavior

Starting bridge with protonmail-bridge --noninteractive randomly triggers the warning pop up Server did not provide gRPC service configuration in time.

Possible Solution

grpcServerConfig.json seems to be looked for but not found:

statx(AT_FDCWD, "/home/fabien/.config/protonmail/bridge-v3/grpcServerConfig.json", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffe0e9480e0) = -1 ENOENT (Aucun fichier ou dossier de ce type)

Steps to Reproduce

  1. Start bridge on Linux with protonmail-bridge --noninteractive
  2. Wait for the above-mentionned pop-up window.

Version Information

3.6.1-5

Context (Environment)

This happens on an Arch/X11 system. Please note: all other starting options work flawlessly.

Detailed Description

strace.txt

Possible Implementation

LBeernaertProton commented 11 months ago

I am unable to reproduce this issue. Could you try again with the additional argument -l=trace to see if the output reveals more information?

Edit: A colleague has managed to reproduce this issue. Thank you for the report.

LBeernaertProton commented 11 months ago

Tracked internally as GODT-3173

bon commented 10 months ago

Also getting this without the --noninteractive flag

SammyJenas commented 5 months ago

Also have this issue on an Arch/Wayland system

sunng87 commented 3 months ago

Getting this with protonmail-bridge from arch official repo too. The AUR version used to work well. Also before this dialog shows up, it works great.

khan5ula commented 3 months ago

Also experiencing this annoying issue with arch linux, bspwm, pass & protonmail-bridge from arch repo.

tpaniaki commented 3 months ago

Also experiencing this annoying issue with arch linux, bspwm, pass & protonmail-bridge from arch repo.

Until they give a fig, you can use --no-window and hide the daemon icon in your tray settings.