You are not logged in.

#1 2021-10-10 13:44:11

duyinthee
Member
Registered: 2015-06-14
Posts: 145

[SOLVED] viber no connection

I recently mentioned about viber at #2 in my post https://bbs.archlinux.org/viewtopic.php?id=270075 . I think since then, the viber is having problem.

I removed ~/.ViberPC and ~/.cache/'Viber Media S.à r.l' folders and started viber newly.
Viber say no connection although I have connection. I googled and found some pages about certificates and openssl-1.0 to install.
I have openssl-1.0 installed. Here check

$ pacman -Q openssl-1.0
openssl-1.0 1.0.2.u-1

And I also hove libraries

$ ls /opt/viber/lib
libcrypto.so.1.0.0         libQt5Core.so.5                    libQt5PrintSupport.so.5     libQt5WebChannel.so.5
libicudata.so.55           libQt5DBus.so.5                    libQt5QmlModels.so.5        libQt5WebEngineCore.so.5
libicui18n.so.55           libQt5EglFSDeviceIntegration.so.5  libQt5Qml.so.5              libQt5WebEngine.so.5
libicuuc.so.55             libQt5Gamepad.so.5                 libQt5QmlWorkerScript.so.5  libQt5WebSockets.so.5
libpng12.so.0              libQt5Gui.so.5                     libQt5QuickControls2.so.5   libQt5Widgets.so.5
libqrencode.so             libQt5Location.so.5                libQt5QuickParticles.so.5   libQt5XcbQpa.so.5
libQt53DAnimation.so.5     libQt5MultimediaGstTools.so.5      libQt5QuickShapes.so.5      libQt5XmlPatterns.so.5
libQt53DCore.so.5          libQt5MultimediaQuick.so.5         libQt5Quick.so.5            libssl.so.1.0.0
libQt53DInput.so.5         libQt5Multimedia.so.5              libQt5QuickTemplates2.so.5  libViberRTC.so
libQt53DLogic.so.5         libQt5MultimediaWidgets.so.5       libQt5RemoteObjects.so.5    libxcb-xinerama.so.0
libQt53DQuickScene2D.so.5  libQt5Network.so.5                 libQt5Sql.so.5              libXcomposite.so.1
libQt53DRender.so.5        libQt5OpenGL.so.5                  libQt5Svg.so.5              libXdamage.so.1
libQt5Bodymovin.so.5       libQt5PositioningQuick.so.5        libQt5VirtualKeyboard.so.5
libQt5Concurrent.so.5      libQt5Positioning.so.5             libQt5WaylandClient.so.5

I tested another viber installed on another computer running Arch Linux updated. I can open viber and send messgaes but I can not sent image and document file as I mentioned in my post recently. It was just before I removed ~/.ViberPC and ~/.cache/'Viber Media S.à r.l' folders. After removing the folders and start the viber, it says no connection as on the first computer.

If there is anyone having the same issue, could you please suggest anything to fix it.

Last edited by duyinthee (2021-10-13 04:30:34)

Offline

#2 2021-10-10 17:32:54

seth
Member
Registered: 2012-09-03
Posts: 24,103

Re: [SOLVED] viber no connection

*Move* away all those libraries (to eg. /opt/junkyard) except for libViberRTC.so and try again.

Online

#3 2021-10-11 00:53:18

duyinthee
Member
Registered: 2015-06-14
Posts: 145

Re: [SOLVED] viber no connection

Tested. Moved all those libraries except libViberRTC.so and start viber. But the viber won't start. It says

viber: error while loading shared libraries: libqrencode.so: cannot open shared object file: No such file or directory 

Last edited by duyinthee (2021-10-11 00:58:57)

Offline

#4 2021-10-11 06:39:22

seth
Member
Registered: 2012-09-03
Posts: 24,103

Online

#5 2021-10-13 04:30:09

duyinthee
Member
Registered: 2015-06-14
Posts: 145

Re: [SOLVED] viber no connection

Yeah, I moved back libqrencode.so to its location at /opt/viber/lib and start viber. Does not work. The viber mention another library file is required.

But it was fixed today. It is related or not, I am not sure. I changed DHCP client dhcpcd to dhclient for Network Manager today.
Change in /etc/NetworkManager/conf.d/dhcp-client.conf as below;

[main]
dhcp=dhclient

as it is here https://wiki.archlinux.org/title/Networ … HCP_client

Now the viber sees the connection. Thanks...

Last edited by duyinthee (2021-10-13 04:31:53)

Offline

Board footer

Powered by FluxBB