postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.78k stars 837 forks source link

vscode extension doesnt load #12254

Open muhammedfurkan opened 10 months ago

muhammedfurkan commented 10 months ago

Is there an existing issue for this?

Describe the Issue

when I click the postman extension logo, extension is saying: "Unable to load items."

I already logged in potman.

Steps To Reproduce

(2023-08-22T11:33:33.931Z) [info] [extension] Extension activation started: 1692704013920
(2023-08-22T11:33:34.041Z) [info] [extension] Extension activation completed: 1692704014041
(2023-08-22T11:33:34.041Z) [info] [extension] Extension activation took 121ms
(2023-08-22T11:34:39.719Z) [info] [extension] Extension activation started: 1692704079706
(2023-08-22T11:34:39.811Z) [info] [extension] Extension activation completed: 1692704079811
(2023-08-22T11:34:39.811Z) [info] [extension] Extension activation took 105ms
(2023-08-22T11:34:40.474Z) [info] [extension:sidebar:adapter] fetching a correct html for the view mode: {"viewMode":"sidebar"}
(2023-08-22T11:34:40.474Z) [info] [extension:htmlProvider] get sidebar HTML
(2023-08-22T11:34:40.553Z) [info] [extension:workspaceContext] Found the record in the cache

Screenshots or Videos

image

image

Operating System

Windows

Postman Version

v0.6.1

Postman Platform

Other

User Account Type

Signed In User

Additional Context?

No response

pankajk07 commented 10 months ago

@muhammedfurkan This seems like an intermittent issue. Can you reload the vs code window and try again? To reload the window run Developer: Reload window command from the Command pallette.

ebrown5-captioncall commented 10 months ago

I just tried to install it and am getting "Can't install because it's incompatible with your VSCode version" (VSCode 1.71.2)

pankajk07 commented 10 months ago

@ebrown5-captioncall Postman's vscode extension is compatible with VS Code version 1.74.0 and above. Please update your VS Code to use the extension.

xiaoyu-noveleffect commented 10 months ago

got the same issue. any updates?

ebrown5-captioncall commented 10 months ago

Upgrading VSCode fixed it for me.

But I had to download the installer; I couldn't find an "check for updates" option.


From: Xiaoyu Sun @.> Sent: Thursday, August 24, 2023 4:12 PM To: postmanlabs/postman-app-support @.> Cc: Earl Brown @.>; Mention @.> Subject: Re: [postmanlabs/postman-app-support] vscode extension doesnt load (Issue #12254)

You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification

got the same issue. any updates?

— Reply to this email directly, view it on GitHubhttps://github.com/postmanlabs/postman-app-support/issues/12254#issuecomment-1692481932, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOHPLAAZQF3HE2SCRQOVKALXW7GTXANCNFSM6AAAAAA3ZY4UWM. You are receiving this because you were mentioned.Message ID: @.***>

muhammedfurkan commented 9 months ago

I updated latest version vscode still same


Version: 1.82.2 (system setup)
Commit: abd2f3db4bdb28f9e95536dfa84d8479f1eb312d
Date: 2023-09-14T05:55:25.390Z
Electron: 25.8.1
ElectronBuildId: 23779380
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.19045

image

muhammedfurkan commented 9 months ago

image

muhammedfurkan commented 9 months ago

image

muhammedfurkan commented 9 months ago

image

muhammedfurkan commented 9 months ago

@muhammedfurkan This seems like an intermittent issue. Can you reload the vs code window and try again? To reload the window run Developer: Reload window command from the Command pallette.

any solution ?

pankajk07 commented 9 months ago

@muhammedfurkan We would like to set a call to debug this. Please schedule a call with my Calendly link.

muhammedfurkan commented 9 months ago

@muhammedfurkan We would like to set a call to debug this. Please schedule a call with my Calendly link.

can you send me a invitation again ?

ethaden commented 8 months ago

I have the same issue on all machines I've tested so far (Linux, Windows, MacOS). Did not get this extension working even a single time yet. :-(

muhammedfurkan commented 8 months ago

I have the same issue on all machines I've tested so far (Linux, Windows, MacOS). Did not get this extension working even a single time yet. :-(

i think there is no solution for this unfortunately

stevenh commented 6 months ago

Used to work for me but now refuses to load collections or run requests. This is reported from the Runtime status from the extension view:

request to https://bifrost-extension-https-global.gw.postman.com/list/environment?workspace=7d509abf-87bb-4d0b-8b50-06c07d8bee8f failed, reason: getaddrinfo EAI_AGAIN bifrost-extension-https-global.gw.postman.com
request to https://bifrost-extension-https-global.gw.postman.com/workspace/7d509abf-87bb-4d0b-8b50-06c07d8bee8f/globals failed, reason: getaddrinfo EAI_AGAIN bifrost-extension-https-global.gw.postman.com
request to https://bifrost-extension-https-global.gw.postman.com/history?meta=true&workspace=7d509abf-87bb-4d0b-8b50-06c07d8bee8f&count=50&format=object failed, reason: getaddrinfo EAI_AGAIN bifrost-extension-https-global.gw.postman.com
request to https://bifrost-extension-https-global.gw.postman.com/workspace/7d509abf-87bb-4d0b-8b50-06c07d8bee8f/globals failed, reason: getaddrinfo EAI_AGAIN bifrost-extension-https-global.gw.postman.com
request to https://bifrost-extension-https-global.gw.postman.com/ws/proxy failed, reason: getaddrinfo EAI_AGAIN bifrost-extension-https-global.gw.postman.com
stevenh commented 6 months ago

In my case my workspace is under WSL2 on Windows, in case that matters.

awlobo commented 5 months ago

Same error here, using the latest VSCode version.

leshaker commented 3 months ago

same here, latest postman extension and vscode version running on macOS

benb-petaf commented 3 months ago

This is so dumb, but it worked for me after weeks of frustration.

I created a new workspace and exported the first collection as a Collection 2.1 file. Importing that file into Postman within VS Code failed. I re-exported the collection as a Collection 2.0 file and imported the file from VS Code - this was successful, so I continued with my other collections.

When I restarted VS Code the collections are now visible in BOTH workspaces.

The workspace seems to be syncing correctly. New collections and new items in the collection are passing both ways between VS Code and the Web UI.

VS Code may have a problem with the 2.1 collection format. Postman extension 0.19.1 VS Code 1.87.2 on Windows 10