mirror of
https://github.com/spr-networks/super.git
synced 2026-04-25 04:45:51 +03:00
[GH-ISSUE #366] ios: Sign in fails sometimes after an spr update #178
Labels
No labels
blocked
bug
documentation
enhancement
fixed
fixed ✅
hardening
implemented
installer
multicast
p1
p2
pending
podman
pull-request
security
testing
v1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/super#178
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @0vercl0k on GitHub (Sep 8, 2024).
Original GitHub issue: https://github.com/spr-networks/super/issues/366
Originally assigned to: @lts-po on GitHub.
So I've run into this bug several times now but it comes and go so I never really filed an issue for it. I also have limited details so here is what I have observed:
Let me know if there's any way for me to grab more useful information for you guys to figure this out :)
Cheers
@lts-rad commented on GitHub (Sep 8, 2024):
@lts-po looking into this preliminarily i think it has to do with:
api/API.js: return gApiURL || 'http://192.168.2.1/'
const handleLogin = () => {
if (Platform.OS !== 'web') {
//TODO use URL to set/parse
let url =
${protocol}//${hostname}/if (hostname.match(/mock|test/g)) {
url = 'mock'
}
}
I'm thinking something is off with the react state and this doesnt kick in when it needs to
@lts-rad commented on GitHub (Sep 9, 2024):
discussing with @lts-po this might also be happening if the API is not ready yet. so perhaps we need to add a 3rd feedback option when the API isnt available instead of saying the login failed
@0vercl0k commented on GitHub (Sep 9, 2024):
Could the web UI be working properly and the API not accessible at the same
time? Because I was able to browse the web UI from another device without
any issues!
On Mon, Sep 9, 2024 at 8:09 AM Alex Rad @.***> wrote:
@lts-rad commented on GitHub (Sep 9, 2024):
the web ui is be cached, but if you see data that means the API was working there
@lts-rad commented on GitHub (Sep 9, 2024):
Discussing further with @lts-po the thing to investigate is if it's a routing issue. suppose a client gets put onto 192.168.10.118/30, but they are unable to reach 192.168.10.1 for some reason, but they would be able to connect to the API on 192.168.10.117.
We should see under which conditions this can happen and resolve it.
The MAC filter may be blocking the request in this situation because forwarding would take effect from the VLAN
@lts-rad commented on GitHub (Sep 9, 2024):
@0vercl0k commented on GitHub (Nov 22, 2024):
I am still running into this fwiw - this time I triggered this after forgetting the network, and joining the network as a new device. Every time I try to log-in on 192...1.1, I see events that says that my device is trying to access 192...2.1 somehow.