Coder Social home page Coder Social logo

Comments (3)

foosel avatar foosel commented on June 26, 2024 1

Basic, Digest and Bearer auth will be supported from 1.11.0 onward via new options in the Classic Webcam settings.

image

Additionally, if you configure a snapshot URL with the deprecated in-URL credentials, OctoPrint will warn you about that and refer you to the advanced options containing the authentication settings.

from octoprint.

foosel avatar foosel commented on June 26, 2024

You haven't provided a system info bundle, which includes logs which are really crucial here. But based on the URLs you shared, I'm going to assume the problem here is that your username@password syntax simply is deprecated and not supported by the underlying Python library used for fetching the snapshot. Tbh, I'm kinda surprised the Stream URL works in your browser in 2024.

See also the corresponding section in RFC3986.

However, that means that we need some way to provide Basic Authentication credentials for the snapshot URL, so this just turned into a Feature Request.

from octoprint.

mikeb9x avatar mikeb9x commented on June 26, 2024

I can't provide logs because my SD card died and I'm waiting for a new one (32GB). For some reason I can't use my 64/128GB cards because I'm having partitioning issue at the first boot.
Stream in OctoPrint was working well despite having the same basic authentication. Problem was only with the snapshots.
In Firefox I need to confirm login (You are about to log in to the site β€œX.X.X.X” with the username β€œuser”.), Chrome just starts the stream/shows snapshot.

from octoprint.

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.