Skip navigation

Messages not keeping history

2032 Views 24 Replies Latest reply: Jul 29, 2013 12:38 PM by Ralph Johns (UK) RSS
1 2 Previous Next
apalaistras Level 1 Level 1 (10 points)
Currently Being Moderated
Jul 12, 2013 6:57 AM

I am having a very weird issue with the Messages app.

 

It will not keep history of the chat after I close down the application and open it up again. This is what I have done so far.

 

- Deleted relevant .plists, Saved Application State folder, Repaired Permissions, Re-installed 10.8.4 Combo Update, deleted the app from terminal, re-installed the app using Pacifist from the downloaded 10.8 app from the App Store, and also updated the "Pacified" Messages app, using Pacifist again.

 

Still any messages will get deleted after i start up.

 

In ~/Library/Messages/Archive I can find all of the messages normally.

OS X Mountain Lion (10.8.4)
  • Ralph Johns (UK) Level 9 Level 9 (66,840 points)
    Currently Being Moderated
    Jul 13, 2013 1:10 PM (in response to apalaistras)

    HI,

     

    So you have open chats or iMessages conversation in the main Message Window (The Tabbed chat and Interface window).

     

    You then shut down the App (either for end of day or as a test)

    The open chats are left "On display" as it were.

     

    However on restarting the app the Chats or conversations are no longer showing.

     

    In a Finder window navigate to that Archive folder.

    Then go to the View Menu > Show Path bar

    Now do a Get Info an the dated Folder for the last saved Chat  (Highlight the folder and then use CMD + i keys)

    Use the Path bar and right click the Archive folder itself, the Messages folder and the Library folder in turn and select Get Info in the Pop up menu.

     

    In each Case do you have Read and Write Permissions ?

    If you highlight your name then use the cogwheeel type icon does this say "Make yourshortname (Me) the owner" but is greyed out (As if already done as you do Own it) ?

     

    If you can "launch" them from there it would appear they are being written properly and that you have permission to Read them.

    Technically there is only your Drop box that has Write Only Permissions (and that is for other people to leave things in your Public folder.)

     

    Your Post implies rather than states that Messages > Preferences > Messages has the Save on Closing option set.

     

     

    3Sigcopy2.png
    9:10 pm      Saturday; July 13, 2013

     

      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Ralph Johns (UK) Level 9 Level 9 (66,840 points)
    Currently Being Moderated
    Jul 15, 2013 2:08 PM (in response to apalaistras)

    Hi,

     

    Did you check the onwnership of the containing folders ?

    Ownership.png

    I doubt these are an issue if the Saved items are in the Archive.

     

    Shut down Messages

    Open Terminal (Applications/Utilities)

    Copy and paste the bold text below in to Terminal.

     

    /Applications/Messages.app/Contents/MacOS/Messages -errorLogLevel 7

     

    This will launch Messages bit also create a Log in Terminal about what it is doing.

    There will be a long log created up to the point Buddy Lists log in.

    The Terminal Log will then pause just after some lines about the ComNAT  settings.

     

    You can use Messages like normal and more log will be created.  (the longest being for Video chat connections).

     

    Close Messages first.

    Copy Log in parts  (Split it up into the different actions such as Start up)

    Post here (you may want to annonomize  (Not sure I spelt that right and spellcheck is no help) it somewhat (put xxxx where your ID or a Buddy's ID appears) )

     

     

     

    3Sigcopy2.png
    10:08 PM      Monday; July 15, 2013

     

      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Ralph Johns (UK) Level 9 Level 9 (66,840 points)
    Currently Being Moderated
    Jul 17, 2013 2:00 PM (in response to apalaistras)

    HI,

     

    First thing

     

    152652.028287 BWD Configuration Data: snatmap.apple.com (16384/1)

    152652.028317 Connect to bwd server:16384/1 from configuration file.

    152652.028680 BWD_GetBandwidth: SendRequest (from :16393)

    152652.279734 BWD_GetBandwidth: SendRequest (from :16393)

    152652.530813 BWD_GetBandwidth: SendRequest (from :16393)

    152652.781893 BWD_GetBandwidth: SendRequest (from :16393)

    152653.032978 BWD_GetBandwidth: SendRequest (from :16393)

    152653.283268 BWD_GetBandwidth: SendRequest (from :16393)

    152653.534337 BWD_GetBandwidth: SendRequest (from :16393)

    152653.785231 BWD_GetBandwidth: SendRequest (from :16393)

    152654.035430 BWD_GetBandwidth: SendRequest (from :16393)

    152654.285646 BWD_GetBandwidth: SendRequest (from :16393)

    152654.536255 BWD_GetBandwidth: GotResponse

    152654.536285 BWD_Get: signal failed

    152654.536304 BWD GetBW failed.

    152654.536310 GotBandwidth: 0/0 (up/down) @P?7

    152654.536346 BWD bandwidth: 0 kbits up, 0 kbits down.

    152654.536350 videoNetworkCapable: 0 -- 0 max participants.

    152654.536352 audioNetworkCapable: 0 -- 0 max participants.

    152654.536367 Focus Capability (after BWD):

    152654.536370      audioHardwareCapable = 1

    152654.536373      maxAudioParticipantsBasedOnHardware = 9

    152654.536375      audioNetworkCapable = 0

    152654.536378      maxAudioParticipants = 0

    152654.536381      canBeAudioMultipointParticipant = 1

    152654.536383      videoHardwareCapable = 1

    152654.536386      maxVideoParticipantsBasedOnHardware = 3

    152654.536388      videoNetworkCapable = 0

    152654.536390      maxVideoParticipants = 0

    152654.536393      canBeVideoMultipointParticipant = 1

    152654.536395      detectedUpstreamKbits = 0

    152654.536398      detectedDownstreamKbits = 0

    152654.536400 Sending VCCapabilitiesDidChangeNotification

    152654.536421 BWD: Launched thread done.

     

    When it starts up Messages cannnot see an Internet connection.

    As you can see it is trying to test on port 16393

    I would check this is allowed in your router.

    Normally outgoing requests like this are allowed Out.

    What you might be blocking is the return.

     

    Second bit.

     

    In the 2 Hour section you have this

     

    2013-07-17 17:14:47.176 Messages[834:707] VCNetworkMonitorCallback: localIP's = (

        "10.147.106.65",

        "10.147.106.77",

        "fe80::1",

        "::1",

        "fe80::129a:ddff:fea5:2fa7",

        "fe80::ca2a:14ff:fe20:e433"

     

    The basic IP and Media Access Card numbers appear to show you are using both Ethernet and Wifi

     

    An IP starting with a 10 is on a LAN issued by a router somewhere.

    The fact you are listing in Messages that it can see two IPs is not good.  (in fact it is Bad).

    Messages needs to be on one IP and connected to the internet in a linear fashion.

    Double routers can also cause issues depending on set up.

     

    It's actually in the top log as well

     

    recv[196724->225000]

    152651.149708 Start listening on 10.147.106.77:16402(en0) sock 100

    152651.149748 VTP set fd(16) buf size send[9216->225000] recv[196724->225000]

    152651.149791 Start listening on 10.147.106.65:16402(en1) sock 101

    152651.149803 2 valid interfaces found.

    en0 is normally Ethernet and en1 is Wifi

     

    In Messages > Preferences > Veideo section the Bandwidth Limit is set to 500kbps

     

    152651.950203 BWD: Using QuickTime value: 500000

    152651.950213 BWD bandwidth: 500 kbits up, 500 kbits down.

    The Qucktime references is to the older method of setting the Streaming rate in a Preference Pane for Quicktime that used to be in System Preferences.

    The Bandwidth Limit effected this setting and is listed as the controlling factor.

    However it's not the issue about not finding Internet Speed.

     

    The earlier issues  lead to this pause

     

    152654.654737 in callback

    152654.654765 -sdRef 0x7f94c26478d0 ?

    152654.654778 -flags = 00000000

    152654.654780 -IFIndex 0 ?

    152654.654783 -errorCode == 00000000

    152654.654787 -publicAddr == 0.0.0.0

    152654.654789 -proto == 16

    152654.654792 -privPort == 16402

    152654.654794 -publPort == 0

    152654.654796 -ttl == 0

    152706.152016 CommNAT no result

    152706.152245 142 routing table entries found.

    152706.152255 IPv4 DEFAULT route, if_idx:4

    152706.152266 IPv4 DEFAULT route, if_idx:5


    It is supposed to pause at the commNAT bit but that is supposed to list a lot more about the connection

     

     

    3Sigcopy2.png
    10:00 PM      Wednesday; July 17, 2013

     

      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Ralph Johns (UK) Level 9 Level 9 (66,840 points)
    Currently Being Moderated
    Jul 18, 2013 1:09 PM (in response to apalaistras)

    HI,

     

    When you start up the Messages app it checks the Bandwidth (Internet Connection Speed) as you can see.

    It is retuning a 0/0 (nothing up and nothing down scenario) result.

     

    Although the Bonjour Text chat is only over the local LAN the app checks the speed over the internet.

    In fact as it uses the same Connection Process and Protocols it actually needs internet Access to do VIdeo chats.

     

    This log is using an older iChat 3 and 4 port

     

    152416.704279 BWD Configuration Data: snatmap.apple.com (16384/1)

    152416.704301 Connect to bwd server:16384/1 from configuration file.

    152417.036736 BWD_GetBandwidth: SendRequest (from :16384)

    152417.287791 BWD_GetBandwidth: SendRequest (from :16384)

    152417.537947 BWD_GetBandwidth: SendRequest (from :16384)

    152417.788119 BWD_GetBandwidth: SendRequest (from :16384)

    152418.039156 BWD_GetBandwidth: SendRequest (from :16384)

    152418.289627 BWD_GetBandwidth: SendRequest (from :16384)

    152418.540031 BWD_GetBandwidth: SendRequest (from :16384)

    152418.791111 BWD_GetBandwidth: SendRequest (from :16384)

    152419.042190 BWD_GetBandwidth: SendRequest (from :16384)

    152419.293280 BWD_GetBandwidth: SendRequest (from :16384)

    152419.543933 BWD_GetBandwidth: GotResponse

    152419.543962 BWD_Get: signal failed

    152419.543983 BWD GetBW failed.

    152419.543996 GotBandwidth: 0/0 (up/down) @

    152419.544021 BWD bandwidth: 0 kbits up, 0 kbits down.

    152419.544025 videoNetworkCapable: 0 -- 0 max participants.

    152419.544028 audioNetworkCapable: 0 -- 0 max participants.

     

    I have bolded the Port listsing in some lines.

     

    It is actually testing against an Apple server

    Little Snitch results

    Screen Shot 2013-07-18 at 9.00.07 PM.png

    I am sure this is the snatmap.mac.com server used to connect Audio Only, Video Chats and Screen Sharing connections.

     

    The app does not know that you are going to only be using Bonjour and is testing the ability of the whole app.

     

     

    3Sigcopy2.png
    9:09 PM      Thursday; July 18, 2013

     

      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Ralph Johns (UK) Level 9 Level 9 (66,840 points)
    Currently Being Moderated
    Jul 19, 2013 12:38 PM (in response to apalaistras)

    HI,

     

    On the Originating History issue this would not be the cause - or at least not directly.

     

    The various Logs suggests there might be something deeper that is an issue but is currently masked by the fact the app cannot complete a Speed test.

     

    The GUID does look like it fulfils the format for an Account of some sort  but as you say it is not one listed in the Logs at all.

    I can only see about 2 there I think it is.

    How many accounts do you have in Messages ?

    iMessages and Bonjour would get you two to start with. (count only those Logged in)

     

    AS you use Pacifist before and then updated the OS (with Combo version ?) to update the app I would suggest Downloading and Installing the Combo version of OS X 10.8.4 over what you have.

    This can provide a sort of "maintenance" to hard to track down problems.

     

    If this does not work I would use the Restore option and reinstall the whole OS and Apple Apps (it will be at the latest versions)

     

     

     

     

     

    3Sigcopy2.png
    8:38 PM      Friday; July 19, 2013

     

      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

    "Limit the Logs to the Bits above Binary Images."  No, Seriously

1 2 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.