Skip to content

[Bug Report]: Docker Image carbone-ee:full-5.0.0 ERR_SOCKET_BAD_PORT #238

@radoen-psi

Description

@radoen-psi

Environment
Carbone Version: image: carbone/carbone-ee:full-5.0.0
Other: Using Docker Image

Expected Behaviour
the container should start

Actual Behaviour
Log from the container...

Carbone: Starting server...

Basic authentication is enabled. Use it only in a secure environment.
Authentication is on
Carbone webserver is started and listens on port NaN
Studio is on
node:net:2091
    validatePort(options.port, 'options.port');
    ^

RangeError [ERR_SOCKET_BAD_PORT]: options.port should be >= 0 and < 65536. Received type number (NaN).
    at Server.listen (node:net:2091:5)
    at /snapshot/carbone-ee/node_modules/restana/index.js:60:14
    at new Promise (<anonymous>)
    at Function.start (/snapshot/carbone-ee/node_modules/restana/index.js:58:25)
    at startServer (/snapshot/carbone-ee/lib/webserver.js)
    at /snapshot/carbone-ee/lib/webserver.js
    at /snapshot/carbone-ee/lib/helper.js
    at verifyToken (/snapshot/carbone-ee/node_modules/kitten-jwt/index.js:214:10)
    at /snapshot/carbone-ee/node_modules/kitten-jwt/index.js:230:12
    at parseToken (/snapshot/carbone-ee/node_modules/kitten-jwt/index.js:189:10) {
  code: 'ERR_SOCKET_BAD_PORT'
}

Other comments
This are the envs variable I'm using

        env:
           - name: CARBONE_EE_STUDIO
             value: 'true'
           - name: CARBONE_EE_AUTHENTICATION
             value: 'true'
           - name: APP_ROOT
             value: /app/
           - name: CARBONE_EE_LICENSE
             valueFrom:
               secretKeyRef:
                 name: carbone-license
                 key: license
           - name: CARBONE_EE_STUDIOUSER
             valueFrom:
               secretKeyRef:
                 name: carbone-user
                 key: creds
           - name: CARBONE_EE_PORT
             value: '4000'

I just updated the image from carbone-latest to carbone-latest-5.0.0 to test it but container doesn't start

Metadata

Metadata

Assignees

No one assigned

    Labels

    T: bugFunctionality that does not work as intended/expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions