Giter Site home page Giter Site logo

Comments (6)

DarkCWK avatar DarkCWK commented on June 26, 2024

本来在试windows的,但我Windows上websocket和http都跑不起来,管理员权限

Windows 下微软似乎对绑定的端口进行了限制,你可以绑定到 127.0.0.1 测试,这个不需要管理员权限

from lagrange.core.

DarkCWK avatar DarkCWK commented on June 26, 2024

目前 Windows 没有复现, 可否提供更详细的过程

from lagrange.core.

DarkCWK avatar DarkCWK commented on June 26, 2024

例如 ws_test.go 的相关代码?

from lagrange.core.

Miuzarte avatar Miuzarte commented on June 26, 2024

目前 Windows 没有复现, 可否提供更详细的过程

ws_test.go 中会在10s后主动断开ws

10s之内发送Ctrl + C给lagrange无法退出,直到ws断开

按下Ctrl + C的时间点在这两行输出的时候

info: Microsoft.Hosting.Lifetime[0]
      Application is shutting down...
info: Lagrange.OneBot.LagrangeApp[0]
      Lagrange.OneBot Implementation has stopped

https://github.com/LagrangeDev/Lagrange.Core/assets/deleted

from lagrange.core.

DarkCWK avatar DarkCWK commented on June 26, 2024

目前 Windows 没有复现, 可否提供更详细的过程

ws_test.go 中会在10s后主动断开ws

10s之内发送Ctrl + C给lagrange无法退出,直到ws断开

[email protected]

你的代码没有在收到 close 消息后按照正常流程回复 close

由于我的失误,没有在 Close 时添加超时处理,导致无法停止

from lagrange.core.

Miuzarte avatar Miuzarte commented on June 26, 2024

目前 Windows 没有复现, 可否提供更详细的过程

ws_test.go 中会在10s后主动断开ws
10s之内发送Ctrl + C给lagrange无法退出,直到ws断开
[email protected]

你的代码没有在收到 close 消息后按照正常流程回复 close

由于我的失误,没有在 Close 时添加超时处理,导致无法停止

了解了,我的锅,抱歉🙏🙏🙏

from lagrange.core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.