You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/01/20 11:25:42 UTC

[GitHub] [superset] ImAbhishekTomar opened a new issue #18107: Docker Image Error

ImAbhishekTomar opened a new issue #18107:
URL: https://github.com/apache/superset/issues/18107


   Hi, 
   
   I am trying to build a superset docker image "docker-compose.yml" but it's giving me an error & "docker-compose-non-dev.yml" image is building successfully.
   
   > docker-compose -f docker-compose.yml up -d --build
   
   ### ERROR
   ![Screenshot 2022-01-20 at 4 54 17 PM](https://user-images.githubusercontent.com/6933841/150329790-cef4399c-5862-45a1-9527-bd28600f8ad3.png)
   
   ```
   ☁  superset [master] ⚡  docker-compose -f docker-compose.yml up -d --build
   WARNING: The CYPRESS_CONFIG variable is not set. Defaulting to a blank string.
   Building superset-websocket
   [+] Building 82.5s (8/9)                                                                                                                                                    
    => [internal] load build definition from Dockerfile                                                                                                                   0.0s
    => => transferring dockerfile: 44B                                                                                                                                    0.0s
    => [internal] load .dockerignore                                                                                                                                      0.0s
    => => transferring context: 35B                                                                                                                                       0.0s
    => [internal] load metadata for docker.io/library/node:16                                                                                                             2.3s
    => [internal] load build context                                                                                                                                      0.0s
    => => transferring context: 1.80kB                                                                                                                                    0.0s
    => [1/5] FROM docker.io/library/node:16@sha256:4b0b5c3db44f567d5d25c80a6fe33a981d911cdae20b39d2395be268aea2cb97                                                       0.0s
    => CACHED [2/5] WORKDIR /home/superset-websocket                                                                                                                      0.0s
    => CACHED [3/5] COPY . .                                                                                                                                              0.0s
    => ERROR [4/5] RUN npm ci                                                                                                                                            80.1s
   ------                                                                                                                                                                      
    > [4/5] RUN npm ci:                                                                                                                                                        
   #8 1.019 npm WARN EBADENGINE Unsupported engine {                                                                                                                           
   #8 1.020 npm WARN EBADENGINE   package: 'superset-websocket@0.0.1',                                                                                                         
   #8 1.020 npm WARN EBADENGINE   required: { node: '^16.9.1', npm: '^7.5.4' },                                                                                                
   #8 1.021 npm WARN EBADENGINE   current: { node: 'v16.13.2', npm: '8.1.2' }
   #8 1.021 npm WARN EBADENGINE }
   #8 79.99 npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE
   #8 79.99 npm ERR! errno UNABLE_TO_VERIFY_LEAF_SIGNATURE
   #8 79.99 npm ERR! request to https://registry.npmjs.org/yn/-/yn-3.1.1.tgz failed, reason: unable to verify the first certificate
   #8 80.01 
   #8 80.01 npm ERR! A complete log of this run can be found in:
   #8 80.01 npm ERR!     /root/.npm/_logs/2022-01-20T11_23_34_538Z-debug.log
   ------
   executor failed running [/bin/sh -c npm ci]: exit code: 1
   ERROR: Service 'superset-websocket' failed to build : Build failed
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] RivkaRoth commented on issue #18107: Docker Image (docker-compose.yml) Error | UNABLE_TO_VERIFY_LEAF_SIGNATURE

Posted by GitBox <gi...@apache.org>.
RivkaRoth commented on issue #18107:
URL: https://github.com/apache/superset/issues/18107#issuecomment-1021001518


   I have the same error :(


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] RivkaRoth commented on issue #18107: Docker Image (docker-compose.yml) Error | UNABLE_TO_VERIFY_LEAF_SIGNATURE

Posted by GitBox <gi...@apache.org>.
RivkaRoth commented on issue #18107:
URL: https://github.com/apache/superset/issues/18107#issuecomment-1021001518


   I have the same error :(


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] ad-m commented on issue #18107: Docker Image (docker-compose.yml) Error | UNABLE_TO_VERIFY_LEAF_SIGNATURE

Posted by GitBox <gi...@apache.org>.
ad-m commented on issue #18107:
URL: https://github.com/apache/superset/issues/18107#issuecomment-1025011138


   @ImAbhishekTomar The screenshot you have shown clearly indicates that the problem you reported has nothing to do with the Apache Superset project. The Apache Superset has been excluded from the equation and the problem persists. It is most likely related to the modification of network traffic by the network provider.
   
   Contact your local network administrator or local IT administrator for detailed guidance on how you can get uninterrupted Internet access from Docker through your workstation.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] ad-m commented on issue #18107: Docker Image (docker-compose.yml) Error | UNABLE_TO_VERIFY_LEAF_SIGNATURE

Posted by GitBox <gi...@apache.org>.
ad-m commented on issue #18107:
URL: https://github.com/apache/superset/issues/18107#issuecomment-1021433178


   @ImAbhishekTomar @RivkaRoth this looks like local networks hijack. Are you using corporate network (where some weird https-hijack might happen) or home network?
   
   Could you try run on that via affected network:
   
   ```bash
   docker run -w /media/ docker.io/library/node:16 npm install yn
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] katana8911 commented on issue #18107: Docker Image (docker-compose.yml) Error | UNABLE_TO_VERIFY_LEAF_SIGNATURE

Posted by GitBox <gi...@apache.org>.
katana8911 commented on issue #18107:
URL: https://github.com/apache/superset/issues/18107#issuecomment-1024737601


   Was getting this exact error as well, turned out to be the inability of the docker container running superset to be able to reach the internet to download and install packages.
   If you need a proxy to reach the internet, have a look at the following:  https://docs.docker.com/network/proxy/
   after creating the .docker/config.json and putting in the proxy details, and re-running 
   "docker-compose -f docker-compose.yml" threw the same error, and then after a min, began installing the packages it needed, and then superset dev was able to start.
   
   Experienced a secondary issue, which was that after superset started, and logging in, there was no dashboard, just a X and a close icon.
   
   This was resolved by doing:
   docker-compose down
   docker-compose build
   docker-compose up
   
   Then the dev container started up as expected with all the example dashboards.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] ImAbhishekTomar commented on issue #18107: Docker Image (docker-compose.yml) Error | UNABLE_TO_VERIFY_LEAF_SIGNATURE

Posted by GitBox <gi...@apache.org>.
ImAbhishekTomar commented on issue #18107:
URL: https://github.com/apache/superset/issues/18107#issuecomment-1023010463


   @ad-m  ![Screenshot 2022-01-27 at 2 40 45 PM](https://user-images.githubusercontent.com/6933841/151327774-02485309-5f7e-465a-a566-9801eab8923b.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org