You are not logged in.

#1 2018-04-24 17:12:03

schwim
Member
From: Western NC, US
Registered: 2015-09-29
Posts: 156
Website

[SOLVED]Pidgin "Waiting for network connection" on Ubu

Hi there everyone!

I've got a problem with Pidgin. I use it with the purple2 facebook plugin because my wife insists on using FB to talk to me and I don't want to have the FB page open to read and respond.  I've used it successfully with multiple OS installs and have it open in my Lubuntu install at the moment but when I installed it to the Ubuntu minimal install, the FB module fails the SSL handshake logging in and Pidgin says "Waiting for network connection".  I've searched for this and I've found two commonalities on my search results:

1) Nobody seems to have had this problem in the last 9 years

2) Pidgin support and others mention something called "Network monitor" on Ubuntu being the cause for the issue.  I can't find a network monitor application on the install though.  Searching for an app named something like that doesn't come up with anything either for me.

Starting it with "pidgin -f" does bypass the network check, removing the "Waiting for network" message but the FB plugin still fails to log the account in so that does not fix it.

So it works on the latest Lubuntu build but doesn't work on the latest Ubuntu server install which leads me to believe that I'm either missing a package or I've got one I shouldn't.

Does anyone have an idea of what I might be able to do to get it working?

Thanks for your time!

Last edited by schwim (2018-04-29 00:50:55)


Schw.im! A social site with an identity crisis.

Offline

#2 2018-04-24 23:20:29

DeepDayze
Member
From: In Linux Land
Registered: 2017-05-28
Posts: 442

Re: [SOLVED]Pidgin "Waiting for network connection" on Ubu

Looks like Facebook seems to no longer support pidgin client as a valid application and also they've changed the protocol many times over the years.  I've had the same issue so I all but stopped using Pidgin as many of the protocols have pretty much gone dead, like Yahoo and MSN.


Real Men Use Linux

Offline

#3 2018-04-24 23:26:01

schwim
Member
From: Western NC, US
Registered: 2015-09-29
Posts: 156
Website

Re: [SOLVED]Pidgin "Waiting for network connection" on Ubu

Sorry deep, but this is completely not the case here. Pidgin is throwing the awaiting network error which is completely unrelated to the FB plugin. As for the FB plugin,  FB dropped XMPP support but the plugin has worked for anyone that has used it for years and is actually developed by an FB employee.  It's working on three of my machines and I only have the problem on this new Ubu minimal install.


Schw.im! A social site with an identity crisis.

Offline

#4 2018-04-25 01:18:03

stevep
MX Linux Developer
Registered: 2016-08-08
Posts: 299

Re: [SOLVED]Pidgin "Waiting for network connection" on Ubu

What version of Pidgin are you using?

Offline

#5 2018-04-25 01:21:16

schwim
Member
From: Western NC, US
Registered: 2015-09-29
Posts: 156
Website

Re: [SOLVED]Pidgin "Waiting for network connection" on Ubu

Sorry, that would have helped:

Pidgin 2.12.0 (libpurple 2.12.0) On patched Ubuntu 18.04


Schw.im! A social site with an identity crisis.

Offline

#6 2018-04-26 13:09:14

schwim
Member
From: Western NC, US
Registered: 2015-09-29
Posts: 156
Website

Re: [SOLVED]Pidgin "Waiting for network connection" on Ubu

So I managed to remember my ICQ number from decades ago and tried to log into it.  It failed and I found the relevant info in the logs:

(08:39:30) certificate: Successfully verified certificate for api.icq.net
(08:39:30) util: request constructed
(08:39:33) util: Writing file accounts.xml to directory /home/schwim/.purple
(08:39:33) util: Writing file /home/schwim/.purple/accounts.xml
(08:39:45) util: Response headers: 'HTTP/1.1 200 OK
Server: nginx
Date: Thu, 26 Apr 2018 12:39:46 GMT
Content-Type: text/xml
Content-Length: 253
Connection: close
Vary: Accept-Encoding
Pragma: no-cache
Cache-Control: no-store,no-cache,must-revalidate

