config.py: BUTTERBOX_DEFAULT_IP incorrect for AMD64 or non-hotspot use #31
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: butter/butter-portal#31
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?
The current value for BUTTERBOX_DEFAULT_IP = "10.3.141.1" is used within the DeltaChat add account "dclogin:" URIs, making that flow fail.
However, this IP can be incorrect for AMD64 or Pi boxes where the hotspot is not in use. This value should be dynamically set based on the box hostname, or manually configurable.
I have pushed a potential fix here that switches to dynamic IP lookup:
8bb7792ee3Want to ensure this doesn't break RPi/Hotspot mode vs AMD64/LAN mode