Coder Social home page Coder Social logo

Comments (6)

kdrag0n avatar kdrag0n commented on June 28, 2024 1

Please share a screenshot of the exact error message you're seeing when trying to connect to a domain that isn't working.

Also, a sample project to reproduce this would be helpful.

from orbstack.

lucidNTR avatar lucidNTR commented on June 28, 2024

short update: it is more reliable to "fix" this problem by quitting orbstack and restarting orbstack than the containers, which might sometimes work and take a while to load on the first reload of the page, while quitting and restarting the orbstack application seems to make the domain resolve immediately after the restart. (screenshots comming asap)

from orbstack.

janfjohannes avatar janfjohannes commented on June 28, 2024

im closig this issue as i cannot reproduce anymore since switching to the canary update channel of orbstack. i will reopen if the issue reappears.

from orbstack.

janfjohannes avatar janfjohannes commented on June 28, 2024

unfortunately the issue reappeared
Screenshot 2024-05-03 at 00 22 54
Screenshot 2024-05-02 at 23 24 23

from orbstack.

janfjohannes avatar janfjohannes commented on June 28, 2024

my docker compose example is here, though it feels this is is happening to all my setups.
so far the issue appeared always after around 1 day the latest
(the "git" service is just an nginx standard image proxying to the gitea instance)

version: '3.7'
name: lix
services:
  git:
    restart: always
    container_name: git
    image: git:12
    hostname: git
    ports: [ "8000" ]
    labels: [ dev.orbstack.domains=git.local ]
    entrypoint: /start.sh
    build:
      context: ./server/git-test-server
      dockerfile: Dockerfile
    networks:
      - lix
    user: root

  gitea:
    labels: [ dev.orbstack.domains=gitea.local ]
    image: gitea/gitea:1.21.11
    container_name: gitea
    hostname: gitea
    environment:
      - USER_UID=1000
      - USER_GID=1000
    restart: always
    networks:
      - lix
    volumes:
      - ./gitea:/data
    ports:
      - "3000:3000"

  runner:
    restart: always
    container_name: gitea-runner
    hostname: runner
    image: gitea/act_runner:nightly
    environment:
      CONFIG_FILE: /config.yaml
      GITEA_INSTANCE_URL: "http://gitea.local:3000"
      GITEA_RUNNER_REGISTRATION_TOKEN: "token"
      GITEA_RUNNER_NAME: "local"
      GITEA_RUNNER_LABELS: ""
    volumes:
      - ./gitea/runner/config.yaml:/config.yaml
      - ./gitea/runner:/data
      - /var/run/docker.sock:/var/run/docker.sock

networks:
  lix:
    driver: bridge

volumes:
  pnpm-store: {}

from orbstack.

janfjohannes avatar janfjohannes commented on June 28, 2024

i could not 100% confirm sleep mode does have a connection, but it seems that dns failing is always reproducible after a longer time of sleep mode of the macbook

from orbstack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.