H
Homarr16mo ago
Nitin

Same app not ping-able from different configs

I have a mobile config in addition to the default, but one app shows as pingable in the default config, but not in the mobile config.
19 Replies
Nitin
NitinOP16mo ago
Looking at the downloaded config files, it looks like the working config has 2 entries for the app in question(?), where the mobile (broken) config only has one for the app
Manicraft1001
Manicraft100116mo ago
Are the internal URLs of both apps exactly the same?
Nitin
NitinOP16mo ago
So maybe my config file was corrupted somehow? Yes, the URLs are identical in all 3(!) entries: 2 in default, 1 in mobile I did see some application exceptions while editing text on a mobile device. Maybe corruption during/after crash? never mind, it looks like the URL appears in 2 entries in both files Hmm, the name field in the broken file has different values for the two entries, where in the working file, the name field is identical in both entries
Manicraft1001
Manicraft100116mo ago
Can you send the JSON of the apps here? Please remove any URLs or credentials that you don't want to post
Nitin
NitinOP16mo ago
sure, let me review the files..
Nitin
NitinOP16mo ago
uploaded (I think..)
Nitin
NitinOP16mo ago
The problematic entry is "kuma.svc.domain.com" in mobile, works in default
Meierschlumpf
Meierschlumpf16mo ago
Is any of the pings on mobile working? If not the issue might lie in a wrong implementation for configs other than default: const configName = getCookie('config-name'); is used in the ping function and then it tries to find the app id. If it of course uses the default configuration it will not be able to find it and so throw an NOT_FOUND error. No issue with your config, more one with our implementation. Will be fixed in the next release if so
Nitin
NitinOP16mo ago
Thanks. Please let me know if you need me write up an issue or something And pings work for all the other apps in the mobile config
Meierschlumpf
Meierschlumpf16mo ago
Can you check your server logs and share them here? I guess there is an other issue
Nitin
NitinOP16mo ago
Here are the docker logs:
Meierschlumpf
Meierschlumpf16mo ago
Thanks I'll check them tomorrow Can you maybe check if it works when you add the status code 401 to the ok status codes? If it doesn't help you could also create a backup of your configurations and try if it works on dev.
Thomas
Thomas16mo ago
@nitin9641
Nitin
NitinOP16mo ago
The 401s in my log were for another app that required a username/password. I tried adding those to the unpingable app and it didn't work is there a docker image for dev, or do I have to build from source? Just took a chance that ghcr.io/ajnart/homarr:dev exists, and it appears to And the bug is gone! Same configs, but now all the pings are gree n
Manicraft1001
Manicraft100116mo ago
Nice. Please note, that dev will be less stable, @nitin9641
Nitin
NitinOP16mo ago
Makes sense. If I want/need to switch back, I'l restore my configs from the :latest build first
Manicraft1001
Manicraft100116mo ago
Sure. Just always make sure, that you have a copy of your config as a backup, in case anything goes wrong. Let us know if you need any further help 👍
Nitin
NitinOP16mo ago
Thanks for the help!
Meierschlumpf
Meierschlumpf16mo ago
Great!
Want results from more Discord servers?
Add your server