'
(08:39:45) util: parsed 253
(08:39:45) oscar: startOSCARSession response statusCode was 408: <?xml version="1.0" encoding="UTF-8"?>
<response xmlns="http://developer.aim.com/xsd/aim.xsd"><statusCode>408</statusCode><statusText>Request Timeout</statusText><data><ts>1524746386</ts><upgradeData></upgradeData><betaData></betaData></data></response>
(08:39:45) connection: Connection error on 0x555f8ad96240 (reason: 16 description: Received unexpected response from https://api.icq.net/aim/startOSCARSession: Request Timeout)
(08:39:45) account: Disconnecting account 24546XXX (0x555f8a77e570)
(08:39:45) connection: Disconnecting connection 0x555f8ad96240
(08:39:45) oscar: Signed off.
(08:39:45) connection: Destroying connection 0x555f8ad96240
(08:39:50) util: Writing file accounts.xml to directory /home/schwim/.purple
(08:39:50) util: Writing file /home/schwim/.purple/accounts.xml

I've posted a bug report in their tracker but wanted to post this here in case someone might have an idea on why this is only happening in one of four of my linux installs.

Last edited by schwim (2018-04-26 13:27:49)


Schw.im! A social site with an identity crisis.

Offline

#7 2018-04-26 19:24:17

schwim
Member
From: Western NC, US
Registered: 2015-09-29
Posts: 156
Website

Re: [SOLVED]Pidgin "Waiting for network connection" on Ubu

I think I may be onto something.  During my searches, I kept finding references to "NetworkMonitor" causing problems but found no solutions to my problem.  Today, I happened to look up at my system icons and my network icon was an exclamation point.  When I clicked it, I saw "device not managed" so I began searching that.

I found tons of solutions like this voted solution but these files and details no longer reflect a modern Ubuntu install.  I did find that the fix is to empty this file and I did try all of those fixes but while I continue to have a connection, I still get the error.

So I think figuring out this problem might also solve my pidgin problem.

Does anyone have a suggestion for solving my "device not managed" issue?

Last edited by schwim (2018-04-26 19:40:03)


Schw.im! A social site with an identity crisis.

Offline

#8 2018-04-26 21:48:15

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,024

Re: [SOLVED]Pidgin "Waiting for network connection" on Ubu

Check /etc/Networkmanager/NetworkManager.conf
ensure that managed=True
Then in /etc/network/interfaces, ensure it looks like this:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

That should get NetworkManager working.

Offline

#9 2018-04-26 23:18:49

schwim
Member
From: Western NC, US
Registered: 2015-09-29
Posts: 156
Website

Re: [SOLVED]Pidgin "Waiting for network connection" on Ubu

Hi there TK, this is what I found in interfances:

# ifupdown has been replaced by netplan(5) on this system.  See
# /etc/netplan for current configuration.
# To re-enable ifupdown on this system, you can run:
#    sudo apt install ifupdown

Do I need to install ifupdown or should I be making a change in netplan instead?


Schw.im! A social site with an identity crisis.

Offline

#10 2018-04-27 02:11:59

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,024

Re: [SOLVED]Pidgin "Waiting for network connection" on Ubu

Oh this is Ubuntu stuff. The unmanaged bit and the icon lead me to believe that NetworkManager is not working, however. So the above stanzas should work. You especially want NetworkManager to manage the connection if you are planning to use it. /etc/netplan should have a very similar configuration, just in yaml.

Offline

#11 2018-04-27 13:02:30

schwim
Member
From: Western NC, US
Registered: 2015-09-29
Posts: 156
Website

Re: [SOLVED]Pidgin "Waiting for network connection" on Ubu

Well, I've done the following:

Installed ifupdown and reboot.  No joy.

Looked into netplan:

# This file is generated from information provided by
# the datasource.  Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
    ethernets:
        enp0s3:
            addresses: []
            dhcp4: true
    version: 2

and created a file /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with nothing but "network: {config: disabled}" inside then rebooted.

Still no joy.

So my current situation is that I installed ifupdown, network manager is set to use it if this file is to be believed:

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true

[device]
wifi.scan-rand-mac-address=no

and I've disabled netplan by adding the file.

I'm still receiving the "device not managed" message in the panel icon.

I made a backup of the OS before making the changes so can roll back if needed.

If anyone has any more suggestions, I would be very grateful, I'm having to message back and forth with my wife either on the phone, which is hard because of a tremor or FB in a browser, which is not handy at all.

Thanks for your time!


Schw.im! A social site with an identity crisis.

Offline

#12 2018-04-28 12:50:47

schwim
Member
From: Western NC, US
Registered: 2015-09-29
Posts: 156
Website

Re: [SOLVED]Pidgin "Waiting for network connection" on Ubu

Bumping this in the hopes of more ideas as I'm all duckduckgo'ed out.  My last resort is to try installing a minimal 17.10 iso which is the latest version I have a working Pidgin for, spend hours getting it the way I want it and then upgrading to 18.04. I'd love to skip those hours if I could though smile


Schw.im! A social site with an identity crisis.

Offline

#13 2018-04-29 00:50:34

schwim
Member
From: Western NC, US
Registered: 2015-09-29
Posts: 156
Website

Re: [SOLVED]Pidgin "Waiting for network connection" on Ubu

Solved this by installing Pidgin and the FB plugin to the Windows host because it just works.


Schw.im! A social site with an identity crisis.

Offline

Board footer

Powered by FluxBB