Skip to content

unable to access 'https://github.com/thingsboard/flot.git/' although my network is OK #13571

Open
@zy0016

Description

@zy0016

Describe the bug
I use the maven to compile release-4.0, I get an error unable to access 'https://github.com/thingsboard/flot.git/' although my network is OK.
thingsboard version: origin/release-4.0
OS: windows 10 laptop

C:\Users\proje>mvn -version
Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Maven home: C:\apache-maven-3.9.9
Java version: 17.0.12, vendor: Oracle Corporation, runtime: C:\java\jdk-17.0.12
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows"

C:\Users\proje>
PS C:\code\git\thingsboard> mvn clean install -DskipTests
.......
[INFO] --- frontend:1.12.0:yarn (yarn install) @ ui-ngx ---
[INFO] Running 'yarn install --non-interactive --network-concurrency 4 --network-timeout 100000 --mutex network' in C:\code\git\thingsboard\ui-ngx
[INFO] yarn install v1.22.22
[INFO] [1/4] Resolving packages...
[INFO] warning Resolution field "[email protected]" is incompatible with requested version "esbuild@^0.21.3"
[INFO] [2/4] Fetching packages...
[INFO] info There appears to be trouble with your network connection. Retrying...
[INFO] error Command failed.
[INFO] Exit code: 128
[INFO] error Command failed.info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[INFO] Command: git
[INFO] Arguments: ls-remote --tags --heads https://github.com/thingsboard/flot.git
[INFO] Directory: C:\code\git\thingsboard\ui-ngx
[INFO] Output:
[INFO] fatal: unable to access 'https://github.com/thingsboard/flot.git/': Failed to connect to github.com port 443 after 21274 ms: Could not connect to server
[INFO] Process stalled
[INFO] Active handles:
[INFO] - Socket
[INFO] - Socket
[INFO] - Socket
[INFO] - Socket
[INFO] - Socket
[INFO] - Socket
[INFO] - ChildProcess
[INFO] - TLSSocket
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Thingsboard 4.0.1:
[INFO]
[INFO] Thingsboard ........................................ SUCCESS [ 16.513 s]
[INFO] Thingsboard Server Commons ......................... SUCCESS [ 1.628 s]
[INFO] Thingsboard Server Common Data ..................... SUCCESS [ 47.039 s]
[INFO] Thingsboard Server Common Utils .................... SUCCESS [ 4.581 s]
[INFO] Netty MQTT Client .................................. SUCCESS [ 4.747 s]
[INFO] Thingsboard Server Common Messages ................. SUCCESS [ 6.790 s]
[INFO] Thingsboard Server Common Protobuf and gRPC structures SUCCESS [ 25.612 s]
[INFO] Thingsboard Actor system ........................... SUCCESS [ 2.836 s]
[INFO] Thingsboard Server Stats ........................... SUCCESS [ 2.884 s]
[INFO] Thingsboard Server Common Cluster API .............. SUCCESS [ 2.715 s]
[INFO] Thingsboard Server Queue components ................ SUCCESS [ 10.216 s]
[INFO] Thingsboard Server Common Cache .................... SUCCESS [ 3.821 s]
[INFO] Thingsboard Server Commons ......................... SUCCESS [ 0.246 s]
[INFO] Thingsboard Server Common Transport components ..... SUCCESS [ 5.256 s]
[INFO] Thingsboard MQTT Transport Common .................. SUCCESS [ 9.081 s]
[INFO] Thingsboard HTTP Transport Common .................. SUCCESS [ 2.672 s]
[INFO] Thingsboard CoAP server ............................ SUCCESS [ 2.652 s]
[INFO] Thingsboard CoAP Transport Common .................. SUCCESS [ 6.595 s]
[INFO] Thingsboard LwM2M Transport Common ................. SUCCESS [ 7.555 s]
[INFO] Thingsboard SNMP Transport Common .................. SUCCESS [ 2.681 s]
[INFO] Thingsboard Server Common DAO API .................. SUCCESS [ 3.680 s]
[INFO] Thingsboard Server Remote Edge wrapper ............. SUCCESS [ 6.511 s]
[INFO] Thingsboard Server Version Control API ............. SUCCESS [ 1.944 s]
[INFO] Thingsboard Script Invoke Commons .................. SUCCESS [ 0.054 s]
[INFO] Thingsboard Server Script invoke API ............... SUCCESS [ 3.713 s]
[INFO] Thingsboard Extensions ............................. SUCCESS [ 0.210 s]
[INFO] Thingsboard Rule Engine API ........................ SUCCESS [ 3.764 s]
[INFO] Thingsboard Server JS Client for remote JS execution SUCCESS [ 1.207 s]
[INFO] ThingsBoard EDQS API ............................... SUCCESS [ 3.069 s]
[INFO] Thingsboard Server DAO Layer ....................... SUCCESS [ 28.735 s]
[INFO] Thingsboard Rule Engine Components ................. SUCCESS [ 22.773 s]
[INFO] ThingsBoard Entity Data Query Service Application .. SUCCESS [02:37 min]
[INFO] Thingsboard Server Transport Modules ............... SUCCESS [ 0.073 s]
[INFO] Thingsboard HTTP Transport Service ................. SUCCESS [ 22.060 s]
[INFO] Thingsboard MQTT Transport Service ................. SUCCESS [ 21.865 s]
[INFO] Thingsboard CoAP Transport Service ................. SUCCESS [ 30.507 s]
[INFO] Thingsboard LwM2m Transport Service ................ SUCCESS [ 33.737 s]
[INFO] Thingsboard SNMP Transport Service ................. SUCCESS [ 35.702 s]
[INFO] ThingsBoard Server UI .............................. FAILURE [ 54.368 s]
[INFO] Thingsboard Server Tools ........................... SKIPPED
[INFO] Thingsboard Rest Client ............................ SKIPPED
[INFO] ThingsBoard Server Application ..................... SKIPPED
[INFO] ThingsBoard Microservices .......................... SKIPPED
[INFO] ThingsBoard Docker Images .......................... SKIPPED
[INFO] ThingsBoard Web UI Microservice .................... SKIPPED
[INFO] ThingsBoard Version Control Executor ............... SKIPPED
[INFO] ThingsBoard Version Control Executor Microservice .. SKIPPED
[INFO] ThingsBoard Node Microservice ...................... SKIPPED
[INFO] ThingsBoard Transport Microservices ................ SKIPPED
[INFO] ThingsBoard MQTT Transport Microservice ............ SKIPPED
[INFO] ThingsBoard HTTP Transport Microservice ............ SKIPPED
[INFO] ThingsBoard COAP Transport Microservice ............ SKIPPED
[INFO] ThingsBoard LWM2M Transport Microservice ........... SKIPPED
[INFO] ThingsBoard SNMP Transport Microservice ............ SKIPPED
[INFO] ThingsBoard JavaScript Executor Microservice ....... SKIPPED
[INFO] ThingsBoard Monitoring Service ..................... SKIPPED
[INFO] ThingsBoard Monitoring Microservice ................ SKIPPED
[INFO] ThingsBoard Entity Data Query Microservice ......... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10:02 min
[INFO] Finished at: 2025-06-13T11:41:35+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.0:yarn (yarn install) on project ui-ngx: Failed to run task: 'yarn install --non-interactive --network-concurrency 4 --network-timeout 100000 --mutex network' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :ui-ngx
PS C:\code\git\thingsboard>
PS C:\code\git\thingsboard>

although my network is OK.


Disclaimer

We appreciate your contribution whether it is a bug report, feature request, or pull request with improvement (hopefully). Please comply with the Community ethics policy, and do not expect us to answer your requests immediately. Also, do not treat GitHub issues as a support channel.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions