Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] socket.gaierror: [Errno -3] Temporary failure in name resolution #85

Open
1 task done
khoadang06 opened this issue Mar 12, 2025 · 4 comments
Open
1 task done

Comments

@khoadang06
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When i'm going through kasm install wizard, this error showed up

12e2db9200f3 Pull complete 
kasm_api Pulled 
Traceback (most recent call last):
  File "logging/config.py", line 608, in configure
  File "logging/config.py", line 876, in configure_handler
  File "logging/handlers.py", line 864, in __init__
  File "logging/handlers.py", line 916, in createSocket
  File "socket.py", line 976, in getaddrinfo
socket.gaierror: [Errno -3] Temporary failure in name resolution

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "server.py", line 245, in <module>
  File "logging/config.py", line 942, in dictConfig
  File "logging/config.py", line 615, in configure
ValueError: Unable to configure handler 'syslog'
[PYI-1:ERROR] Failed to execute script 'server' due to unhandled exception!

Expected Behavior

No response

Steps To Reproduce

Install from linuxserver.io compose

Environment

- OS: TrueNAS Scale Electric Eel
- How docker service was installed: docker compose

CPU architecture

x86-64

Docker creation

services:
  kasm:
    image: lscr.io/linuxserver/kasm:latest
    container_name: kasm
    privileged: true
    restart: unless-stopped
    # security_opt:
    #   - apparmor:rootlesskit #optional
    environment:
      - KASM_PORT=4443
      # - DOCKER_HUB_USERNAME=USER #optional
      # - DOCKER_HUB_PASSWORD=PASS #optional
      - DOCKER_MTU=1500 #optional
    group_add:
     - "999"
    volumes:
      - ${WORKING_DIR}/kasm/data:/opt
      - ${WORKING_DIR}/kasm/profiles:/profiles #optional
      - /dev/input:/dev/input #optional
      - /run/udev/data:/run/udev/data #optional
    ports:
      - 3008:3000
      - 4443:4443
    dns:
      - 8.8.8.8
      - 1.1.1.1

Container logs

`
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    911
User GID:    911
───────────────────────────────────────

....+...+..+.+..............+...+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+............+....+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+.........+...+..+.+..+.............+...+.....+....+......+......+.....+..........+......+..+.+..+.........+....+............+..+.....................+.......+.....+.........+.+..+.......+...+........+....+......+..+...+.......+..+.+..............+.+...+.....+......+...+...+.........+....+..+.......+........+.......+..+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
....+...+........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+.+.....+...............+.+........+......+.+........+....+..+.+.....+.........+.+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+...+.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
[custom-init] No custom files found, skipping...
[ls.io-init] done.
{
  security_opt: [ 'seccomp=unconfined' ],
  entrypoint: [ '/kasminit' ],
  user: 1000,
  environment: { HOME: '/home/kasm-user' }
}
time="2025-03-12T02:29:23Z" level=error msg="2025/03/12 02:29:23 INFO  : Serving unix socket: /run/docker/plugins/rclone.sock" plugin=70c14c8c3eadf3b7460ba9b81a3767b01d127aef1d0fd25e606277aad04c0fd9
time="2025-03-12T02:29:37Z" level=info msg=" * Serving Flask app 'plugin'" plugin=069b1f91fc255292630ac66c52387117bb79b3fd5df55777acdacb7eb3cfcbfb
time="2025-03-12T02:29:37Z" level=info msg=" * Debug mode: on" plugin=069b1f91fc255292630ac66c52387117bb79b3fd5df55777acdacb7eb3cfcbfb
time="2025-03-12T02:30:33.580600885Z" level=error msg="copy stream failed" error="io: read/write on closed pipe" stream=stdin
`
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@GreymatterPrison
Copy link

GreymatterPrison commented Mar 26, 2025

I am having the same issue. I reached out to Truenas Github team and was advised it was a DNS issue. I also reached out to the Linuxserver i.o. team on discord and was advised to reach out to the Kasm team. I have had no resolution to this issue and it seems I am not the only one. kasmtech/workspaces-issues#716

@khoadang06
Copy link
Author

I am having the same issue. I reached out to Truenas Github team and was advised it was a DNS issue. I also reached out to the Linuxserver i.o. team on discord and was advised to reach out to the Kasm team. I have had no resolution to this issue and it seems I am not the only one. kasmtech/workspaces-issues#716

Well, i ended deploy 1 vm instance and install kasm workspaces on that

@GreymatterPrison
Copy link

GreymatterPrison commented Mar 27, 2025

I am having the same issue. I reached out to Truenas Github team and was advised it was a DNS issue. I also reached out to the Linuxserver i.o. team on discord and was advised to reach out to the Kasm team. I have had no resolution to this issue and it seems I am not the only one. kasmtech/workspaces-issues#716

Well, i ended deploy 1 vm instance and install kasm workspaces on that

Check my issue again. I just updated it, it seems as tho setting the root dataset preset to apps was causing the issue for me. If I set it to generic or leave it to ix-volumes under the app install section it installs fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Issues
Development

No branches or pull requests

2 participants