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

net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK) #527

Open
turbovladimir opened this issue Sep 24, 2024 · 0 comments
Open

net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK) #527

turbovladimir opened this issue Sep 24, 2024 · 0 comments

Comments

@turbovladimir
Copy link

Hello team! I'm using your images long time. I found it very helpful. But now I met an error net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK) in my browser, that thing affects my javascripts and... maybe... something else.
So I decided to understand how it happened and discovered that it happens when I'm using image webdevops/php-nginx-dev:8.2 with developer tools like xDebug. If I change it on webdevops/php-nginx:8.2 the problem is solved. I hope you guys help me to figure it out =)

Here is my docker configs

services:
  broker-dev:
    platform: linux/amd64
    container_name: c-broker-dev
    depends_on:
      - postgrest-dev
      - postgrest-test
    image: 'app_dev'
    build:
        context: ../
        args:
          APP_ENV_FILE: .env
          IMAGE: webdevops/php-nginx-dev:8.2
    working_dir: /app
    restart: always
    extra_hosts:
      - host.docker.internal:host-gateway
    security_opt:
      - seccomp:unconfined
    ports:
      - '${APP_PORT_DEV:-8080}:80'
    environment:
      WEB_DOCUMENT_ROOT: /app/public
      PHP_DISPLAY_ERRORS: 1
      XDEBUG_CLIENT_HOST: host.docker.internal
      XDEBUG_CLIENT_PORT: 55375
      XDEBUG_START_WITH_REQUEST: 'yes'
      PHP_IDE_CONFIG: serverName=xdebug_server
      DATABASE_URL: "postgresql://app:1234@c-postgres-dev:5432/broker?serverVersion=16&charset=utf8"
      DATABASE_TEST_URL: "postgresql://app:1234@c-postgres-test:5432/broker_test?serverVersion=16&charset=utf8"
    volumes:
      - ../:/app
    networks:
      default:
        ipv4_address: 172.30.0.5

Dockerfile:

ARG IMAGE

FROM $IMAGE
ADD . /app
WORKDIR /app
ARG APP_ENV_FILE

RUN chmod 755 -R . \
    && chown application:application -R . \
    && cat $APP_ENV_FILE > .env \
    && rm -rf .env.* \
    && ls -la \
    && cat .env

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

No branches or pull requests

1 participant