-
Notifications
You must be signed in to change notification settings - Fork 14
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
[BUG] Error running command f5.addHost: command 'f5.addHost' not found. #206
Comments
Hi @bbusner ! Thanks for opening this issue. All the details you provide still indicate, to me, that there is something wrong the the main vscode installation. For some reason, the extension is not fully activating. In some rare instances, I have had to not only uninstall vscode, but also delete the directory and remaining files. Maybe even a host computer reboot. Are you on windows, linux or mac? This thread has some details about the different locations |
VSCode: 1.77.2 VSCode: 1.75.1 Hello @DumpySquare we are getting same issue as @bbusner on multiple devices, running on Windows. |
I've just hit this issue as well. |
@walterk82 . Thanks. All the signs still point to a problem with vscode itself. Are you seeing any issues with any of the other extensions installed? Have you tried to uninstall vscode and re-install? |
I uninstalled the F5 extension, VS Code and deleted %APPDATA%\Code and %USERPROFILE%.vscode as documented in the Clean Uninstall section here: https://code.visualstudio.com/docs/setup/uninstall. I then installed the latest VS Code followed by the F5 extension. I still get the same errors. It seems that all the errors from clicking on things within the F5 extension window are due to the extension not activating. I see this when I open Dev Tools : I installed the official Python extension as well as F5 Networks iRules extension and confirmed that they both work as expected. I'm not sure what would be unique about my installation. My laptop is configured to use a corporate HTTP proxy, but the errors do not appear to be related to any HTTP requests and it didn't seem to have trouble installing the extension through the Marketplace. |
thank everyone. I do have this extension loader that is there just tell me how long it takes to load the extension. I wanted to some visibility into when the extension was starting todo a bit too much at load time. https://github.com/f5devcentral/vscode-f5/blob/main/src/extLoader.ts I will look at bypassing this for the next release to see if this gets things working for you. |
fix in the pending 3.13 release |
I performed a full uninstall of the extension and VSCode then reinstalled the latest VS Code (1.79.2) and the updated F5 extension (v3.13.0). I see the same behavior as before. My Runtime status indicates it is 'Not yet Activated' although I don't see any read property errors like @walterk82. The console output in Dev tools shows the same activation error that I've seen on the previous versions:
|
Thanks everyone. I made some more telemetry tweaks that will release soon. Thanks again for the feedback and patients |
I get the same "Not Yet Activated". How do we get past this? VSCode Version: F5 Extension version: 3.13.1 |
@pedley-f5 , can you please uninstall vscode and remove it's directory? %USERPROFILE%/.vscode similar to this issue: microsoft/vscode-python#18109 (comment) And to everyone else, I haven't forgotten about you. I've made a dozen changes to attempt to fix this. It's nothing been able to reproduce or see in any of my installs or demos. All the errors indicated in this issue, talk about the extension failing to load or a command failing, but the details behind those errors almost seem to be different every time, like a corrupt install. Maybe it has something to do with the fact that it activates on vscode load "$onExtensionActivationError @ mainThreadExtensionService.ts:112'". I will look at changing when/how vscode activates. It might be trying to load too much too soon. I'm also looking at moving functionality into other extensions and providing an extension pack. This will help isolate issues, streamline updates, and enable some flexibility. I really appreciate all the support, patience and feedback here. I'm still working on this. Ben |
I just push an update. We'll see how it affects this issue |
No change in behavior with v3.13.2. I tested the older versions, and it appears that v3.8.6 load fine. Once I go to v3.9.0, I get the same error I get on all the newer versions:
On v3.8.6, I confirmed I was able to add a host, connect to it and various info such as iRules, RPMs, UCS, etc. Strangely, it only allows me to add a single host within the GUI extension. I get the following error when I click on the plus sign to add a new host: It might help if other affected users can test v3.8.6 to see if it works for them. You can install this version by clicking the uninstall drop down on the F5 extension and selecting Install Another Version. |
ouuu. interesting. Lemme dig into that difference. Thanks! |
IF it helps, this is reported in the "Extension Host" Output console: 2023-07-10 13:24:49.539 [error] Activating extension F5DevCentral.vscode-f5 failed due to an error: |
Thanks @walterk82 , that does help. the more data the better. I will also look at removing all the NEXT work I added during this time. NEXT will probably come later, in it's own extension. |
To add some context network operations fail on this extension because http proxy support is not configured. Maybe the network startup calls are an issue for firewalled environments. |
Got the same issue on 3.14. It was working but after VScode restart it stopped. VSCode Version: In the extension console getting this 2023-10-04 02:44:43.487 [error] Activating extension F5DevCentral.vscode-f5 failed due to an error: |
I get the below error. VSCode Version: Log: 2023-10-06 20:40:00.488 [error] Activating extension F5DevCentral.vscode-f5 failed due to an error: |
Same error VSCode Version Log: [error] Activating extension F5DevCentral.vscode-f5 failed due to an error: |
ok, I downloaded vscode 1.82.3 and all extensions were loaded successfully including F5 extension |
After the Visual Studio Code update to 1.83 extension stopped working, the error message: It works correctly on version 1.82.3. |
I'd like to second @michal-tomczak experience. The F5 extension works fine on 1.82.3. Also had the same experience as reported for 1.83. I've temporarily disabled automatic updates from MS VSCode for stability. |
Hoping to have found the issue team. Just released 3.15. that should fix this. Please confirm |
VS Code: 1.83.1 I just upgraded the F5 extension to 3.15 and it appears to be working now. I haven't done any extensive testing yet, but I can at least connect to my BIG-IP devices and browse the configuration. I have not seen any errors yet. |
I also have the problem that the extension is displayed as "not activated". VS Code: 1.84.1 The problem only occurs with the device that has no internet access. The installation is done via VSIX file. Here I could find the following error message in the "Output" of VS Code (Extension host):
If I run the same installation on a device with Internet access (also with VSIX), the extension works. Thanks in advance! |
@ThBaumann-ladit; This is an interesting nuance. Can you please open a dedicated issue for this and I'll get it fixed. Thank you |
Same issue here - seeing "Not yet activated" in Runtime Status. I am behind a web gateway at work, so some of the background requests made at startup are failing. Example:
|
Update - I got this to work by disabling the version cache. Manual edit to atcVersionsClient inside f5-conx-core, update getAtcReleasesInfo to bypass refresh
yes, it is a terrible hack and does not "fix" the issue, but maybe it will help show the source of the problem? |
@j-zehnder this helps a ton. Probably more related to issue #239, but your feedback has certainly provided more clarity on where to focus. I'm hoping to get to this soon now that the holidays are past. Thanks again. |
Hey everyone. I feel like this should be resolved with the updates over the last couple of months. If not from the update or keytar, then with the updates from the ATC versions functions. Is anyone still having this issue? |
VSCode: 1.77.0
F5 Extension: 3.11.0
I get 'Error running command' when I click on any of the icons within the F5 page. For example, when I click on the '+' icon in F5 Hosts, I get the following error: 'Error running command f5.addHost: command 'f5.addHost' not found. This is likely caused by the extension that contributes f5.addHost.' I get very similar errors for any other action, such as Refresh Devices and Clear (in Config Explorer).
Developer tools shows me the same errors in addition to the following: 'Activating extension 'F5DevCentral.vscode-f5' failed: Cannot set property lastCheckDate of # which has only a getter. $onExtensionActivationError @ mainThreadExtensionService.ts:112'
When I check the runtime status in the extensions, it says 'Not yet activated'.
I did a full uninstall of VSCode (including removing the roaming folders) and reinstalled everything and get the same results. I am installing the extension from within VSCode Extension tab if that matters.
The text was updated successfully, but these errors were encountered: