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 840 forks source link

Websocket connection error from desktop app #10660

Open idan opened 2 years ago

idan commented 2 years ago

Is there an existing issue for this?

Describe the Issue

Sync will not successfully connect. No amount of signing out and signing back in repairs it. I'm seeing some mobx errors so this might be some state management bug. There are similar issues but users there report findings in their developer logs (I don't see any suspicious log lines) or they fix it by signing out and back in (which hasn't worked for me)

Looking at the web inspector, there's clearly something going on. See screenshot.

Steps To Reproduce

  1. Open Postman
  2. Be authed
  3. See one of my workspaces
  4. Try to open it
  5. See the red cloud icon
  6. Click "retry connection" and it seems to do nothing.

Screenshots or Videos

image

image

image

Environment Information

- Operating System: Windows 11
- Platform Type: Desktop app
- Postman Version: 9.13.1

Additional Context?

numaanashraf commented 2 years ago

@idan We had a system outage earlier today that might have caused this. The issue has been resolved. Could you confirm whether everything is working at your end?

idan commented 2 years ago

@numaanashraf still broken, behavior unchanged. I tried signing out and signing back in again. Still getting the same console errors when I try to reestablish the connection.

numaanashraf commented 2 years ago

Thanks @idan. Are you using Postman within any networks with proxies or gateways that might block Postman's connection to our servers?

idan commented 2 years ago

No, I'm using it from a home network with a router that I control. It does not have any unusual rules, and other apps (including ones I develop) which communicate using websockets don't seem to be impacted. I do have a VPN configured for work, but it is turned off when using Postman.

On Mon, Feb 14, 2022 at 8:48 PM Numaan Ashraf @.***> wrote:

Thanks @idan https://github.com/idan. Are you using Postman within any networks with proxies or gateways that might block Postman's connection to our servers?

— Reply to this email directly, view it on GitHub https://github.com/postmanlabs/postman-app-support/issues/10660#issuecomment-1039854865, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAFRQ6RSPWFPF64CMQZCSTU3HLLJANCNFSM5OKOTFKA . You are receiving this because you were mentioned.Message ID: @.***>

inihility commented 2 years ago

I'm also having this issue since yesterday. Home network.

v9.13.2

edit: reinstalling it doesn't make the error go away.

added console logs postman_error_log

Also seeing this: Failed to load resource: net::ERR_CERT_COMMON_NAME_INVALID

y-reddy commented 2 years ago

Facing same issue. Errors in the console are similar to what @inihility had put here. v9.13.2 - Mac OS

inihility commented 2 years ago

Facing same issue. Errors in the console are similar to what @inihility had put here. v9.13.2 - Mac OS

I tested on my Mac as well and experience the same problem. Any updates on this issue? I can use the web version of Postman just fine but can't ping my local environment which is where I develop in.

numaanashraf commented 2 years ago

@inihility @y-reddy Could you send the app logs to help@postman.com? Steps to collect logs are detailed here.

inihility commented 2 years ago

@inihility @y-reddy Could you send the app logs to help@postman.com? Steps to collect logs are detailed here.

edit: sent log files to help@postman.com

crafton commented 2 years ago

I'm having the same issue; Windows 11, Postman v9.14.6. Tried uninstalling and re-installing, signing out and back in again; made no difference.

y-reddy commented 2 years ago

Apparently i have turned off sync on old version of postman. Now there is no option toggle sync. Which is why my postman was not syncing. help@postman.com took a minute to fix it post consent.

crafton commented 2 years ago

@y-reddy thanks for the tip. I've sent my logs to help@postman.com, hopefully they can resolve.

crafton commented 2 years ago

Looks like the sync issue was my issue as well. Postman support has resolved it.

inihility commented 2 years ago

For anyone else experiencing this issue, I've sent my logs to support and they told me they are still investigating it.