Git Product home page Git Product logo

ch.protonmail.protonmail-bridge's Introduction

Community build of Proton Mail Bridge

This build is not officially supported by Proton, please report issues at the package issue tracker.

ch.protonmail.protonmail-bridge's People

Contributors

a6gibkm avatar barthalion avatar dsommers avatar f-koehler avatar flathubbot avatar proletarius101 avatar rayjw avatar sergeyklay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ch.protonmail.protonmail-bridge's Issues

Cannot add account on Manjaro

Cannot add account on Manjaro KDE Plasma.

  1. Enter username and password.
  2. Asks for 2-factor authentication.
  3. 2-factor authentication code is added.
  4. Application reverts to home screen with no account added.

Edit: Must have Gnome Keyring installed which isn't included in KDE.

Cannot lauch after logging out

OS: Fedora Silverblue

Protonmail Bridge launched fine after booting up the system. However, it failed to launch after logging out from the session. It gave me the following error:

[dadstick@fedora ~]$ flatpak run ch.protonmail.protonmail-bridge
QApplication: invalid style override 'kvantum' passed, ignoring it.
	Available styles: Windows, Fusion
INFO[May 18 18:51:09.736] bridge-gui starting
INFO[May 18 18:51:09.736] Using Qt 6.3.2
ERRO[May 18 18:51:09.736] Instance already exists /var/home/dadstick/.var/app/ch.protonmail.protonmail-bridge/cache/protonmail/bridge-v3/bridge-v3-gui.lock (PID : 8 - Host : fedora - App : bridge-gui)
ERRO[May 18 18:51:14.738] Could not connect to bridge focus service for a raise call.
FATA[May 18 18:51:14.746] reportID: 81d613e79beb42fb2ea218017a156941 Captured exception: Could not connect to bridge focus service for a raise call.
FATA[May 18 18:51:16.419] Failed to launch                              error="exit status 1" exe_path=/app/lib/protonmail/bridge/bridge-gui exe_to_launch=bridge-gui launcher_path=/app/lib/protonmail/bridge/proton-bridge launcher_version=3.1.3

I'll have to reboot the system to fix it. Is there any workaround or would you be able to fix it? Thank you!

Edit: it seems to be a Flatpak specific issue, as I didn't encounter the issue with the rpm version.

Wrong Size for Extra Data: ch.protonmail.protonmail-bridge

Hi,

I'm having an issue installing the bridge client:

ch.protonmail.protonmail-bridge permissions:
ipc network x11 dri file access [1] dbus access [2]

[1] ~/.local/state/protonmail/bridge
[2] org.freedesktop.secrets


    ID                                        Branch           Op           Remote            Download
  1. [✗] ch.protonmail.protonmail-bridge stable i flathub 38.7 MB / 38.6 MB

Error: Wrong size for extra data https://protonmail.com/download/beta/protonmail-bridge_1.2.6-1_amd64.deb
error: Failed to install ch.protonmail.protonmail-bridge: Wrong size for extra data https://protonmail.com/download/beta/protonmail-bridge_1.2.6-1_amd64.deb

Updating libsecret

The included version of libsecret 0.19-1 is a couple of versions behind (current is 0.20.4). Should it be updated to the latest version? I have just tested it and everything seems fine so far.

Update bridge version

First of all, thanks for the Flatpak, it makes bridge easy to use in Fedora Silverblue :)
There's a new release of ProtonMail's bridge, the Flatpak needs to be updated.

Thank you!

Build from source

The source for protonmail-bridge has recently ben released at github.com/ProtonMail/proton-bridge.

I am not familiar to building packages using golang, any help would be appreciated, this might fix issues related to the build being created with libraries older than the ones provided by the flatpak runtime.

Installation error: Wrong size for extra data

New to Flatpak first of all.

Upon installing the protonmail bridge I came across this error:


sudo flatpak install flathub ch.protonmail.protonmail-bridge

Looking for matches…
Required runtime for ch.protonmail.protonmail-bridge/x86_64/stable (runtime/org.freedesktop.Platform/x86_64/19.08) found in remote flathub
Do you want to install it? [Y/n]: y

ch.protonmail.protonmail-bridge permissions:
ipc network wayland x11
dri file access [1] dbus access [2]

[1] ~/.local/state/protonmail/bridge
[2] org.freedesktop.Notifications, org.freedesktop.secrets


    ID                                   Arch   Branch Remote  Download
  1. [✓] org.freedesktop.Platform x86_64 19.08 flathub 224.2 MB / 2 ID Arch Branch Remote Download
  2. [✓] org.freedesktop.Platform x86_64 19.08 flathub 224.2 MB / 238.2 MB
  3. [✓] org.freedesktop.Platform.GL.default x86_64 19.08 flathub 92.6 MB / 92.6 MB
  4. [✓] org.freedesktop.Platform.Locale x86_64 19.08 flathub 16.7 kB / 318.2 MB
  5. [✓] org.freedesktop.Platform.VAAPI.Intel x86_64 19.08 flathub 8.7 MB / 8.7 MB
  6. [✓] org.freedesktop.Platform.openh264 x86_64 19.08 flathub 594.2 kB / 593.4 kB
  7. [✗] ch.protonmail.protonmail-bridge x86_64 stable flathub 37.6 MB / 37.6 MB

Error: Wrong size for extra data https://protonmail.com/download/beta/protonmail-bridge_1.2.5-1_amd64.deb
error: Failed to install ch.protonmail.protonmail-bridge: Wrong size for extra data https://protonmail.com/download/beta/protonmail-bridge_1.2.5-1_amd64.deb


OS: Ubuntu 19.10

Fedora 32 conflict with repository nsight-compute

Hello
I'm not able to install rpm conflict with nsight-compute-2019.4

Error: Transaction test error:
file /usr/lib/.build-id/34/aac32bb4d3c0f44e72e57cf253a871240a1154 from install of protonmail-bridge-1.2.7-1.x86_64 conflicts with file from package nsight-compute-2019.5.0-2019.5.0.14-1.x86_64
file /usr/lib/.build-id/80/916a3578c4abf8d9433986b7ca87ee58797eb5 from install of protonmail-bridge-1.2.7-1.x86_64 conflicts with file from package nsight-compute-2019.5.0-2019.5.0.14-1.x86_64
file /usr/lib/.build-id/ea/6a2369dae8e186543b5e0fa413cb7ee7058c84 from install of protonmail-bridge-1.2.7-1.x86_64 conflicts with file from package nsight-compute-2019.5.0-2019.5.0.14-1.x86_64

Update Bridge to version 3.4.2

The Flatpak is now multiple versions behind. Maybe there is something wrong with the external data checker because it seems like it went unnoticed because the bot didn't create a PR.

Missing libraries

The .deb and .rpm packages include the libraries

