after i upgrade my flutter, i can't run any code. even the sample code throw exception and don't run.
i search some, but i can't resolve this problem.
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
> Could not resolve io.flutter:flutter_embedding_debug:1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.
Required by:
project :app
> Could not resolve io.flutter:flutter_embedding_debug:1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.
> Could not get resource 'https://dl.google.com/dl/android/maven2/io/flutter/flutter_embedding_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/flutter_embedding_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Could not GET 'https://dl.google.com/dl/android/maven2/io/flutter/flutter_embedding_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/flutter_embedding_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Connect to mirror.vtwo.org:8850 [mirror.vtwo.org/5.152.221.178] failed: Connection timed out: connect
> Could not resolve io.flutter:flutter_embedding_debug:1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.
> Could not get resource 'https://jcenter.bintray.com/io/flutter/flutter_embedding_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/flutter_embedding_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Could not GET 'https://jcenter.bintray.com/io/flutter/flutter_embedding_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/flutter_embedding_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Connect to mirror.vtwo.org:8850 [mirror.vtwo.org/5.152.221.178] failed: Connection timed out: connect
> Could not resolve io.flutter:flutter_embedding_debug:1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.
> Could not get resource 'https://storage.googleapis.com/download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/flutter_embedding_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Could not GET 'https://storage.googleapis.com/download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/flutter_embedding_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Connect to mirror.vtwo.org:8850 [mirror.vtwo.org/5.152.221.178] failed: Connection timed out: connect
> Could not resolve io.flutter:flutter_embedding_debug:1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.
> Could not get resource 'https://storage.googleapis.com/download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/flutter_embedding_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Could not GET 'https://storage.googleapis.com/download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/flutter_embedding_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Connect to mirror.vtwo.org:8850 [mirror.vtwo.org/5.152.221.178] failed: Connection timed out: connect
> Could not resolve io.flutter:flutter_embedding_debug:1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.
> Could not get resource 'https://storage.googleapis.com/download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/flutter_embedding_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Could not GET 'https://storage.googleapis.com/download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/flutter_embedding_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Connect to mirror.vtwo.org:8850 [mirror.vtwo.org/5.152.221.178] failed: Connection timed out: connect
> Could not resolve io.flutter:x86_debug:1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.
Required by:
project :app
> Could not resolve io.flutter:x86_debug:1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.
> Could not get resource 'https://dl.google.com/dl/android/maven2/io/flutter/x86_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/x86_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Could not GET 'https://dl.google.com/dl/android/maven2/io/flutter/x86_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/x86_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Connect to mirror.vtwo.org:8850 [mirror.vtwo.org/5.152.221.178] failed: Connection timed out: connect
> Could not resolve io.flutter:x86_debug:1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.
> Could not get resource 'https://jcenter.bintray.com/io/flutter/x86_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/x86_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Could not GET 'https://jcenter.bintray.com/io/flutter/x86_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/x86_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Connect to mirror.vtwo.org:8850 [mirror.vtwo.org/5.152.221.178] failed: Connection timed out: connect
> Could not resolve io.flutter:x86_debug:1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.
> Could not get resource 'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/x86_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Could not GET 'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/x86_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Connect to mirror.vtwo.org:8850 [mirror.vtwo.org/5.152.221.178] failed: Connection timed out: connect
> Could not resolve io.flutter:x86_debug:1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.
> Could not get resource 'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/x86_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Could not GET 'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/x86_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Connect to mirror.vtwo.org:8850 [mirror.vtwo.org/5.152.221.178] failed: Connection timed out: connect
> Could not resolve io.flutter:x86_debug:1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.
> Could not get resource 'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/x86_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Could not GET 'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/x86_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Connect to mirror.vtwo.org:8850 [mirror.vtwo.org/5.152.221.178] failed: Connection timed out: connect
> Could not resolve io.flutter:x86_64_debug:1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.
Required by:
project :app
> Could not resolve io.flutter:x86_64_debug:1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.
> Could not get resource 'https://dl.google.com/dl/android/maven2/io/flutter/x86_64_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/x86_64_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Could not GET 'https://dl.google.com/dl/android/maven2/io/flutter/x86_64_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/x86_64_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Connect to mirror.vtwo.org:8850 [mirror.vtwo.org/5.152.221.178] failed: Connection timed out: connect
> Could not resolve io.flutter:x86_64_debug:1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.
> Could not get resource 'https://jcenter.bintray.com/io/flutter/x86_64_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/x86_64_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Could not GET 'https://jcenter.bintray.com/io/flutter/x86_64_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/x86_64_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Connect to mirror.vtwo.org:8850 [mirror.vtwo.org/5.152.221.178] failed: Connection timed out: connect
> Could not resolve io.flutter:x86_64_debug:1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.
> Could not get resource 'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_64_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/x86_64_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Could not GET 'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_64_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/x86_64_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Connect to mirror.vtwo.org:8850 [mirror.vtwo.org/5.152.221.178] failed: Connection timed out: connect
> Could not resolve io.flutter:x86_64_debug:1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.
> Could not get resource 'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_64_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/x86_64_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Could not GET 'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_64_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/x86_64_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Connect to mirror.vtwo.org:8850 [mirror.vtwo.org/5.152.221.178] failed: Connection timed out: connect
> Could not resolve io.flutter:x86_64_debug:1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.
> Could not get resource 'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_64_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/x86_64_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Could not GET 'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_64_debug/1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95/x86_64_debug-1.0.0-9d5b21729ff53dbf8eadd8bc97e0e30d77abec95.pom'.
> Connect to mirror.vtwo.org:8850 [mirror.vtwo.org/5.152.221.178] failed: Connection timed out: connect
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 11m 2s
Exception: Gradle task assembleDebug failed with exit code 1
and this is my flutter doctor
Doctor summary (to see all details, run flutter doctor -v): [√]
Flutter (Channel stable, 1.20.2, on Microsoft Windows [Version
10.0.18362.1016], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK
version 29.0.3) [√] Android Studio (version 3.5) [√] VS Code (version
1.47.2) [√] Connected device (1 available)
• No issues found!
thank's a lot for your answers
UPDATE:
I update the Gradle and the problem is solving
Related
When I am directly connected to the network of the company I am working for, I can access my server through VScode and Remote-SSH without any issue, and without any special configuration.
However, when working from home through a VPN, I cannot make it work.
I had issues connecting to ssh through VPN just using a console, but I fixed it as stated in this post.
But trying to set the same configuration within VScode did not solve my issues:
Host Server1
HostName ip_adress
HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
User user
I tried to remove the /.vscode-server and to allow the port forwarding in the /etc/ssh/sshd_conf but it did not changed anything. Here is the output:
[14:22:58.514] Log Level: 2
[14:22:58.515] remote-ssh#0.84.0
[14:22:58.515] win32 x64
[14:22:58.523] SSH Resolver called for "ssh-remote+7b22686f73744e616d65223a225254525432227d", attempt 1
[14:22:58.523] "remote.SSH.useLocalServer": false
[14:22:58.523] "remote.SSH.showLoginTerminal": false
[14:22:58.523] "remote.SSH.remotePlatform": {"10.61.46.222":"linux","10.61.44.114":"linux","TRT2":"linux","TRT1":"linux","smartag":"linux"}
[14:22:58.524] "remote.SSH.path": undefined
[14:22:58.524] "remote.SSH.configFile": undefined
[14:22:58.524] "remote.SSH.useFlock": true
[14:22:58.524] "remote.SSH.lockfilesInTmp": false
[14:22:58.524] "remote.SSH.localServerDownload": auto
[14:22:58.524] "remote.SSH.remoteServerListenOnSocket": false
[14:22:58.524] "remote.SSH.showLoginTerminal": false
[14:22:58.524] "remote.SSH.defaultExtensions": []
[14:22:58.524] "remote.SSH.loglevel": 2
[14:22:58.524] "remote.SSH.enableDynamicForwarding": true
[14:22:58.524] "remote.SSH.enableRemoteCommand": false
[14:22:58.525] "remote.SSH.serverPickPortsFromRange": {}
[14:22:58.525] "remote.SSH.serverInstallPath": {}
[14:22:58.534] SSH Resolver called for host: RTRT2
[14:22:58.534] Setting up SSH remote "RTRT2"
[14:22:58.539] Using commit id "b06ae3b2d2dbfe28bca3134cc6be65935cdfea6a" and quality "stable" for server
[14:22:58.543] Install and start server if needed
[14:24:21.844] Checking ssh with "ssh -V"
[14:24:21.933] > OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2
[14:24:21.937] Running script with connection command: ssh -T -D 49329 "RTRT2" bash
[14:24:21.941] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[14:24:22.226] > ]0;C:\WINDOWS\System32\cmd.exe
[14:24:22.226] Got some output, clearing connection timeout
[14:24:23.078] > Warning: Permanently added the RSA host key for IP address '10.61.44.114' to the
> list of known hosts.
[14:24:23.209] > bosch-user#sys-7049gp-trt2's password:
[14:24:23.210] Showing password prompt
[14:24:34.430] Got password response
[14:24:34.431] "install" wrote data to terminal: "********"
[14:24:34.447] >
[14:24:34.777] > e72b32d4eca0: running
[14:24:34.825] > Acquiring lock on /home/bosch-user/.vscode-server/bin/b06ae3b2d2dbfe28bca3134cc6
> be65935cdfea6a/vscode-remote-lock.bosch-user.b06ae3b2d2dbfe28bca3134cc6be65935cd
> fea6a
[14:24:34.834] > Found existing installation at /home/bosch-user/.vscode-server/bin/b06ae3b2d2dbf
> e28bca3134cc6be65935cdfea6a...
> Checking /home/bosch-user/.vscode-server/.b06ae3b2d2dbfe28bca3134cc6be65935cdfea
> 6a.log and /home/bosch-user/.vscode-server/.b06ae3b2d2dbfe28bca3134cc6be65935cdf
> ea6a.pid for a running server
[14:24:34.846] > Looking for server with pid: 3230141
[14:24:34.874] > Found running server...
[14:24:34.896] >
> *
> * Reminder: You may only use this software with Visual Studio family products,
> * as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057)
> *
>
> Checking server status on port 45161 with wget
> e72b32d4eca0: start
> SSH_AUTH_SOCK====
> DISPLAY====
> webUiAccessToken====
> listeningOn==45161==
> osReleaseId==ubuntu==
> arch==x86_64==
> tmpDir==/run/user/1000==
> platform==linux==
> unpackResult====
[14:24:34.901] >
> didLocalDownload==0==
> downloadTime====
> installTime====
> extInstallTime====
> serverStartTime====
> connectionToken==111111a1-1aa1-11a1-1111-11a11a111a11==
> e72b32d4eca0: end
[14:24:34.902] Received install output:
SSH_AUTH_SOCK====
DISPLAY====
webUiAccessToken====
listeningOn==45161==
osReleaseId==ubuntu==
arch==x86_64==
tmpDir==/run/user/1000==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime====
connectionToken==111111a1-1aa1-11a1-1111-11a11a111a11==
[14:24:34.902] Remote server is listening on 45161
[14:24:34.903] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":45161},"osReleaseId":"ubuntu","arch":"x86_64","webUiAccessToken":"","sshAuthSock":"","display":"","tmpDir":"/run/user/1000","platform":"linux","connectionToken":"111111a1-1aa1-11a1-1111-11a11a111a11"},"installUnpackCode":""}
[14:24:34.905] Starting forwarding server. localPort 49339 -> socksPort 49329 -> remotePort 45161
[14:24:34.905] Forwarding server listening on 49339
[14:24:34.906] Waiting for ssh tunnel to be ready
[14:24:34.906] Tunneled 45161 to local port 49339
[14:24:34.907] Resolved "ssh-remote+7b22686f73744e616d65223a225254525432227d" to "127.0.0.1:49339"
[14:24:34.907] [Forwarding server 49339] Got connection 0
[14:24:34.908] >
[14:24:34.915] ------
[14:24:34.926] [Forwarding server 49339] Got connection 1
[14:24:34.946] Failed to set up socket for dynamic port forward to remote port 45161: Socket closed. Is the remote port correct?
[14:24:34.954] > channel 3: open failed: unknown channel type: unknown channel type
[14:24:34.958] Failed to set up socket for dynamic port forward to remote port 45161: Socket closed. Is the remote port correct?
[14:24:34.966] > channel 4: open failed: unknown channel type: unknown channel type
[14:24:34.975] >
I've been developing locally by connecting to Vagrant (vartualbox) with vscode remote-ssh.
But when I restarted vagrant and tried to connect remotely
I get "Time limit reached" and "Could not fetch remote environment" and I can't connect.
I can connect with "vagrant ssh" and "ssh command", but I can't.
error log
[2020-09-11 02:37:51.947] [renderer3] [error] [remote-connection] The time limit has been reached for a connection. Error:
[2020-09-11 02:37:51.947] [renderer3] [error] Error: Time limit reached
at file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1879:292
[2020-09-11 02:37:51.947] [renderer3] [error] [remote-connection] An error occurred in the very first connect attempt, it will be treated as a permanent error! Error:
[2020-09-11 02:37:51.947] [renderer3] [error] Error: Time limit reached
at file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1879:292
[2020-09-11 02:37:52.061] [renderer3] [error] Time limit reached: Error: Time limit reached
at file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1879:292
[2020-09-11 02:37:52.221] [renderer3] [error] [remote-connection] The time limit has been reached for a connection. Error:
[2020-09-11 02:37:52.222] [renderer3] [error] Error: Time limit reached
at file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1879:292
[2020-09-11 02:37:52.222] [renderer3] [error] [remote-connection] An error occurred in the very first connect attempt, it will be treated as a permanent error! Error:
[2020-09-11 02:37:52.222] [renderer3] [error] Error: Time limit reached
at file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1879:292
[2020-09-11 02:37:52.258] [renderer3] [error] Could not fetch remote environment: Error: Could not fetch remote environment
at d.start (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5022:70)
at async k.createProcess (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5039:827)
[02:37:21.902] Starting forwarding server. localPort 55555 -> socksPort 54444 -> remotePort 43333
[02:37:21.902] Forwarding server listening on 55555
[02:37:21.902] Waiting for ssh tunnel to be ready
[02:37:21.904] [Forwarding server 55555] Got connection 0
[02:37:21.905] Tunneled remote port 43333 to local port 55555
[02:37:21.905] Resolved "ssh-remote+ruby02" to "127.0.0.1:55555"
[02:37:21.921] ------
[02:37:21.948] [Forwarding server 55555] Got connection 1
[02:37:21.949] [Forwarding server 55555] Got connection 2
[02:38:55.872] Picking SSH host
Try to do this:
Login to your remote machine
Get the PID of all vscode-server proccess running in your remote machine
Kill them
Try to login to your remote machine again via vscode ssh extension
I am getting an error when i try to stop services
Failed to connect to the controller: The controller is not available at localhost:9990: java.net.ConnectException: WFLYPRT0053: Could not connect to http-remoting://localhost:9990. The connection failed: WFLYPRT0053: Could not connect to http-remoting://localhost:9990. The connection failed: Connection refused
when i try to start services, i get below error and need to restart the server multiple times to resolve it. need a solution to avoid errors during start and stop services. we use keycloack sercurity as well
2020-02-11 19:21:01,191 WARNING [com.lgc.dsl.admin.security.controllers.DSSecurity] (default task-12) Connect to localhost:8880 [localhost/IP] failed: Connection refused (Connection refused)
2020-02-11 19:21:09,462 WARN [org.kie.server.services.impl.controller.DefaultRestControllerImpl] (KieServer-ControllerConnect) Exception encountered while syncing with controller at http:localhost:port/dsbpm-console/rest/controller/server/dsbpm-kieserver error Error while sending PUT request to localhost:port/dsbpm-console/rest/controller/server/dsbpm-kieserver response code 405
Default kie server is not showing up in the server section
2020-02-11 19:21:01,191 WARNING [com.lgc.dsl.admin.security.controllers.DSSecurity] (default task-12) Connect to localhost:8880 [localhost/IP] failed: Connection refused (Connection refused)
2020-02-11 19:21:09,462 WARN [org.kie.server.services.impl.controller.DefaultRestControllerImpl] (KieServer-ControllerConnect) Exception encountered while syncing with controller at http:localhost:port/dsbpm-console/rest/controller/server/dsbpm-kieserver error Error while sending PUT request to localhost:port/dsbpm-console/rest/controller/server/dsbpm-kieserver response code 405
Check if you have 'dsbpm-console' for 'org.kie.server.controller' property, like as:
I am getting following exception in jboss 5.1.0.GA. I have configured messaging queues in it. That setup is working correctly, but in logs i see following exception.
**
> java.io.IOException: Invalid argument (sendto failed) at
> java.net.PlainDatagramSocketImpl.send(Native Method) at
> java.net.DatagramSocket.send(DatagramSocket.java:696) at
> org.jboss.ha.jndi.DetachedHANamingService$DiscoveryRequestHandler.run(DetachedHANamingService.java:786)
> at
> org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:147)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
> at java.lang.Thread.run(Thread.java:748) 02/14 03:45:00 Error writing
> response(ERROR)
**
When i am trying to deploy my application from Eclipse am getting the following error
Deploying frontend ------------
java.net.ConnectException: Connection timed out: connect
Any idea on how to remove this ?