Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect to F5 device using the extension version 3.17.0 #891

Open
sanjew opened this issue Nov 12, 2024 · 0 comments
Open

Unable to connect to F5 device using the extension version 3.17.0 #891

sanjew opened this issue Nov 12, 2024 · 0 comments
Labels
bug Something isn't working untriaged Issue needs to be reviewed for validity

Comments

@sanjew
Copy link

sanjew commented Nov 12, 2024

Environment

  • Application Services Version: 3.17.0
  • BIG-IP Version: 16.1.0

Summary

Unable to connect to the device using the extension code. It was working few days ago.

Steps To Reproduce

Install 3.17.0 and try to connect to F5 device


2. Observe the following error response:
6 [2024-11-12T18:42:59.101Z] [INFO]: atc release version already checked today, returning cache from c:\Users\skesari\.vscode\extensions\f5devcentral.vscode-f5-3.17.0\cache\atcVersions.json
7 [2024-11-12T18:42:59.102Z] [INFO]: ------ Environment Variables ------
8 [2024-11-12T18:42:59.102Z] [INFO]: F5_CONX_CORE_CACHE=c:\Users\skesari\.vscode\extensions\f5devcentral.vscode-f5-3.17.0\cache
9 [2024-11-12T18:42:59.102Z] [INFO]: F5_CONX_CORE_EXT_HTTP_AGENT=vscode-f5/3.17.0
10 [2024-11-12T18:42:59.102Z] [INFO]: F5_CONX_CORE_REJECT_UNAUTORIZED=false
11 [2024-11-12T18:42:59.102Z] [INFO]: F5_TELEMETRY_DEBUG=yes
12 [2024-11-12T18:42:59.102Z] [INFO]: F5_VSCODE_LOG_LEVEL=INFO
13 [2024-11-12T18:42:59.102Z] [INFO]: F5_VSCODE_TEEM=true
14 [2024-11-12T18:42:59.108Z] [INFO]: loading tmos -> xc rules file
15 [2024-11-12T18:43:08.349Z] [INFO]: selected device { device: 'user@device', provider: 'tmos' }
16 [2024-11-12T18:43:10.762Z] [INFO]: HTTPS-REQU [w4iy]: post -> https://device:443/mgmt/shared/authn/login
17 [2024-11-12T18:43:10.763Z] [ERROR]: token request failed: Protocol "http:" not supported. Expected "https:"
18 [2024-11-12T18:43:10.764Z] [ERROR]: Connect/Discover failed [TypeError: Protocol "http:" not supported. Expected "https:"
	at new NodeError (node:internal/errors:371:5)
	at new ClientRequest (node:_http_client:158:11)
	at request (node:https:353:10)
	at patched (c:\Program Files\Microsoft VS Code\resources\app\node_modules.asar\vscode-proxy-agent\out\index.js:298:24)
	at Object.httpsWithTimer [as request] (c:\Users\skesari\.vscode\extensions\f5devcentral.vscode-f5-3.17.0\node_modules\f5-conx-core\dist\bigip\mgmtClient.js:70:49)
	at dispatchHttpRequest (c:\Users\skesari\.vscode\extensions\f5devcentral.vscode-f5-3.17.0\node_modules\f5-conx-core\node_modules\axios\dist\node\axios.cjs:2932:21)
	at c:\Users\skesari\.vscode\extensions\f5devcentral.vscode-f5-3.17.0\node_modules\f5-conx-core\node_modules\axios\dist\node\axios.cjs:2622:5
	at new Promise (<anonymous>)
	at wrapAsync (c:\Users\skesari\.vscode\extensions\f5devcentral.vscode-f5-3.17.0\node_modules\f5-conx-core\node_modules\axios\dist\node\axios.cjs:2602:10)
	at http (c:\Users\skesari\.vscode\extensions\f5devcentral.vscode-f5-3.17.0\node_modules\f5-conx-core\node_modules\axios\dist\node\axios.cjs:2640:10)
	at Axios.dispatchRequest (c:\Users\skesari\.vscode\extensions\f5devcentral.vscode-f5-3.17.0\node_modules\f5-conx-core\node_modules\axios\dist\node\axios.cjs:3623:10)
	at processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async Axios.request (c:\Users\skesari\.vscode\extensions\f5devcentral.vscode-f5-3.17.0\node_modules\f5-conx-core\node_modules\axios\dist\node\axios.cjs:3872:14)
	at Axios.request (c:\Users\skesari\.vscode\extensions\f5devcentral.vscode-f5-3.17.0\node_modules\f5-conx-core\node_modules\axios\dist\node\axios.cjs:3877:41)
	at processTicksAndRejections (node:internal/process/task_queues:96:5)] {
  code: 'ERR_INVALID_PROTOCOL'
}

### Expected Behavior
Should connect to the device 

### Actual Behavior
Not able to connect
@sanjew sanjew added bug Something isn't working untriaged Issue needs to be reviewed for validity labels Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged Issue needs to be reviewed for validity
Projects
None yet
Development

No branches or pull requests

1 participant