bluetooth-applet fails to connect to DUN randomly

Bug #822311 reported by Serhiy Zahoriya
46
This bug affects 8 people
Affects Status Importance Assigned to Milestone
gnome-bluetooth (Ubuntu)
Undecided
Unassigned

Bug Description

If I add my phone by selecting "Add new device" in bluetooth-applet, it does not connect to DUN with "Connection refused (111)" error in the bluetoothd log and with "Connection refused - security block" in hcidump output.
I succeded connecting only after killing bluetooth-applet (!) and setting up DUN in gnome-control-center bluetooth settings (which was inactive despite setting it up in bluetooth-applet dialog).
And now there are two "Life Standard" connections in nm-applet, only one of which is working. Will try to find the difference between them.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gnome-bluetooth 3.1.3-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-7.9-generic 3.0.0
Uname: Linux 3.0.0-7-generic i686
Architecture: i386
Date: Sun Aug 7 18:03:36 2011
ProcEnviron:
 LANG=uk_UA.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-bluetooth
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Serhiy Zahoriya (xintx-ua) wrote :
Revision history for this message
Serhiy Zahoriya (xintx-ua) wrote :

The only difference between them is the UUID:

# diff /etc/NetworkManager/system-connections/Life\ Standard*
4c4
< uuid=e4044e83-b679-4d4b-b2ef-057b9b3ee34d
---
> uuid=b76dbffd-fec9-46a0-8426-4bdb729d88a7

Successfully connects the second one.

Revision history for this message
Serhiy Zahoriya (xintx-ua) wrote :

No, it's not about uuid or bluetooth-applet, it just fails to connect randomly.

Changed in gnome-bluetooth (Ubuntu):
status: New → Invalid
Revision history for this message
Boris Brodski (brodsky-boris) wrote :

Why do you changed status to invalid. I experience the same problem after installing (not upgrading) 11.10.
In 11.04 with the same hardware DUN Dialup over bluetooth worked like a charm.

In addition to this bug with the NM: I also see two connections with the same name.
But in the "Edit connection" dialog there is only one. After deleting it, the same two connections
in the drop-down menu stays.

Revision history for this message
Serhiy Zahoriya (xintx-ua) wrote :

Try to connect multiple times. I think the problem was with the mobile operator refusing to connect. I've just written a script with nm-cli that tries to connect until success and it worked. BTW, I was in a rural area while experiencing this, are you too?

Revision history for this message
Boris Brodski (brodsky-boris) wrote :

Thank you for quick reply!

I'm in the middle of a big city. In this room with Ubuntu 11.04 and the same hardware I never needed second try for the connection. Indeed, if I try to connect with Ubuntu 11.10 about 10 times, I get the connection.

I would say, this is definitely a bug. Not a major one, but essential for the user experience. So I vote to reopen with bug in order to draw attention to this problem.

By the way, could you post your script here?

Thank you!

Changed in gnome-bluetooth (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Serhiy Zahoriya (xintx-ua) wrote :

Changing to Confirmed as it affects multiple people and works normal with previous versions.

Revision history for this message
Serhiy Zahoriya (xintx-ua) wrote :

Here is the script, but I didn't even store UUID as variable, it was just a hack.

summary: - bluetooth-applet does not store DUN connection information correctly
+ bluetooth-applet fails to connect to DUN randomly
Revision history for this message
Boris Brodski (brodsky-boris) wrote :

Thank you very much! I will test it and report here.

Changed in gnome-bluetooth (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Serhiy Zahoriya (xintx-ua) wrote :

So, why did you switch it back to Invalid?

Revision history for this message
Boris Brodski (brodsky-boris) wrote :

Sorry, I don't know, how it happens. I wanted only to be notified.

Changed in gnome-bluetooth (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Serhiy Zahoriya (xintx-ua) wrote :

What is your other device with bluetooth, BTW?
Mine is Nokia N900.

And I just noticed I have problem with obexfs too.
Possibly related to bug #839157

Revision history for this message
Boris Brodski (brodsky-boris) wrote :

I have N900 too.

This Bug #839157 is about 11.04, right? I had no problems with bluetooth on 11.04 at all.
But I have a lot of problems with bluetooth on 11.10. I didn't tried obexfs yet, but normal file transfer (using gnome-bluetooth-manager) is very unstable. It breaks bluetooth on Ubuntu and it breaks also the Nokia N900. :-(

Revision history for this message
Oliver Joos (oliver-joos) wrote :

@Boris: Yes, my bug 839157 affects 11.04 and 11.10, whereas in 10.04 and 10.10 bluetooth file transfer worked very nice (70kB/s both ways). My bug is about gnome-bluetooth-applet that NEVER works since 11.04 with my Nokia N81, and instead shows some DBusError about permission failures.

I also tried obexfs - no success.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers