← Back to team overview

desktop-packages team mailing list archive

[Bug 1454625] [NEW] Cannot send MMS messages with combined contexts with WiFi enabled

 

Public bug reported:

Cannot send MMS messages with combined contexts in case the WiFi is
enabled, for some operators. Combined contexts are able to handle
internet data and MMS data. For the operator for which I've seen the
bug, the data is:

$ /usr/share/ofono/scripts/list-contexts
[ /ril_0 ]
    [ /ril_0/context1 ]
        Password = 
        MessageCenter = http://www.pepephone.com
        Name = MMS Pepephone
        Username = 
        Protocol = ip
        Preferred = 0
        IPv6.Settings = { }
        Settings = { }
        MessageProxy = 10.138.255.43:8080
        Type = internet
        AccessPointName = gprs.pepephone.com
        Active = 0

Sending an MMS with cellular data and WiFi enabled fails for this
operator when using a combined context. Disabling WiFi I was able to
send the MMS.

The error I see in ~/.cache/upstart/dbus.log is:

E0513 09:55:03.254148  4565 file_upload.cpp:345] Upload ID{
d0e5da6eb7664d908ab49b810ff55e01 }  http://www.pepephone.com
ERROR::Network error UnknownNetworkError: an unknown network-related
error was detected

The interface that were up when the failure happened were:

$ ifconfig 
rmnet_usb0 Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:10.60.155.62  Mask:255.255.255.0
          inet6 addr: fe80::8159:5668:797f:eed7/64 Scope:Link
          UP RUNNING  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:829 (829.0 B)  TX bytes:1052 (1.0 KB)

wlan0     Link encap:Ethernet  HWaddr 10:68:3f:7a:92:d5  
          inet addr:192.168.1.40  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::1268:3fff:fe7a:92d5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:355 errors:0 dropped:0 overruns:0 frame:0
          TX packets:186 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:51241 (51.2 KB)  TX bytes:18951 (18.9 KB)

See attached the tcpdump of the packets sent when this happened. Some
quick analysis shows that the uploader is sending through the WiFi
(192.168.1.40) instead of using 10.60.155.62, so it is clearly a routing
problem. The MMS proxy has private address 10.138.255.43 so it is not
reachable from WiFi.

Found in mako vivid-proposed image #195.

** Affects: network-manager (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ubuntu-download-manager (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "mms-combined-mako-fail.pcap"
   https://bugs.launchpad.net/bugs/1454625/+attachment/4396705/+files/mms-combined-mako-fail.pcap

** Also affects: network-manager (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1454625

Title:
  Cannot send MMS messages with combined contexts with WiFi enabled

Status in network-manager package in Ubuntu:
  New
Status in ubuntu-download-manager package in Ubuntu:
  New

Bug description:
  Cannot send MMS messages with combined contexts in case the WiFi is
  enabled, for some operators. Combined contexts are able to handle
  internet data and MMS data. For the operator for which I've seen the
  bug, the data is:

  $ /usr/share/ofono/scripts/list-contexts
  [ /ril_0 ]
      [ /ril_0/context1 ]
          Password = 
          MessageCenter = http://www.pepephone.com
          Name = MMS Pepephone
          Username = 
          Protocol = ip
          Preferred = 0
          IPv6.Settings = { }
          Settings = { }
          MessageProxy = 10.138.255.43:8080
          Type = internet
          AccessPointName = gprs.pepephone.com
          Active = 0

  Sending an MMS with cellular data and WiFi enabled fails for this
  operator when using a combined context. Disabling WiFi I was able to
  send the MMS.

  The error I see in ~/.cache/upstart/dbus.log is:

  E0513 09:55:03.254148  4565 file_upload.cpp:345] Upload ID{
  d0e5da6eb7664d908ab49b810ff55e01 }  http://www.pepephone.com
  ERROR::Network error UnknownNetworkError: an unknown network-related
  error was detected

  The interface that were up when the failure happened were:

  $ ifconfig 
  rmnet_usb0 Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
            inet addr:10.60.155.62  Mask:255.255.255.0
            inet6 addr: fe80::8159:5668:797f:eed7/64 Scope:Link
            UP RUNNING  MTU:1500  Metric:1
            RX packets:4 errors:0 dropped:0 overruns:0 frame:0
            TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000 
            RX bytes:829 (829.0 B)  TX bytes:1052 (1.0 KB)

  wlan0     Link encap:Ethernet  HWaddr 10:68:3f:7a:92:d5  
            inet addr:192.168.1.40  Bcast:192.168.1.255  Mask:255.255.255.0
            inet6 addr: fe80::1268:3fff:fe7a:92d5/64 Scope:Link
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            RX packets:355 errors:0 dropped:0 overruns:0 frame:0
            TX packets:186 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:100 
            RX bytes:51241 (51.2 KB)  TX bytes:18951 (18.9 KB)

  See attached the tcpdump of the packets sent when this happened. Some
  quick analysis shows that the uploader is sending through the WiFi
  (192.168.1.40) instead of using 10.60.155.62, so it is clearly a
  routing problem. The MMS proxy has private address 10.138.255.43 so it
  is not reachable from WiFi.

  Found in mako vivid-proposed image #195.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1454625/+subscriptions


Follow ups

References