Lybron / health-auto-export

This repository provides documentation for the API Export feature of Health Auto Export.
https://healthyapps.dev
119 stars 5 forks source link

[BUG] - #13

Closed Nag94 closed 1 year ago

Nag94 commented 2 years ago

Description Problem with authentication on Home Assistant Addon Mosquito Broker (v6.1.2) for MQTT Export.

In mosquito Broker logs, have the following :

1660474197: New connection from 192.168.1.253:60562 on port 1883. error: received null username or password for unpwd check

But, the user and password are well set in the application. All my other devices using mqtt with authentication have no problems.

Steps To Reproduce Steps to reproduce the behavior:

  1. Create a new Automation with type MQTT
  2. Set IP, port, topic, user, password
  3. Save
  4. Try Export Manually

Expected behavior Normally, MQTT connection must use the user and password , but it seems not.

iOS/watchOS :

Lybron commented 2 years ago

Thanks for reporting. I'll have a look into it and come back with any questions if I'm unable to reproduce it.

michaelblight commented 2 years ago

Maybe related to this, I created an auto-export to MQTT to run every 5 minutes. When I open it in the app, it is shown for a short time, and then crashes the app. If I go into the app and do nothing, after a while the whole app locks up and I have to force-quit it (maybe when trying to run it after 5 minutes?). I have restarted the iPhone and the problem still occurs.

As a result I think it has also stopped my existing export to Home Assistant because I only have that run every 30 minutes, and by then the app has locked. I will probably next try deleting the app and re-installing. Later... Ahh - deleting and re-installing did not help, as the auto-exports loaded again. Later still... Actually it's worse than that - now if I click on Export under Manual Sync for my Home Assistant auto-export, it does nothing. Clicking on Save says "Saved successfully", but everything else seems broken.

alphasixtyfive commented 2 years ago

I confirm getting identical error:

2022-11-02 18:20:06: New connection from 192.168.1.112:54165 on port 1883.
error: received null username or password for unpwd check
Lybron commented 1 year ago

Hi everyone, thanks for your reporting on this issue. I am currently preparing a beta to fix this issue and would appreciate if you could test it out to ensure it works before publishing on the App Store.

If you check the Health Auto Export app and navigate to Settings, there is an option to Join the TestFlight Beta if you haven't already.

The app version will be 6.4.2 and I expect it would make it through beta app review by some time tomorrow.

Lybron commented 1 year ago

Version 6.5 is now available and should resolve this issue, bug do reopen the but report if it hasn't.