Code Monkey home page Code Monkey logo

Comments (4)

Arksine avatar Arksine commented on July 24, 2024

This is in part a duplicate of #810. The error message requires a fix in mainsail. I believe it has been applied but not yet released.

Separately, Moonraker is receiving a 403 "Forbidden" error when attempting to connect to spoolman's websocket. This is an issue with the spoolman instance that needs to be corrected.

from moonraker.

gfosdike1 avatar gfosdike1 commented on July 24, 2024

It looks like the cause of the 403 is Moonraker. I can curl to the IP and port without issue direct from the OS:

pi@mainsailos:~ $ curl http://192.168.0.39:7912

<title>Spoolman</title> <script type="module" crossorigin src="/assets/index-8f7a88d5.js"></script> You need to enable JavaScript to run this app.

Docker log shows the following:
2024-02-15 16:09:07 spoolman-1 | INFO: 172.18.0.1:36630 - "GET / HTTP/1.1" 200 OK

from moonraker.

Arksine avatar Arksine commented on July 24, 2024

403 is the response Moonraker receives from spoolman. Why its forbidden on your instance I am not sure, as its available to me.

You are using curl to request the interface, Moonraker is getting a 403 when attempting to connect to the websocket. If you want to try from the command line you can use wscat:

sudo apt install node-ws
wscat -c ws://192.168.0.39:7912/api/v1/spool

from moonraker.

Arksine avatar Arksine commented on July 24, 2024

Per Donkie/Spoolman#316 it appears that the connection issue has been resolved on your end, so I'm going to close this.

from moonraker.

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.