[GH-ISSUE #1381] barrier config screen doesn't save "Server IP" if it is a hostname? #1070

Closed
opened 2026-05-05 07:25:59 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @EricCousineau-TRI on GitHub (Nov 3, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1381

What happened?

I configure addresses in /etc/hosts.
When I place a hostname in there (not an IP address), it works, but does not save the config upon restart.

However, if I use the IP address, it does save.

Version

From Git HEAD or commit (specify below)

Git commit hash (if applicable)

gac5a1bfd

If applicable, where did you install Barrier from?

$ snap info barrier | grep installed
installed:          2.4.0-4-gac5a1bfd            (682) 57MB -

What OSes are you seeing the problem on? (Check all that apply)

Linux

What OS versions are you using?

Ubuntu 18.04, 20.04

Relevant log output

From client:

[2021-11-03T11:05:16] INFO: starting client
[2021-11-03T11:05:16] INFO: config file: /tmp/Barrier.Lh3605
...
[2021-11-03T11:05:16] NOTE: started client
[2021-11-03T11:05:16] NOTE: connecting to '<server_hostname>': <server_ip>:24800
[2021-11-03T11:05:16] INFO: OpenSSL 1.1.1  11 Sep 2018
...
connected to server
[2021-11-03T11:05:18] INFO: entering screen

From server:

[2021-11-03T11:05:16] NOTE: accepted client connection
[2021-11-03T11:05:16] NOTE: client "<client_hostname>" has connected


### Any other information

Aside from config, seems fine.

Does not seem related to #546
Originally created by @EricCousineau-TRI on GitHub (Nov 3, 2021). Original GitHub issue: https://github.com/debauchee/barrier/issues/1381 ### What happened? I configure addresses in `/etc/hosts`. When I place a hostname in there (not an IP address), it works, but does not save the config upon restart. However, if I use the IP address, it does save. ### Version From Git HEAD or commit (specify below) ### Git commit hash (if applicable) gac5a1bfd ### If applicable, where did you install Barrier from? ``` $ snap info barrier | grep installed installed: 2.4.0-4-gac5a1bfd (682) 57MB - ``` ### What OSes are you seeing the problem on? (Check all that apply) Linux ### What OS versions are you using? Ubuntu 18.04, 20.04 ### Relevant log output ```shell From client: [2021-11-03T11:05:16] INFO: starting client [2021-11-03T11:05:16] INFO: config file: /tmp/Barrier.Lh3605 ... [2021-11-03T11:05:16] NOTE: started client [2021-11-03T11:05:16] NOTE: connecting to '<server_hostname>': <server_ip>:24800 [2021-11-03T11:05:16] INFO: OpenSSL 1.1.1 11 Sep 2018 ... connected to server [2021-11-03T11:05:18] INFO: entering screen ``` From server: ``` [2021-11-03T11:05:16] NOTE: accepted client connection [2021-11-03T11:05:16] NOTE: client "<client_hostname>" has connected ``` ``` ### Any other information Aside from config, seems fine. Does not seem related to #546
gitea-mirror 2026-05-05 07:25:59 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@EricCousineau-TRI commented on GitHub (Nov 3, 2021):

Nvm. Just didn't save config 🤦

<!-- gh-comment-id:959386409 --> @EricCousineau-TRI commented on GitHub (Nov 3, 2021): Nvm. Just didn't save config :facepalm:
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#1070
No description provided.