Giter Club home page Giter Club logo

toywebbridge's People

Contributors

kyrahabattoir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

toywebbridge's Issues

127.0.0.1:8008 always 404

I tried using the webinterface while the tool and intiface are running but i always get a 404

info: Microsoft.Hosting.Lifetime[0]
      Now listening on: http://[::]:8008
info: ToyWebBridge.Services.WebsocketService[0]
      Toy Web Bridge is starting.
warn: ToyWebBridge.Services.WebsocketService[0]

 /!\ Web bridge SecretKey: t8HYEncTdJDjpbUc0asm /!\

info: ToyWebBridge.Services.WebsocketService[0]
      Websocket url is: ws://localhost:12345/buttplug
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
      Content root path: C:\Users\blusc\Downloads\twb\ToyWebBridge
info: ToyWebBridge.Services.WebsocketService[0]
      Connecting...
info: ToyWebBridge.Services.WebsocketService[0]
      Connected to intiface!
info: ToyWebBridge.Services.WebsocketService[0]
      Scanning for devices...
info: ToyWebBridge.Services.DeviceRegister[0]

New device detected
Buttplug (Satisfyer Rotator Plug 2+)
  Update rate: 50ms
  Power: 100%
C:\Windows\system32>curl -vvvvv "http://127.0.0.1:8008" -H "SecretKey: t8HYEncTdJDjpbUc0asm" -H "Connection: keep-alive"
*   Trying 127.0.0.1:8008...
* Connected to 127.0.0.1 (127.0.0.1) port 8008 (#0)
> GET / HTTP/1.1
> Host: 127.0.0.1:8008
> User-Agent: curl/7.83.1
> Accept: */*
> SecretKey: t8HYEncTdJDjpbUc0asm
> Connection: keep-alive
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
< Date: Sat, 29 Oct 2022 23:01:25 GMT
< Server: Kestrel
< Content-Length: 0
<
* Connection #0 to host 127.0.0.1 left intact

Problem connecting to a toy

Not sure what's the problem but seem to catch this whenever my toy (MagicMotion Solstice) is available for connection.

info: ToyWebBridge.Services.WebsocketService[0]
      Scanning for devices...
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at ToyWebBridge.Services.DeviceRegister.OnDeviceAdded(ButtplugClientDevice device) in D:\Downloads\ToyWebBridge-master\Services\DeviceRegister.cs:line 49
   at ToyWebBridge.Services.WebsocketService.<StartAsync>b__10_0(Object source, DeviceAddedEventArgs args) in D:\Downloads\ToyWebBridge-master\Services\WebsocketService.cs:line 47
   at Buttplug.ButtplugClient.SorterCallback(UIntPtr buf, Int32 buf_length)

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.