libQt5EglFsKmsSupport.so.5
libicudata.so.56
libicuuc.so.56
libicui18n.so.56 

which are not in the kde runtime. libQt5EglFsKmsSupport.so.5 Is completely missing while the runtime includes the versions libicu*.so.64.

Proper solution would be to build these in the flatpak.

Is this project still maintained?

Hello,

First of all, I would like to thanks all contributors who create and maintain this project as a flatpak. I would like to know if this project is still maintain since their as been 5 new releases over the last 7 month and no updates?

I'm asking this to know if I might be switching to the official proton-bridge or not.

If this is a time issue to maintain this project (I could totally understand that it takes time and contributors are doing this for free), I was wondering if their will be any possibility to let the Proton Bridge made is own update inside the flatpak instead of waiting for validation?

I have no knowledge on how the flatpak process work but as far as I remember and if I get it right when I was using the official bridge under Ubuntu few years ago, the bridge updates was downloaded on the user local space and maybe run from it, only the first "installation" require elevated privileges on the computer.

Since I think it is only a Go binary downloaded on each releases, wouldn't be simple to let the bridge update handle it the same way as it does from the official release allowing write into the sandbox data/cache directory?

This way you (the contributors) wouldn't have to bother checking and validating each versions update.

Thanks for your feedback on this matter. Have a nice day.

Since the latest upgrade the bridge is crashing on startup

flatpak run ch.protonmail.protonmail-bridge
INFO[0000] Run app                                       appLong="Protonmail Bridge" appShort=bridge args="[/app/extra/export/bin/protonmail-bridge]" build="2020-02-12T18:22:55+0100" pkg=main revision=2d36b643e6 runtime=linux version=1.2.5
Gtk-Message: 21:03:53.115: Failed to load module "canberra-gtk-module"
Gtk-Message: 21:03:53.115: Failed to load module "canberra-gtk-module"
SIGABRT: abort
PC=0x7f71a66c4605 m=0 sigcode=18446744073709551610
signal arrived during cgo execution

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0xd1fdc0, 0xc0005a0cf8, 0xb1197a)
	/home/dev/build/go-1.12.14/src/runtime/cgocall.go:128 +0x5b fp=0xc0005a0cc8 sp=0xc0005a0c90 pc=0x4c655b
github.com/therecipe/qt/qml._Cfunc_QQmlApplicationEngine_Load(0x2823ef0, 0x27f8c90)
	_cgo_gotypes.go:913 +0x45 fp=0xc0005a0cf8 sp=0xc0005a0cc8 pc=0xb52245
github.com/therecipe/qt/qml.(*QQmlApplicationEngine).Load.func1(0xc0000100e8, 0x10ada40, 0xc0000103f0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/therecipe/qt/qml/qml-minimal.go:808 +0xb9 fp=0xc0005a0d40 sp=0xc0005a0cf8 pc=0xb5dbe9
github.com/therecipe/qt/qml.(*QQmlApplicationEngine).Load(0xc0000100e8, 0x10ada40, 0xc0000103f0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/therecipe/qt/qml/qml-minimal.go:808 +0x5d fp=0xc0005a0d68 sp=0xc0005a0d40 pc=0xb57e6d
github.com/ProtonMail/Desktop-Bridge/pkg/frontend/qt.(*FrontendQt).qtExecute(0xc0002d5200, 0xf834a0, 0xc0002d5200, 0xcaae4e)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/frontend/qt/frontend.go:321 +0x441 fp=0xc0005a0e20 sp=0xc0005a0d68 pc=0xbca6a1
github.com/ProtonMail/Desktop-Bridge/pkg/frontend/qt.(*FrontendQt).Loop(0xc0002d5200, 0x0, 0x0, 0x1, 0x1)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/frontend/qt/frontend.go:160 +0x6e fp=0xc0005a0e50 sp=0xc0005a0e20 pc=0xbc927e
main.run(0xc0003b8f00, 0xc0003b8f00, 0xc0001bb12f)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/main.go:291 +0x1443 fp=0xc0005a1130 sp=0xc0005a0e50 pc=0xcaaee3
github.com/urfave/cli.HandleAction(0xde5860, 0xf85580, 0xc0003b8f00, 0xc0003b4840, 0x0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/urfave/cli/app.go:485 +0xc8 fp=0xc0005a1158 sp=0xc0005a1130 pc=0xc98c58
github.com/urfave/cli.(*App).Run(0xc0001149c0, 0xc0000321b0, 0x1, 0x1, 0x0, 0x0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/urfave/cli/app.go:259 +0x67a fp=0xc0005a1468 sp=0xc0005a1158 pc=0xc96d0a
main.main()
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/main.go:120 +0xcb6 fp=0xc0005a1f98 sp=0xc0005a1468 pc=0xca96d6
runtime.main()
	/home/dev/build/go-1.12.14/src/runtime/proc.go:200 +0x20c fp=0xc0005a1fe0 sp=0xc0005a1f98 pc=0x4f235c
runtime.goexit()
	/home/dev/build/go-1.12.14/src/runtime/asm_amd64.s:1337 +0x1 fp=0xc0005a1fe8 sp=0xc0005a1fe0 pc=0x51e0d1

goroutine 5 [syscall]:
os/signal.signal_recv(0x0)
	/home/dev/build/go-1.12.14/src/runtime/sigqueue.go:139 +0x9c
os/signal.loop()
	/home/dev/build/go-1.12.14/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
	/home/dev/build/go-1.12.14/src/os/signal/signal_unix.go:29 +0x41

goroutine 6 [sleep]:
runtime.goparkunlock(...)
	/home/dev/build/go-1.12.14/src/runtime/proc.go:307
time.Sleep(0xdf8475800)
	/home/dev/build/go-1.12.14/src/runtime/time.go:105 +0x159
github.com/ProtonMail/go-pm-bridge-utils/config.watchLogFileSize.func1(0xc0003f42a0, 0x2b, 0xc0003b69e0, 0x11)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/ProtonMail/go-pm-bridge-utils/config/logs.go:145 +0x30
created by github.com/ProtonMail/go-pm-bridge-utils/config.watchLogFileSize
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/ProtonMail/go-pm-bridge-utils/config/logs.go:143 +0x5d

goroutine 7 [chan receive]:
github.com/ProtonMail/Desktop-Bridge/pkg/bridge.(*Bridge).watchBridgeOutdated(0xc00037bce0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/bridge/bridge.go:148 +0xb4
github.com/ProtonMail/Desktop-Bridge/pkg/bridge.New.func1(0x10ae160, 0xc0003afc70, 0xc00037bce0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/bridge/bridge.go:81 +0x55
created by github.com/ProtonMail/Desktop-Bridge/pkg/bridge.New
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/bridge/bridge.go:79 +0x28e

goroutine 61 [select]:
net/http.(*persistConn).roundTrip(0xc00040cea0, 0xc000456870, 0x0, 0x0, 0x0)
	/home/dev/build/go-1.12.14/src/net/http/transport.go:2194 +0x75c
net/http.(*Transport).roundTrip(0xc00043c5a0, 0xc0002fc100, 0x10, 0xc0003968a0, 0xc0001b89e8)
	/home/dev/build/go-1.12.14/src/net/http/transport.go:481 +0xa1b
net/http.(*Transport).RoundTrip(0xc00043c5a0, 0xc0002fc100, 0xc00043c5a0, 0x0, 0x0)
	/home/dev/build/go-1.12.14/src/net/http/roundtrip.go:17 +0x35
net/http.send(0xc0002fc100, 0x10ae3a0, 0xc00043c5a0, 0x0, 0x0, 0x0, 0xc00044e120, 0xc0001bb2e0, 0x1, 0x0)
	/home/dev/build/go-1.12.14/src/net/http/client.go:250 +0x461
net/http.(*Client).send(0xc0003e7b30, 0xc0002fc100, 0x0, 0x0, 0x0, 0xc00044e120, 0x0, 0x1, 0xc0000a4a80)
	/home/dev/build/go-1.12.14/src/net/http/client.go:174 +0xfb
net/http.(*Client).do(0xc0003e7b30, 0xc0002fc100, 0x0, 0x0, 0x0)
	/home/dev/build/go-1.12.14/src/net/http/client.go:641 +0x279
net/http.(*Client).Do(...)
	/home/dev/build/go-1.12.14/src/net/http/client.go:509
github.com/ProtonMail/go-pmapi.(*Client).doBuffered(0xc0001643c0, 0xc0002fc100, 0x0, 0x0, 0x0, 0x0, 0x8952d2, 0xc0000a4a80, 0x0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/ProtonMail/go-pmapi/client.go:240 +0x74f
github.com/ProtonMail/go-pmapi.(*Client).doJSONBuffered(0xc0001643c0, 0xc0002fc100, 0x0, 0x0, 0x0, 0xe06d80, 0xc00035ea40, 0x0, 0x0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/ProtonMail/go-pmapi/client.go:328 +0x307
github.com/ProtonMail/go-pmapi.(*Client).DoJSON(0xc0001643c0, 0xc0002fc100, 0xe06d80, 0xc00035ea40, 0x0, 0x0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/ProtonMail/go-pmapi/client.go:307 +0x86
github.com/ProtonMail/go-pmapi.(*Client).GetEvent(0xc0001643c0, 0xc000541800, 0x58, 0x1, 0x1, 0x0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/ProtonMail/go-pmapi/events.go:173 +0x334
github.com/ProtonMail/Desktop-Bridge/pkg/store.(*eventLoop).processNextEvent(0xc0003c9420, 0x0, 0x0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/store/event_loop.go:200 +0x207
github.com/ProtonMail/Desktop-Bridge/pkg/store.(*eventLoop).start(0xc0003c9420)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/store/event_loop.go:137 +0x3d9
created by github.com/ProtonMail/Desktop-Bridge/pkg/store.New
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/store/store.go:138 +0xb47

goroutine 59 [IO wait]:
internal/poll.runtime_pollWait(0x7f71a01fe008, 0x72, 0xffffffffffffffff)
	/home/dev/build/go-1.12.14/src/runtime/netpoll.go:182 +0x56
internal/poll.(*pollDesc).wait(0xc0001b2398, 0x72, 0x1400, 0x14ae, 0xffffffffffffffff)
	/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:87 +0x9b
internal/poll.(*pollDesc).waitRead(...)
	/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0001b2380, 0xc000109500, 0x14ae, 0x14ae, 0x0, 0x0, 0x0)
	/home/dev/build/go-1.12.14/src/internal/poll/fd_unix.go:169 +0x19b
net.(*netFD).Read(0xc0001b2380, 0xc000109500, 0x14ae, 0x14ae, 0x203000, 0x0, 0x30)
	/home/dev/build/go-1.12.14/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc00044e020, 0xc000109500, 0x14ae, 0x14ae, 0x0, 0x0, 0x0)
	/home/dev/build/go-1.12.14/src/net/net.go:177 +0x69
crypto/tls.(*atLeastReader).Read(0xc0003aa480, 0xc000109500, 0x14ae, 0x14ae, 0x3, 0xa, 0xc0000b5938)
	/home/dev/build/go-1.12.14/src/crypto/tls/conn.go:761 +0x60
bytes.(*Buffer).ReadFrom(0xc0000a53d8, 0x10acbe0, 0xc0003aa480, 0x4cd1f5, 0xe28580, 0xec6b20)
	/home/dev/build/go-1.12.14/src/bytes/buffer.go:207 +0xbd
crypto/tls.(*Conn).readFromUntil(0xc0000a5180, 0x10ae300, 0xc00044e020, 0x5, 0xc00044e020, 0x203000)
	/home/dev/build/go-1.12.14/src/crypto/tls/conn.go:783 +0xf8
crypto/tls.(*Conn).readRecordOrCCS(0xc0000a5180, 0xf85e00, 0xc0000a52b8, 0xc0000b5b88)
	/home/dev/build/go-1.12.14/src/crypto/tls/conn.go:590 +0x125
crypto/tls.(*Conn).readRecord(...)
	/home/dev/build/go-1.12.14/src/crypto/tls/conn.go:558
crypto/tls.(*Conn).Read(0xc0000a5180, 0xc000168000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/home/dev/build/go-1.12.14/src/crypto/tls/conn.go:1236 +0x137
net/http.(*persistConn).Read(0xc00040cea0, 0xc000168000, 0x1000, 0x1000, 0xc0000b5c88, 0x4c8475, 0xc000042a20)
	/home/dev/build/go-1.12.14/src/net/http/transport.go:1526 +0x7b
bufio.(*Reader).fill(0xc0003b4b40)
	/home/dev/build/go-1.12.14/src/bufio/bufio.go:100 +0x10f
bufio.(*Reader).Peek(0xc0003b4b40, 0x1, 0x0, 0x0, 0x1, 0xc00031a400, 0x0)
	/home/dev/build/go-1.12.14/src/bufio/bufio.go:138 +0x4f
net/http.(*persistConn).readLoop(0xc00040cea0)
	/home/dev/build/go-1.12.14/src/net/http/transport.go:1679 +0x1a3
created by net/http.(*Transport).dialConn
	/home/dev/build/go-1.12.14/src/net/http/transport.go:1359 +0xae8

goroutine 47 [chan receive]:
github.com/ProtonMail/Desktop-Bridge/pkg/store.(*eventLoop).pollNow(0xc0003c9420)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/store/event_loop.go:79 +0x7c
created by github.com/ProtonMail/Desktop-Bridge/pkg/store.(*eventLoop).start
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/store/event_loop.go:112 +0x2a6

goroutine 60 [select]:
net/http.(*persistConn).writeLoop(0xc00040cea0)
	/home/dev/build/go-1.12.14/src/net/http/transport.go:1978 +0x113
created by net/http.(*Transport).dialConn
	/home/dev/build/go-1.12.14/src/net/http/transport.go:1360 +0xb0d

goroutine 62 [chan receive]:
github.com/ProtonMail/Desktop-Bridge/pkg/bridge.(*Bridge).heartbeat(0xc00037bce0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/bridge/bridge.go:101 +0x7a
created by github.com/ProtonMail/Desktop-Bridge/pkg/bridge.New
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/bridge/bridge.go:94 +0x46f

goroutine 63 [chan receive]:
github.com/ProtonMail/Desktop-Bridge/pkg/imap.(*imapBackend).monitorDisconnectedUsers(0xc000544ea0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/imap/backend.go:197 +0xc1
created by github.com/ProtonMail/Desktop-Bridge/pkg/imap.NewIMAPBackend
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/imap/backend.go:51 +0xfc

goroutine 115 [IO wait]:
internal/poll.runtime_pollWait(0x7f71a01fdd98, 0x72, 0x0)
	/home/dev/build/go-1.12.14/src/runtime/netpoll.go:182 +0x56
internal/poll.(*pollDesc).wait(0xc00056a098, 0x72, 0x0, 0x0, 0xf0b6f6)
	/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:87 +0x9b
internal/poll.(*pollDesc).waitRead(...)
	/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc00056a080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/home/dev/build/go-1.12.14/src/internal/poll/fd_unix.go:384 +0x1ba
net.(*netFD).accept(0xc00056a080, 0xc0005f9bd8, 0x4cf0e9, 0xc0005f9be8)
	/home/dev/build/go-1.12.14/src/net/fd_unix.go:238 +0x42
net.(*TCPListener).accept(0xc0004d4008, 0x30, 0x30, 0xe977e0)
	/home/dev/build/go-1.12.14/src/net/tcpsock_posix.go:139 +0x32
net.(*TCPListener).AcceptTCP(0xc0004d4008, 0xc00004ca70, 0xc00004ca00, 0xc0003ba700)
	/home/dev/build/go-1.12.14/src/net/tcpsock.go:247 +0x48
net/http.tcpKeepAliveListener.Accept(0xc0004d4008, 0xf85ef0, 0xc0005f9c38, 0xc0005f9c30, 0x4cf978)
	/home/dev/build/go-1.12.14/src/net/http/server.go:3264 +0x2f
crypto/tls.(*listener).Accept(0xc000358c80, 0xe977e0, 0xc0005d8540, 0xe0af20, 0x19c1b80)
	/home/dev/build/go-1.12.14/src/crypto/tls/tls.go:62 +0x37
net/http.(*Server).Serve(0xc0004d8000, 0x10d9340, 0xc000358c80, 0x0, 0x0)
	/home/dev/build/go-1.12.14/src/net/http/server.go:2859 +0x22d
net/http.(*Server).ServeTLS(0xc0004d8000, 0x10dad00, 0xc0004d4008, 0xc000541980, 0x57, 0xc0005419e0, 0x56, 0x10da380, 0xc0004d4008)
	/home/dev/build/go-1.12.14/src/net/http/server.go:2924 +0x274
net/http.(*Server).ListenAndServeTLS(0xc0004d8000, 0xc000541980, 0x57, 0xc0005419e0, 0x56, 0x0, 0x0)
	/home/dev/build/go-1.12.14/src/net/http/server.go:3081 +0x169
github.com/ProtonMail/Desktop-Bridge/pkg/api.(*apiServer).ListenAndServe(0xc000688320)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/api/api.go:59 +0x232
main.run.func1(0xc0003afc70, 0xc000688320)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/main.go:279 +0x51
created by main.run
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/main.go:277 +0x134a

goroutine 116 [IO wait]:
internal/poll.runtime_pollWait(0x7f71a01fdf38, 0x72, 0x0)
	/home/dev/build/go-1.12.14/src/runtime/netpoll.go:182 +0x56
internal/poll.(*pollDesc).wait(0xc000278118, 0x72, 0x0, 0x0, 0xf0b6f6)
	/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:87 +0x9b
internal/poll.(*pollDesc).waitRead(...)
	/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc000278100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/home/dev/build/go-1.12.14/src/internal/poll/fd_unix.go:384 +0x1ba
net.(*netFD).accept(0xc000278100, 0xc00016fe58, 0xc000544f30, 0xb60000000066d76e)
	/home/dev/build/go-1.12.14/src/net/fd_unix.go:238 +0x42
net.(*TCPListener).accept(0xc00041a2f0, 0xc00016fe00, 0xc00016fe08, 0x18)
	/home/dev/build/go-1.12.14/src/net/tcpsock_posix.go:139 +0x32
net.(*TCPListener).Accept(0xc00041a2f0, 0xf84180, 0xc0005199a0, 0x10da380, 0xc00041a2f0)
	/home/dev/build/go-1.12.14/src/net/tcpsock.go:260 +0x48
github.com/emersion/go-imap/server.(*Server).Serve(0xc0005199a0, 0x10da380, 0xc00041a2f0, 0x0, 0x0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/emersion/go-imap/server/server.go:211 +0x1d1
github.com/emersion/go-imap/server.(*Server).ListenAndServe(0xc0005199a0, 0x4, 0xc000480778)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/emersion/go-imap/server/server.go:242 +0xdd
github.com/ProtonMail/Desktop-Bridge/pkg/imap.(*imapServer).ListenAndServe(0xc0001bf240)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/imap/server.go:100 +0x111
main.run.func2(0xc0003afc70, 0xc0001bf240)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/main.go:283 +0x51
created by main.run
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/main.go:281 +0x137c

goroutine 117 [IO wait]:
internal/poll.runtime_pollWait(0x7f71a01fde68, 0x72, 0x0)
	/home/dev/build/go-1.12.14/src/runtime/netpoll.go:182 +0x56
internal/poll.(*pollDesc).wait(0xc0004ee018, 0x72, 0x0, 0x0, 0xf0b6f6)
	/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:87 +0x9b
internal/poll.(*pollDesc).waitRead(...)
	/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc0004ee000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/home/dev/build/go-1.12.14/src/internal/poll/fd_unix.go:384 +0x1ba
net.(*netFD).accept(0xc0004ee000, 0x0, 0x0, 0xc0003861d0)
	/home/dev/build/go-1.12.14/src/net/fd_unix.go:238 +0x42
net.(*TCPListener).accept(0xc000606060, 0x4ef76f, 0x8, 0xc000448180)
	/home/dev/build/go-1.12.14/src/net/tcpsock_posix.go:139 +0x32
net.(*TCPListener).Accept(0xc000606060, 0xf84278, 0xc0000f62c0, 0x3, 0xc0003861d0)
	/home/dev/build/go-1.12.14/src/net/tcpsock.go:260 +0x48
github.com/emersion/go-smtp.(*Server).Serve(0xc0000f62c0, 0x10da380, 0xc000606060, 0x0, 0x0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/emersion/go-smtp/server.go:73 +0xc2
github.com/emersion/go-smtp.(*Server).ListenAndServe(0xc0000f62c0, 0xc000000004, 0xc000497ce8)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/emersion/go-smtp/server.go:139 +0xdc
github.com/ProtonMail/Desktop-Bridge/pkg/smtp.(*smtpServer).ListenAndServe(0xc0001bf2a0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/smtp/server.go:64 +0x4e3
main.run.func3(0xc0003afc70, 0xc0001bf2a0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/main.go:287 +0x51
created by main.run
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/main.go:285 +0x13ae

goroutine 118 [select]:
github.com/ProtonMail/Desktop-Bridge/pkg/frontend/qt.(*FrontendQt).watchEvents(0xc0002d5200)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/frontend/qt/frontend.go:179 +0x71c
github.com/ProtonMail/Desktop-Bridge/pkg/frontend/qt.(*FrontendQt).Loop.func1(0xc0002d5200)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/frontend/qt/frontend.go:158 +0x58
created by github.com/ProtonMail/Desktop-Bridge/pkg/frontend/qt.(*FrontendQt).Loop
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/frontend/qt/frontend.go:156 +0x54

goroutine 64 [chan receive]:
github.com/ProtonMail/Desktop-Bridge/pkg/imap.(*imapServer).monitorDisconnectedUsers(0xc0001bf240)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/imap/server.go:120 +0x1a0
created by github.com/ProtonMail/Desktop-Bridge/pkg/imap.(*imapServer).ListenAndServe
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/imap/server.go:97 +0x54

goroutine 67 [chan receive]:
github.com/ProtonMail/Desktop-Bridge/pkg/smtp.(*smtpServer).monitorDisconnectedUsers(0xc0001bf2a0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/smtp/server.go:88 +0x14a
created by github.com/ProtonMail/Desktop-Bridge/pkg/smtp.(*smtpServer).ListenAndServe
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/smtp/server.go:56 +0x57

goroutine 65 [chan receive]:
github.com/emersion/go-imap/server.(*Server).listenUpdates(0xc0005199a0, 0x10da380, 0xc00041a2f0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/emersion/go-imap/server/server.go:298 +0xc8
created by github.com/emersion/go-imap/server.(*Server).Serve
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/emersion/go-imap/server/server.go:208 +0x108

goroutine 48 [select]:
net/http.(*Transport).getConn(0xc00043c5a0, 0xc0005d8870, 0x0, 0xc00003ccf0, 0x5, 0xc0002a3500, 0x15, 0x0, 0x0, 0x0, ...)
	/home/dev/build/go-1.12.14/src/net/http/transport.go:1022 +0x63d
net/http.(*Transport).roundTrip(0xc00043c5a0, 0xc000674000, 0x10, 0xc00034f420, 0xc0004f6bd8)
	/home/dev/build/go-1.12.14/src/net/http/transport.go:467 +0x6ef
net/http.(*Transport).RoundTrip(0xc00043c5a0, 0xc000674000, 0xc00043c5a0, 0x0, 0x0)
	/home/dev/build/go-1.12.14/src/net/http/roundtrip.go:17 +0x35
net/http.send(0xc000674000, 0x10ae3a0, 0xc00043c5a0, 0x0, 0x0, 0x0, 0xc0004d4038, 0x2f, 0x1, 0x0)
	/home/dev/build/go-1.12.14/src/net/http/client.go:250 +0x461
net/http.(*Client).send(0xc0003e7b30, 0xc000674000, 0x0, 0x0, 0x0, 0xc0004d4038, 0x0, 0x1, 0xc0004f6e28)
	/home/dev/build/go-1.12.14/src/net/http/client.go:174 +0xfb
net/http.(*Client).do(0xc0003e7b30, 0xc000674000, 0x0, 0x0, 0x0)
	/home/dev/build/go-1.12.14/src/net/http/client.go:641 +0x279
net/http.(*Client).Do(...)
	/home/dev/build/go-1.12.14/src/net/http/client.go:509
github.com/ProtonMail/go-pmapi.(*Client).doBuffered(0xc0001643c0, 0xc000674000, 0x0, 0x0, 0x0, 0x120300000000000, 0x7f71a1c3ffff, 0x3, 0x7f71a1a73c00)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/ProtonMail/go-pmapi/client.go:240 +0x74f
github.com/ProtonMail/go-pmapi.(*Client).doJSONBuffered(0xc0001643c0, 0xc000674000, 0x0, 0x0, 0x0, 0xe071a0, 0xc000350380, 0x0, 0x0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/ProtonMail/go-pmapi/client.go:328 +0x307
github.com/ProtonMail/go-pmapi.(*Client).DoJSON(0xc0001643c0, 0xc000674000, 0xe071a0, 0xc000350380, 0x0, 0x0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/ProtonMail/go-pmapi/client.go:307 +0x86
github.com/ProtonMail/go-pmapi.(*Client).ListMessages(0xc0001643c0, 0xc0004ec360, 0xc0004f7810, 0x1, 0x1, 0x6, 0xc0004f77c0, 0xc0004f7820)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/ProtonMail/go-pmapi/messages.go:442 +0x104
github.com/ProtonMail/Desktop-Bridge/pkg/store.syncMailbox.func2(0xdd0360, 0x1096428, 0x0, 0x0, 0x0, 0x0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/store/mailbox_sync.go:102 +0x209
github.com/ProtonMail/Desktop-Bridge/pkg/store.syncMailbox(0xf0813c, 0x1, 0x10d9400, 0xc0001b2200, 0x7f7190739080, 0xc0001643c0, 0xc000699d40, 0xc000699d40)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/store/mailbox_sync.go:139 +0x22f
github.com/ProtonMail/Desktop-Bridge/pkg/store.(*Mailbox).sync(0xc0000c9320, 0x0, 0x0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/store/mailbox_sync.go:47 +0x212
github.com/ProtonMail/Desktop-Bridge/pkg/store.(*Store).triggerSync.func1(0xc0001b2200)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/store/user_sync.go:112 +0xc5
created by github.com/ProtonMail/Desktop-Bridge/pkg/store.(*Store).triggerSync
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/store/user_sync.go:95 +0x4d

goroutine 32 [select]:
net.(*Resolver).lookupIPAddr(0x1aae560, 0x10df900, 0xc00056c780, 0xf086d7, 0x3, 0xc0002a3500, 0x11, 0x1bb, 0x0, 0x0, ...)
	/home/dev/build/go-1.12.14/src/net/lookup.go:275 +0x663
net.(*Resolver).internetAddrList(0x1aae560, 0x10df900, 0xc00056c780, 0xf086d7, 0x3, 0xc0002a3500, 0x15, 0x0, 0x0, 0x0, ...)
	/home/dev/build/go-1.12.14/src/net/ipsock.go:280 +0x61f
net.(*Resolver).resolveAddrList(0x1aae560, 0x10df900, 0xc00056c780, 0xf08c04, 0x4, 0xf086d7, 0x3, 0xc0002a3500, 0x15, 0x0, ...)
	/home/dev/build/go-1.12.14/src/net/dial.go:213 +0x508
net.(*Dialer).DialContext(0xc0004f7870, 0x10df8c0, 0xc0000360f8, 0xf086d7, 0x3, 0xc0002a3500, 0x15, 0x0, 0x0, 0x0, ...)
	/home/dev/build/go-1.12.14/src/net/dial.go:395 +0x202
net.(*Dialer).Dial(...)
	/home/dev/build/go-1.12.14/src/net/dial.go:340
crypto/tls.DialWithDialer(0xc0004f7870, 0xf086d7, 0x3, 0xc0002a3500, 0x15, 0x0, 0x19, 0x0, 0x8a170a)
	/home/dev/build/go-1.12.14/src/crypto/tls/tls.go:130 +0x100
github.com/ProtonMail/go-pmapi.(*TLSPinning).dialAndCheckFingerprints(0xc000422410, 0xf086d7, 0x3, 0xc0002a3500, 0x15, 0x120, 0xee00a0, 0xe04001, 0xc0004ec6c0)
	/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/ProtonMail/go-pmapi/tls_pinning.go:242 +0x1f8
net/http.(*Transport).dialConn(0xc00043c5a0, 0x10df8c0, 0xc0000360f8, 0x0, 0xc00003ccf0, 0x5, 0xc0002a3500, 0x15, 0x0, 0x0, ...)
	/home/dev/build/go-1.12.14/src/net/http/transport.go:1234 +0x324
net/http.(*Transport).getConn.func4(0xc00043c5a0, 0x10df8c0, 0xc0000360f8, 0xc0005d88a0, 0xc0004f0180)
	/home/dev/build/go-1.12.14/src/net/http/transport.go:1017 +0xa6
created by net/http.(*Transport).getConn
	/home/dev/build/go-1.12.14/src/net/http/transport.go:1016 +0x455

goroutine 33 [chan receive]:
net.(*Resolver).goLookupIPCNAMEOrder(0x1aae560, 0x10df880, 0xc0003503c0, 0xc0002a3500, 0x11, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
	/home/dev/build/go-1.12.14/src/net/dnsclient_unix.go:591 +0x794
net.(*Resolver).lookupIP(0x1aae560, 0x10df880, 0xc0003503c0, 0xf086d7, 0x3, 0xc0002a3500, 0x11, 0x0, 0x0, 0xc0004b4600, ...)
	/home/dev/build/go-1.12.14/src/net/lookup_unix.go:102 +0xfb
net.glob..func1(0x10df880, 0xc0003503c0, 0xc00034f4b0, 0xf086d7, 0x3, 0xc0002a3500, 0x11, 0x0, 0x0, 0x0, ...)
	/home/dev/build/go-1.12.14/src/net/hook.go:23 +0x72
net.(*Resolver).lookupIPAddr.func1(0x0, 0x0, 0x0, 0x0)
	/home/dev/build/go-1.12.14/src/net/lookup.go:269 +0x116
internal/singleflight.(*Group).doCall(0x1aae570, 0xc0002dc690, 0xc0002a3600, 0x15, 0xc000350400)
	/home/dev/build/go-1.12.14/src/internal/singleflight/singleflight.go:95 +0x2e
created by internal/singleflight.(*Group).DoChan
	/home/dev/build/go-1.12.14/src/internal/singleflight/singleflight.go:88 +0x29d

goroutine 130 [IO wait]:
internal/poll.runtime_pollWait(0x7f71a01fdbf8, 0x72, 0xffffffffffffffff)
	/home/dev/build/go-1.12.14/src/runtime/netpoll.go:182 +0x56
internal/poll.(*pollDesc).wait(0xc000410198, 0x72, 0x200, 0x200, 0xffffffffffffffff)
	/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:87 +0x9b
internal/poll.(*pollDesc).waitRead(...)
	/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000410180, 0xc000316600, 0x200, 0x200, 0x0, 0x0, 0x0)
	/home/dev/build/go-1.12.14/src/internal/poll/fd_unix.go:169 +0x19b
net.(*netFD).Read(0xc000410180, 0xc000316600, 0x200, 0x200, 0xc0005bc6a0, 0x506f5c, 0x200)
	/home/dev/build/go-1.12.14/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc00044e128, 0xc000316600, 0x200, 0x200, 0x0, 0x0, 0x0)
	/home/dev/build/go-1.12.14/src/net/net.go:177 +0x69
net.dnsPacketRoundTrip(0x10e55c0, 0xc00044e128, 0x72702e6970615e2f, 0x6c69616d6e6f746f, 0x2e68632e, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/home/dev/build/go-1.12.14/src/net/dnsclient_unix.go:81 +0x132
net.(*Resolver).exchange(0x1aae560, 0x10df880, 0xc0003503c0, 0xc0002aa0f0, 0xa, 0x746f72702e697061, 0x632e6c69616d6e6f, 0x2e68, 0x0, 0x0, ...)
	/home/dev/build/go-1.12.14/src/net/dnsclient_unix.go:154 +0x452
net.(*Resolver).tryOneName(0x1aae560, 0x10df880, 0xc0003503c0, 0xc00029f220, 0xc0002a3860, 0x12, 0xe00001, 0x0, 0x0, 0x0, ...)
	/home/dev/build/go-1.12.14/src/net/dnsclient_unix.go:244 +0x325
net.(*Resolver).goLookupIPCNAMEOrder.func1(0x1aae560, 0x10df880, 0xc0003503c0, 0xc00029f220, 0xc00034f4e0, 0xc00056c900, 0xc0004e0001)
	/home/dev/build/go-1.12.14/src/net/dnsclient_unix.go:584 +0x90
created by net.(*Resolver).goLookupIPCNAMEOrder
	/home/dev/build/go-1.12.14/src/net/dnsclient_unix.go:583 +0x285

goroutine 131 [IO wait]:
internal/poll.runtime_pollWait(0x7f71a01fdcc8, 0x72, 0xffffffffffffffff)
	/home/dev/build/go-1.12.14/src/runtime/netpoll.go:182 +0x56
internal/poll.(*pollDesc).wait(0xc00056a318, 0x72, 0x200, 0x200, 0xffffffffffffffff)
	/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:87 +0x9b
internal/poll.(*pollDesc).waitRead(...)
	/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00056a300, 0xc0005be000, 0x200, 0x200, 0x0, 0x0, 0x0)
	/home/dev/build/go-1.12.14/src/internal/poll/fd_unix.go:169 +0x19b
net.(*netFD).Read(0xc00056a300, 0xc0005be000, 0x200, 0x200, 0xc0005ac6a0, 0x506f5c, 0x200)
	/home/dev/build/go-1.12.14/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc0004d4048, 0xc0005be000, 0x200, 0x200, 0x0, 0x0, 0x0)
	/home/dev/build/go-1.12.14/src/net/net.go:177 +0x69
net.dnsPacketRoundTrip(0x10e55c0, 0xc0004d4048, 0x72702e6970611824, 0x6c69616d6e6f746f, 0x2e68632e, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/home/dev/build/go-1.12.14/src/net/dnsclient_unix.go:81 +0x132
net.(*Resolver).exchange(0x1aae560, 0x10df880, 0xc0003503c0, 0xc0002aa0f0, 0xa, 0x746f72702e697061, 0x632e6c69616d6e6f, 0x2e68, 0x0, 0x0, ...)
	/home/dev/build/go-1.12.14/src/net/dnsclient_unix.go:154 +0x452
net.(*Resolver).tryOneName(0x1aae560, 0x10df880, 0xc0003503c0, 0xc00029f220, 0xc0002a3860, 0x12, 0x1c, 0x0, 0x0, 0x0, ...)
	/home/dev/build/go-1.12.14/src/net/dnsclient_unix.go:244 +0x325
net.(*Resolver).goLookupIPCNAMEOrder.func1(0x1aae560, 0x10df880, 0xc0003503c0, 0xc00029f220, 0xc00034f4e0, 0xc00056c900, 0xc0004e001c)
	/home/dev/build/go-1.12.14/src/net/dnsclient_unix.go:584 +0x90
created by net.(*Resolver).goLookupIPCNAMEOrder
	/home/dev/build/go-1.12.14/src/net/dnsclient_unix.go:583 +0x285

rax    0x0
rbx    0x7f71a3c94780
rcx    0x7f71a66c4605
rdx    0x0
rdi    0x2
rsi    0x7ffd209f6960
rbp    0x7ffd209f6bb8
rsp    0x7ffd209f6960
r8     0x0
r9     0x7ffd209f6960
r10    0x8
r11    0x246
r12    0x2747cc0
r13    0x0
r14    0x266cb00
r15    0x0
rip    0x7f71a66c4605
rflags 0x246
cs     0x33
fs     0x0
gs     0x0

Here's the backtrace. I figured opening an issue here first would be best before asking ProtonMail about it.

Object does not exist on archlinux

Hello,

I installed protonmail-bridge (2.1.1) via flatpak. However when I try to login I get an "invalid credentials" error and the console shows this log:

libsecret-Message: 08:45:51.892: Remote error from secret service: org.freedesktop.DBus.Error.UnknownMethod: Object does not exist at path ?/org/freedesktop/secrets/collection/login?
WARN[0000] Failed to add test credentials to keychain    error="Object does not exist at path “/org/freedesktop/secrets/collection/login”" helper="*secretservice.Secretservice"

Update description to list "Unofficial Build" or "Not supported by Proton"

I would like to start by thanking the people involved with bringing Bridge to the Flatpak world.

Unfortunately , we are getting an increasing number of reports for support with issues with the Flatpak version. It would be great if the flathub description could be updated to indicated that this in an unofficial build and not directly supported by Proton.

Should we wish to provide official releases for Flatpak in the future, we can reverse this course of action.

Official Flatpak

Is there any chance of this Flatpak becoming official, and thus becoming verified on the Flathub website? Is there anything that I can do to advance this?

Configuration window is black pane in Wayland

Symptom:

When the configuration panel is opened it shows as a black box in Wayland. Clicking and holding the top bar will allow you to drag it around, and clicking the top right where the 'X' to close is expected will close it.

image

Impact:

Users can't configure Protonmail Bridge unless they use a X11 based desktop session first.

Replication Steps:

  1. Launch a Wayland based desktop session
  2. Open Protonmail Bridge (i.e. from the Start Menu or right clicking the icon in the System Tray)

Driver notes: Proprietary Nvidia

Doesn't run at boot.

Reproduction

Install:

  1. https://download.fedoraproject.org/pub/fedora/linux/releases/test/40_Beta/Spins/x86_64/iso/Fedora-KDE-Live-x86_64-40-1.13.iso

  2. flatpak update app/ch.protonmail.protonmail-bridge/x86_64/stable --commit=a11f94091eee7084dce03a69ebfb1077edb651131efe6caaf6469c3136786208

Issue

Despite the relevant preference being enabled:

Screenshot_20240419_164106

It doesn't run at boot:

Screenshot_20240419_164421

Solution

If making the preference work isn't possible, I believe that that preference should be disabled, the user directed to use

Screenshot_20240419_164318

instead. However, were this the chosen solution, I expect that that would be an issue for upstream?

Logs not available

Currently protonmail-bridge stores its logs in ~/.local/state/protonmail/bridge. It should use XDG_CACHE_HOME/protonmail/ instead. I will report it upstream at some point.

Impossible to enable split addresses mode

The official Proton support suggests it is a flatpak issue:

OS: org.freedesktop.platform (Fedora 38)
OS Version: Freedesktop.org SDK 22.08 (Flatpak runtime)
Client: NoClient/0.0.1 (Freedesktop.org SDK 22.08 (Flatpak runtime))
Client Version: [email protected]
Title: [Bridge] Bug
User-Agent: NoClient/0.0.1 (Freedesktop.org SDK 22.08 (Flatpak runtime))
Timestamp: 1691564565
Date: 2023-08-09 07:02:45 +00:00

I cannot enable split addresses mode. When I click on the button to change it, the popup for confirmation appears. I confirm, and the popup is closed, but factually nothing changes.

Screencast.from.2023-08-09.09-00-35.webm

Proton Mail Bridge not showing up in the tray icon/notification area

This issue was mentioned in the Proton Bridge repo (ProtonMail/proton-bridge#300) but I figured that I ought to bring up the issue here as this appears to be a Flatpak-specific issue. I installed the RPM version on Fedora 36 and the tray icon shows up fine.

Issue tracker is ONLY used for reporting bugs with technical details. "It doesn't work" or new features should be discussed with our customer support. Please use bug report function in Bridge or contact [email protected].

The Proton Mail Bridge icon isn't visible in the status bar/notification area. Fedora 36 with GNOME 42.4

Expected Behavior

It used to show up in the notification area, so the expected behaviour would be that it shows up there.

Current Behavior

The program runs normally. If you press 'x' to close the window in the top-right corner, it continues to run in the background.

Possible Solution

It'd be nice to have the program show up in the notification area, instead of having to kill it using flatpak kill. Another nice-to-have would be the possibility to exit the program from within the program's main window.

Steps to Reproduce

  1. Open the GNOME menu (akin to the Windows 'Start' equivalent).
  2. Open the program 'Proton Mail Bridge'.

Version Information

2.3.0

Context (Environment)

As mentioned further up, it is kinda annoying having to manually kill the program using the CLI.

Detailed Description

Possible Implementation

"No keychain available"

Reproduction

Install:

  1. https://download.fedoraproject.org/pub/fedora/linux/releases/test/40_Beta/Spins/x86_64/iso/Fedora-KDE-Live-x86_64-40-1.13.iso

  2. flatpak update app/ch.protonmail.protonmail-bridge/x86_64/stable --commit=a11f94091eee7084dce03a69ebfb1077edb651131efe6caaf6469c3136786208

Issue

  1. Wallet Encryption

    I've set an empty wallet password:

    Screenshot_20240419_142227

  2. Non-Recognition

    However (despite that) Proton Bridge doesn't believe that the service is operative whatsoever:

    Screenshot_20240419_142139

  3. Wallet Credential Storage

    This is demonstrated by how Proton Bridge doesn't appear to be storing any credentials in it.

    Screenshot_20240419_142253

  4. Wallet Access

    However, it obviously is, because other services are accessing it:

    Screenshot_20240419_142250

Related

  1. #79 (comment)
  2. ValveSoftware/SteamOS#928 (comment).

Update to v3.0.21

Current flathub version of Proton Bridge is too old. Please consider updating the version to 3.x.

Fedora 32 Beta unable to add account

When attempting to remove an existing account or add a new account, the below message is displayed. Adding account was unsuccessful: failed to load user credentials: no credentials found for given userID.

Attempted Fixes

  • disabled selinux to see if that could be the issue but still had the same problem.
  • remove the folder in .var
  • confirmed the standard rpm from ProtonMail's website works properly.
INFO[0000] Run app                                       appLong="Protonmail Bridge" appShort=bridge args="[/app/extra/lib/protonmail/bridge/protonmail-bridge -l debug]" build="2020-03-30T23:55:07+0200" pkg=main revision=fd4f0235fb runtime=linux version=1.2.6
DEBU[Apr 10 17:41:13.099] Initializing bridge...                        pkg=main
DEBU[Apr 10 17:41:13.099] creating pass                                 pkg=bridgeUtils/keychain
DEBU[Apr 10 17:41:13.099] creating secretservice                        pkg=bridgeUtils/keychain
DEBU[Apr 10 17:41:13.109] Determined frontend mode to use               mode=qt pkg=main
INFO[Apr 10 17:41:13.109] Autostart /app/extra/lib/protonmail/bridge/protonmail-bridge  pkg=frontend-qt
INFO[Apr 10 17:41:13.110] IMAP server listening at 127.0.0.1:1143       pkg=imap
INFO[Apr 10 17:41:13.110] SMTP server is starting                       address="127.0.0.1:1025" pkg=smtp useSSL=false
INFO[Apr 10 17:41:13.110] API listening at 127.0.0.1:1042               pkg=api
DEBU[Apr 10 17:41:13.111] Starting frontend...                          pkg=main
WARN[Apr 10 17:41:13.836] GraphicsInfo of WindowTitleBar_QMLTYPE_19(0x2be5b10) api 2 majorVersion 2 minorVersion 0 profile 0 renderableType 0 shaderCompilationType 1 shaderSourceType 3 shaderType 1  pkg=frontend-qml
INFO[Apr 10 17:41:13.838] No active accounts                            pkg=frontend-qt
INFO[Apr 10 17:41:15.181] No active accounts                            pkg=frontend-qt
DEBU[Apr 10 17:50:06.859] Requesting  POST /auth/info                   pkg=pmapi userID=login
DEBU[Apr 10 17:50:07.680] Requesting  POST /auth                        pkg=pmapi userID=login
INFO[Apr 10 17:50:07.877] Set token from auth 0000000000000000000000000000000000000000:0000000000000000000000000000000REPLACED0  pkg=pmapi userID=login
DEBU[Apr 10 17:50:17.057] Requesting  POST /auth/2fa                    pkg=pmapi userID=login
DEBU[Apr 10 17:50:17.245] Requesting  GET /users                        pkg=pmapi userID=login
INFO[Apr 10 17:50:17.418] update user: rrrrrrrrrrrrrrrr--rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr=  pkg=pmapi userID=login
DEBU[Apr 10 17:50:17.418] Requesting  GET /addresses                    pkg=pmapi userID=login
DEBU[Apr 10 17:50:18.142] Requesting  GET /keys/salts                   pkg=pmapi userID=login
INFO[Apr 10 17:50:18.425] Currently have no access token, setting given one  pkg=pmapi token="0000000000000000000000000000000000000000:0000000000000000000000000000000REPLACED0" userID="rrrrrrrrrrrrrrrr--rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr="
DEBU[Apr 10 17:50:18.425] Requesting  POST /auth/refresh                pkg=pmapi userID="rrrrrrrrrrrrrrrr--rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr="
INFO[Apr 10 17:50:19.050] Set token from auth refresh 0000000000000000000000000000000000000000:0000000000000000000000000000000REPLACED0  pkg=pmapi userID="rrrrrrrrrrrrrrrr--rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr="
DEBU[Apr 10 17:50:19.050] Requesting  GET /users                        pkg=pmapi userID="rrrrrrrrrrrrrrrr--rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr="
INFO[Apr 10 17:50:19.232] update user: rrrrrrrrrrrrrrrr--rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr=  pkg=pmapi userID="rrrrrrrrrrrrrrrr--rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr="
DEBU[Apr 10 17:50:19.232] Requesting  GET /addresses                    pkg=pmapi userID="rrrrrrrrrrrrrrrr--rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr=="
INFO[Apr 10 17:50:19.928] Generating credentials for new user           pkg=bridge
DEBU[Apr 10 17:50:20.046] Creating or loading user                      pkg=bridge user="rrrrrrrrrrrrrrrr--rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr="
ERRO[Apr 10 17:50:20.048] Could not create user                         error="failed to load user credentials: no credentials found for given userID" pkg=bridge user="rrrrrrrrrrrrrrrr--rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr="
ERRO[Apr 10 17:50:20.048] Login was unsuccessful                        error="failed to load user credentials: no credentials found for given userID" pkg=frontend-qt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.