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.86k stars 841 forks source link

App hangs on startup in Win11 #13060

Open ptiseo-ep opened 3 months ago

ptiseo-ep commented 3 months ago

Is there an existing issue for this?

Describe the Issue

I’ve been using the Postman app on Win11 for a long time now. I stopped using it for 2-3 months due to other projects. Now, I have come back and when I start the app, it hangs with the spinner endlessly spinning. The menus sometimes show no text (although it always shows arrows and keymaps). I have updated the app, cleared the cache and disabled hardware acceleration. The main.log shows the error below.

[85060][1722870508901][main][error][“Main~handleUncaughtError - Uncaught errors”,{“name”:“TypeError”,“message”:“Cannot read properties of undefined (reading ‘send’)”,“stack”:“TypeError: Cannot read properties of undefined (reading ‘send’)\n at Object.sendMessageToInterceptor (C:\Users\someone\AppData\Local\Postman\app-11.6.1\resources\app.asar\services\websocketServer.js:127:10)\n at Object.requesterWindowHandler (C:\Users\someone\AppData\Local\Postman\app-11.6.1\resources\app.asar\services\websocketServer.js:370:14)\n at EventEmitter.emit (node:events:529:35)\n at EventEmitter.emit (node:domain:489:12)\n at _dispatch (C:\Users\someone\AppData\Local\Postman\app-11.6.1\resources\app.asar\common_event-bus.js:256:14)\n at EventBus._publish (C:\Users\someone\AppData\Local\Postman\app-11.6.1\resources\app.asar\common_event-bus.js:207:9)\n at Object._closedHandler (C:\Users\someone\AppData\Local\Postman\app-11.6.1\resources\app.asar\services\windowManager.js:1094:18)\n at BrowserWindow.emit (node:events:517:28)\n at BrowserWindow.emit (node:domain:489:12)\n at C:\Users\someone\AppData\Local\Postman\app-11.6.1\resources\app.asar\node_modules\@electron\remote\dist\src\main\server.js:480:71”}]

Steps To Reproduce

  1. Start Postman App; App fires up
  2. Wait for spinner to stop spinning
  3. Wait more
  4. Go for coffee
  5. Play with dog
  6. Wait more
  7. Read a book
  8. ...

Screenshots or Videos

No response

Operating System

Windows

Postman Version

11.7.0

Postman Platform

Postman App

User Account Type

Signed In User

Additional Context?

No response

ajmszymanska commented 2 months ago

Hi, I have the same problem :

Postman version: 11.9.0

[32212][1724825586360][main][error]["Main~handleUncaughtError - Uncaught errors",{"name":"TypeError","message":"Cannot read properties of undefined (reading 'send')","stack":"TypeError: Cannot read properties of undefined (reading 'send')\n at Object.sendMessageToInterceptor (C:\Users\someotherone\AppData\Local\Postman\app-11.9.0\resources\app.asar\services\websocketServer.js:127:10)\n at Object.requesterWindowHandler (C:\Users\someotherone\AppData\Local\Postman\app-11.9.0\resources\app.asar\services\websocketServer.js:370:14)\n at EventEmitter.emit (node:events:529:35)\n at EventEmitter.emit (node:domain:489:12)\n at _dispatch (C:\Users\someotherone\AppData\Local\Postman\app-11.9.0\resources\app.asar\common\_event-bus.js:256:14)\n at EventBus._publish (C:\Users\someotherone\AppData\Local\Postman\app-11.9.0\resources\app.asar\common\_event-bus.js:207:9)\n at Object._closedHandler (C:\Users\someotherone\AppData\Local\Postman\app-11.9.0\resources\app.asar\services\windowManager.js:1094:18)\n at BrowserWindow.emit (node:events:517:28)\n at BrowserWindow.emit (node:domain:489:12)"}]

ptiseo-ep commented 2 months ago

Well, nice to know I am not alone in the silence! :)

Based on the reply, I just updated to v11.9.0 and still have the same issue.

hazelZ59 commented 2 months ago

Uncaught errors",{"name":"TypeError","message":"Cannot read properties of undefined (reading 'send')","stack":"TypeError: Cannot read properties of undefined (reading 'send')

Same issue for that lol

Update: After I deleted all postman related cache files, and reinstall postman again, the issue didn't happen again. Hope this info can help.