Giter Site home page Giter Site logo

Comments (20)

bgoncal avatar bgoncal commented on September 23, 2024

Can you reproduce the issue?

from ios.

litronics avatar litronics commented on September 23, 2024

Good question.
There is no action we can take to reproduce it directly.
It just happens when the app is not used for some time.

from ios.

bgoncal avatar bgoncal commented on September 23, 2024

Good question. There is no action we can take to reproduce it directly. It just happens when the app is not used for some time.

So it happened more than once?

from ios.

litronics avatar litronics commented on September 23, 2024

Yes, otherwise I would have thought that we might made a mistake while configuring the server.

As said earlier - there is no specific action we can take to reproduce this.
After configuring the server the app works fine with no issues.

After not using the app for a while, the server configuration is gone and we need to reconfigure the server. I don't know the exact time required to loose the server configuration but I guess its either some background task, a wakeup procedure after reactivating the app or an IOs issue with the storage causing that issue.

Just as a side note - there is enough free space on the iphone and it shouldn't be an issue to store the configuration :)

Is there some kind of log I can turn on, which logs all what happens when the app is not actively used?

from ios.

bgoncal avatar bgoncal commented on September 23, 2024

In the App settings inside "Debugging" you can find a button to export logs, when this happens again please do so (after login of course)

from ios.

litronics avatar litronics commented on September 23, 2024

2024-05-27_12.34.11+0200.logs.zip

These are the logs from the App. There are some errors but I don't know if they are related to our issue.

from ios.

bgoncal avatar bgoncal commented on September 23, 2024

So it happened again?

from ios.

litronics avatar litronics commented on September 23, 2024

actually yes - we just didn't use the app for a few hours and had to reconfigure the server.

Here the new logs:
2024-05-27_19.10.56+0200.logs.zip

from ios.

bgoncal avatar bgoncal commented on September 23, 2024

Let's try deleting the App from the devices that have the problem, rebooting and installing the latest App Store version 2024.5

from ios.

litronics avatar litronics commented on September 23, 2024

Unfortunately the same behaviour.

Here the logs:
2024-05-29_22.52.19+0200.logs.zip

from ios.

zacwest avatar zacwest commented on September 23, 2024

You're signed in as a local only user. Accessing outside your local network is expected to fail.

from ios.

litronics avatar litronics commented on September 23, 2024

You're signed in as a local only user. Accessing outside your local network is expected to fail.

You may be right. But that is not the issue.
The issue is that HA starts as it hasn't been connected to ANY sever previously. After an hour not using HA it just forgets all configured connections.

I am also sure that this is not the issue, because it is working wit our other iPhone. Therefore I am sure that this is somehow related to some kind of setting or permission or whatever on that phone.

from ios.

fenderle avatar fenderle commented on September 23, 2024

I have the same issue here with my phone and my wife's phone. It's super annoying and started a while ago. Not exactly sure when. Everything is at the latest version.

I just deleted and reinstalled the app with cleaning all the data, also revoking all refresh tokens and disabling the ip banning in HA.

from ios.

mundschenk-at avatar mundschenk-at commented on September 23, 2024

I think the issue is triggered when it can't access the configured (external) address a certain number of times. I can reproduce it at will when switching between a non-WiFi network that is allowed to access the server and a WiFi network that is not.

from ios.

litronics avatar litronics commented on September 23, 2024

I think the issue is triggered when it can't access the configured (external) address a certain number of times. I can reproduce it at will when switching between a non-WiFi network that is allowed to access the server and a WiFi network that is not.

Interesting idea - however, we do have two iPhones, one is working the other one shows that behavior. Therefore I would guess, that accessing the address is not the issue.

from ios.

mundschenk-at avatar mundschenk-at commented on September 23, 2024

It may not be the only trigger for the issue, but it apparently is a trigger.

from ios.

litronics avatar litronics commented on September 23, 2024

Funny thing though - after updating HA Core to a newer version it works now and both iPhones are connected without any issues.

Currently we are running version: 2024.6.2

from ios.

mundschenk-at avatar mundschenk-at commented on September 23, 2024

@litronics That might have removed the trigger for your case, but not the general issue. I am running 2024.6.4 and I can (unfortunately) still reproduce the issue whenever I am on the wrong network.

from ios.

litronics avatar litronics commented on September 23, 2024

@mundschenk-at That seem to be a different issue than mine. Probably it would be a good idea to open a new issue. There you can describe precisely how you are able to reproduce that issue.
In our case we just didn't use the app for some time. But in your case you seem to be connected to the wrong network - this could be a standard behavior from the app.

from ios.

mundschenk-at avatar mundschenk-at commented on September 23, 2024

It's not the wrong network per se, just one not authorized. I don't think the app should ever delete the configuration without prompting by the user.

Not sure when I'll have the time to create a new issue since I am on the road (which is why I noticed), but OK.

from ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.