Skip to content

Feature support url http or https #9

@thanatpp

Description

@thanatpp

Hi @BearTS ,

I encountered an issue when trying to load URLs in the app on iOS devices. If the URL uses HTTP (not HTTPS), the app fails to load it and logs the following error:

{"level":"INFO","message":"User tapped View Logs from Accounts error","context":"AccountsView","timestamp":"2025-10-25T17:24:26Z"}
{"message":"Error Domain=NSURLErrorDomain Code=-1022 \"The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.\" UserInfo={NSLocalizedDescription=The resource could not be loaded because the App Transport Security policy requires the use of a secure connection., NSErrorFailingURLStringKey=<redacted>budgets\/8ee53191-c363-4785-9853-5818187f4883\/accounts, NSErrorFailingURLKey=<redacted>budgets\/8ee53191-c363-4785-9853-5818187f4883\/accounts, _NSURLErrorRelatedURLSessionTaskErrorKey=(\n    \"LocalDataTask <1D3E7385-CF7B-4445-9536-39827666FF6D>.<1>\"\n), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <1D3E7385-CF7B-4445-9536-39827666FF6D>.<1>, NSUnderlyingError=0x1175d1f50 {Error Domain=kCFErrorDomainCFNetwork Code=-1022 \"(null)\"}}","metadata":{"errorType":"NSURLError","localizedDescription":"The resource could not be loaded because the App Transport Security policy requires the use of a secure connection."},"context":"DashboardView.load","timestamp":"2025-10-25T17:25:07Z","level":"ERROR"}
{"context":"DashboardView.load","level":"ERROR","timestamp":"2025-10-25T17:25:21Z","message":"Error Domain=NSURLErrorDomain Code=-1022 \"The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.\" UserInfo={NSLocalizedDescription=The resource could not be loaded because the App Transport Security policy requires the use of a secure connection., NSErrorFailingURLStringKey=<redacted>budgets\/8ee53191-c363-4785-9853-5818187f4883\/accounts, NSErrorFailingURLKey=<redacted>budgets\/8ee53191-c363-4785-9853-5818187f4883\/accounts, _NSURLErrorRelatedURLSessionTaskErrorKey=(\n    \"LocalDataTask <B38AA354-F92E-4E09-AB9A-A9819A6318B2>.<1>\"\n), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <B38AA354-F92E-4E09-AB9A-A9819A6318B2>.<1>, NSUnderlyingError=0x1105a8e10 {Error Domain=kCFErrorDomainCFNetwork Code=-1022 \"(null)\"}}","metadata":{"errorType":"NSURLError","localizedDescription":"The resource could not be loaded because the App Transport Security policy requires the use of a secure connection."}}```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions