Skip to content

[Bug]: API is not responding in Windows 11 #653

Closed

Description

@Musecanyang

Describe the bug

After launching the software, all the code is gone. In the console, 500 errors are displayed.

Image

To reproduce

  1. Go to ... Launch the software directly.
  2. Click on ... Launch the software directly.
  3. Scroll down to ..
  4. See error
Image

App Version and Architecture

4.4.0

System info

Windows 11

Validations

Activity

  1. changed the title [-][Bug]: All code is lost.[/-] [+][Bug]: API does not respond after changing the API port[/+] on Dec 23, 2025
  2. antonreshetov commented on Dec 23, 2025

    @antonreshetov
    Member

    Based on the logs, you have changed the API port. This port may not be available to you. Change the port back to the default 4321 and restart the application.

  3. github-actions commented on Dec 23, 2025

    @github-actions

    Hello @Musecanyang. Please describe in detail the sequence of actions that leads to the bug (skip it if it's already there). Add screenshots of errors from the console. If possible add a video. Issues marked with need reproduction will be closed if they have no activity within 3 days.

  4. Musecanyang commented on Dec 24, 2025

    @Musecanyang
    Author

    Based on the logs, you have changed the API port. This port may not be available to you. Change the port back to the default 4321 and restart the application.根据日志,你更改了 API 端口。这个端口可能对你不可用。把端口改回默认的 4321 端口,然后重启应用程序。

    hi Anto
    Because I had the same problem using the default port, I changed the port.
    Now I have changed it back to the default, but I still have the problem.

    Image Image Image
  5. antonreshetov commented on Dec 24, 2025

    @antonreshetov
    Member

    Write a full log from the application console.

  6. Musecanyang commented on Dec 25, 2025

    @Musecanyang
    Author

    Hi Anto
    Thanks for the help, this is Log.

    -1766631345366.log

  7. antonreshetov commented on Dec 25, 2025

    @antonreshetov
    Member

    @Musecanyang Try run in dev. If the API server isn't starting, rebuild better-sqlite3 pnpm exec electron-rebuild -f -w better-sqlite3 If the application still does not start, then most likely it is a problem with the firewall blocking access to the port or local connection.

    P.S. my name is Anton.

  8. changed the title [-][Bug]: API does not respond after changing the API port[/-] [+][Bug]: API is not responding in Windows 11[/+] on Dec 25, 2025
  9. Musecanyang commented on Dec 26, 2025

    @Musecanyang
    Author

    Oh, sorry, my English is not good. Thanks Anton.
    Very strange, I didn't do anything, I didn't even reboot the system. I just left it overnight and it's running normally today.
    But it doesn't matter, the software has returned to normal.
    Thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions