Coder Social home page Coder Social logo

Comments (3)

TalAloni avatar TalAloni commented on July 19, 2024

Not Enough Credits and STATUS_INVALID_SMB are two different issues.
In both cases it means the client is doing something it should not do. (it can be the library code or how the library is used)
In most previous cases it was due to incorrect usage of the library (e.g. multi-threading, multiple requests)
This can be investigated though a WireShark capture of the session.
Are you based on the latest v1.5.0?

from smblibrary.

smarsh-gregj avatar smarsh-gregj commented on July 19, 2024

Thanks for the response. I understand they are different issues, but in our case, we get STATUS_INVALID_SMB and throw an exception which causes the FileStore to Disconnect() and throw "Not enough credits". (This Disconnect would count as a multiple request at this point).
So my question would be... If/When we get STATUS_INVALID_SMB, what is the proper way to handle that status? If the answer is "Don't get that status" then we can certainly look deeper into that too.

Unfortunately I have no way to get a wireshark capture due to the problem happening seemingly randomly and we haven't been able to reproduce in production. And yes we are on v1.5.0

from smblibrary.

TalAloni avatar TalAloni commented on July 19, 2024

Yes, the answer is "Don't get that status". it means the client is behaving in some way it shouldn't so the server is telling the client so.

from smblibrary.

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.