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

[Messages] Extension automatically closes and reports "Connection interrupted" whenever I attempt to use it #10381

Open
chrismessina opened this issue Jan 26, 2024 · 9 comments
Labels
bug Something isn't working Dont close Won't be closed by stalebot extension: messages Issues related to the messages extension extension Issues related to one of the extensions in the Store

Comments

@chrismessina
Copy link
Contributor

Extension

https://www.raycast.com/thomaslombart/messages

Description

Attempting to compose a message by searching for a recipient crashes the extension.

Steps To Reproduce

  1. Install Messages extension.
  2. Launch extension.
  3. Select the Contact dropdown.
  4. Type jo
  5. Type a space.

Current Behaviour

Once I type a space, the extension crashes and an error appears:

2024-01-26 (15 24 37) Arc@2x

Expected Behaviour

I expect to be able to search for a contact recipient and send a message.

@chrismessina chrismessina added bug Something isn't working extension Issues related to one of the extensions in the Store labels Jan 26, 2024
@raycastbot raycastbot added the extension: messages Issues related to the messages extension label Jan 26, 2024
@raycastbot
Copy link
Collaborator

Thank you for opening this issue!

🔔 @thomaslombart you might want to have a look.

💡 Author and Contributors commands

The author and contributors of thomaslombart/messages can trigger bot actions by commenting:

  • @raycastbot close this issue Closes the issue.
  • @raycastbot rename this issue to "Awesome new title" Renames the issue.
  • @raycastbot reopen this issue Reopen the issue.

@thomaslombart
Copy link
Collaborator

Thanks for reporting the issue. Do you consistently get this error? Are there any other searches that cause the error to trigger?

@thomaslombart
Copy link
Collaborator

Otherwise, could you help debugging the issue by following the steps described over here: Getting logs via terminal? Thanks a lot!

@chrismessina
Copy link
Contributor Author

The error is consistent. It appears that JavaScript heap out of memory.

I'm attaching two logs, one where I'm just executing the extension (already installed), and a second log starting from when I install the extension and invoke it the first time (e.g. I can see the interface), and then I get the error.

I'm guessing I have too many contacts (21,479), although Raycast's native Contacts search works fine.

logs.zip

@thomaslombart
Copy link
Collaborator

Thanks for the details. The JavaScript heap out of memory error is a common one amongst Raycast extensions since we don't have proper support for pagination yet. In the meantime, we can look into adding support for pagination in a custom way.

@raycastbot
Copy link
Collaborator

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

@raycastbot raycastbot added the status: stalled Stalled due inactivity label Mar 21, 2024
@thomaslombart thomaslombart removed the status: stalled Stalled due inactivity label Mar 21, 2024
@chrismessina
Copy link
Contributor Author

Bumping this in case we get proper pagination.

@raycastbot
Copy link
Collaborator

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

@raycastbot raycastbot added the status: stalled Stalled due inactivity label May 10, 2024
@thomaslombart thomaslombart removed the status: stalled Stalled due inactivity label May 13, 2024
@raycastbot
Copy link
Collaborator

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

@raycastbot raycastbot added the status: stalled Stalled due inactivity label Jul 2, 2024
@thomaslombart thomaslombart added Dont close Won't be closed by stalebot and removed status: stalled Stalled due inactivity labels Jul 3, 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 Dont close Won't be closed by stalebot extension: messages Issues related to the messages extension extension Issues related to one of the extensions in the Store
Projects
None yet
Development

No branches or pull requests

3 participants