Bitbucket pipelines Eslint-bridge Failed to connect to /127.0.0.1:40293

Good days everyone,

I have used sonarsource/sonar-scanner-cli on bitbucket pipelines to scan the pull request whenever PR created.

It runs smoothly last month, but suddenly, I got the issue related to Eslint-bridge Failed to connect to /127.0.0.1:40293 this month.

Detail log from Bitbucket here:

Images used:
    build : docker.io/atlassian/default-image@sha256:d4b1cc074a5ac1ee5d9702a536b8a8456554732df70f4b55fd85515e4b106f8d
+ nvm install 16.15.1
Downloading and installing node v16.15.1...
Downloading https://nodejs.org/dist/v16.15.1/node-v16.15.1-linux-x64.tar.xz...

#######################################################################   99.2%
######################################################################## 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v16.15.1 (npm v8.11.0)

+ docker run --rm -e SONAR_HOST_URL="$SONAR_URL" -e SONAR_LOGIN="$SONAR_TOKEN" -v "$PWD:/usr/src" sonarsource/sonar-scanner-cli -Dsonar.projectKey=$SONAR_PROJECT -Dsonar.branch.name=$BITBUCKET_BRANCH
INFO: Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties
INFO: Project root configuration file: /usr/src/sonar-project.properties
INFO: SonarScanner 5.0.1.3006
INFO: Java 17.0.8 Alpine (64-bit)
INFO: Linux 5.15.0-1055-aws amd64
INFO: User cache: /opt/sonar-scanner/.sonar/cache
INFO: **Analyzing on SonarQube server 8.9.2**
INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent)
INFO: Load global settings
INFO: Load global settings (done) | time=603ms
INFO: Server id: **server-key**
INFO: User cache: /opt/sonar-scanner/.sonar/cache
INFO: Load/download plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=107ms
INFO: Load/download plugins (done) | time=6641ms
INFO: Process project properties
INFO: Process project properties (done) | time=0ms
INFO: Execute project builders
INFO: Execute project builders (done) | time=4ms
INFO: Project key: tag-consumer-fe
INFO: Base dir: /usr/src
INFO: Working dir: /usr/src/.scannerwork
INFO: Load project settings for component key: 'project-key'
INFO: Load project settings for component key: 'project-key' (done) | time=95ms
INFO: Load project branches
INFO: Load project branches (done) | time=91ms
INFO: Load project pull requests
INFO: Load project pull requests (done) | time=295ms
INFO: Load branch configuration
INFO: Load branch configuration (done) | time=4ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=124ms
INFO: Load active rules
INFO: Load active rules (done) | time=1850ms
INFO: Branch name: **bitbucket-branch-name**
INFO: Indexing files...
INFO: Project configuration:
INFO:   Excluded sources: **/mapData/**/*, **/mapData.ts, **/svgIcons/**/*, **/assets/**/*, **/*.json
INFO:   Excluded sources for coverage: **/mapData.ts, **/mapData/**/*, **/*.json, **/assets/**/*, **/svgIcons/**/*
INFO: Load project repositories
INFO: Load project repositories (done) | time=116ms
INFO: 864 files indexed
INFO: 113 files ignored because of inclusion/exclusion patterns
INFO: 0 files ignored because of scm ignore settings
INFO: Quality profile for css: Sonar way
INFO: Quality profile for js: Sonar way
INFO: Quality profile for ts: Sonar way for FE
INFO: Quality profile for web: Sonar way
INFO: ------------- Run sensors on module project-key
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=84ms
INFO: Sensor CSS Metrics [cssfamily]
INFO: Sensor CSS Metrics [cssfamily] (done) | time=99ms
INFO: Sensor CSS Rules [cssfamily]
INFO: 2 source files to be analyzed
INFO: 2/2 source files have been analyzed
INFO: Sensor CSS Rules [cssfamily] (done) | time=2197ms
INFO: Sensor JaCoCo XML Report Importer [jacoco]
INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=15ms
INFO: Sensor JavaScript analysis [javascript]
WARN: Node.js version 18 is not supported, you might experience issues. Please use a supported version of Node.js [10, 12, 14, 15]
INFO: 12 source files to be analyzed
ERROR: Browserslist: caniuse-lite is outdated. Please run:
ERROR: npx browserslist@latest --update-db
ERROR: 
ERROR: Why you should do it regularly:
ERROR: https://github.com/browserslist/browserslist#browsers-data-updating
INFO: 12/12 source files have been analyzed
INFO: Sensor JavaScript analysis [javascript] (done) | time=6869ms
INFO: Sensor TypeScript analysis [javascript]
INFO: Found 1 https://bitbucket.org/org-id/project-id/src/b0e32c0a4752c01b2aa36a0f6dcb319ad53a5ca3/tsconfig.json file(s): [/usr/src/tsconfig.json]
INFO: Analyzing 817 files using tsconfig: /usr/src/tsconfig.json
INFO: 828 source files to be analyzed
INFO: 0/828 files analyzed, current file: https://bitbucket.org/org-id/project-id/src/b0e32c0a4752c01b2aa36a0f6dcb319ad53a5ca3/src/fileName.tsx
INFO: 0/828 files analyzed, current file: https://bitbucket.org/org-id/project-id/src/b0e32c0a4752c01b2aa36a0f6dcb319ad53a5ca3/src/fileName.tsx
INFO: 0/828 files analyzed, current file: https://bitbucket.org/org-id/project-id/src/b0e32c0a4752c01b2aa36a0f6dcb319ad53a5ca3/src/fileName.tsx
INFO: 0/828 files analyzed, current file: https://bitbucket.org/org-id/project-id/src/b0e32c0a4752c01b2aa36a0f6dcb319ad53a5ca3/src/fileName.tsx
INFO: 0/828 files analyzed, current file: https://bitbucket.org/org-id/project-id/src/b0e32c0a4752c01b2aa36a0f6dcb319ad53a5ca3/src/fileName.tsx
INFO: 0/828 files analyzed, current file: https://bitbucket.org/org-id/project-id/src/b0e32c0a4752c01b2aa36a0f6dcb319ad53a5ca3/src/fileName.tsx
ERROR: Failed to get response while analyzing https://bitbucket.org/org-id/project-id/src/b0e32c0a4752c01b2aa36a0f6dcb319ad53a5ca3/src/fileName.tsx
java.net.ConnectException: Failed to connect to /127.0.0.1:40293

Other project with the same configuration still run smoothly except this project.
Any solutions or suggestion to me is very appriciate.

Thank you very much.

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your upgrade path is:

8.9.2 → 9.9.4 → 10.4 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.