Git Product home page Git Product logo

Comments (4)

simonbrowndotje avatar simonbrowndotje commented on May 17, 2024

Hi Francisco,

There was an issue raised on the .NET client recently where using UTF-8 characters would cause the "putWorkspace" operation to fail with an unauthorized message, which you can see more detail about here -> structurizr/dotnet#3

Are you using the version of the .NET client from Nuget?

Cheers
Simon

from java.

fcavaco avatar fcavaco commented on May 17, 2024

yes, I am. 0.3.1

from java.

fcavaco avatar fcavaco commented on May 17, 2024

just found what character was causing the issue:

SoftwareSystem xyzSystem = model.AddSoftwareSystem(Location.Internal, "XXX", "–");

"provides a service for the sale, purchase and sharing of a wide variety of data from multiple sources between all types of users in a city businesses, city government, and citizens."
above does not work...

"provides a service for the sale, purchase and sharing of a wide variety of data from multiple sources between all types of users in a city : businesses, city government, and citizens."

this does work, by shifting from to :

not sure how this relates to a (401) Unauthorized.. its being defaulted for any exception I take?

from java.

simonbrowndotje avatar simonbrowndotje commented on May 17, 2024

Thanks for letting me know. Yes, in summary, the presence of non-ASCII characters causes the MD5 digest to mismatch between client and server, which triggers the "unauthorized" response. I'll push out a new Nuget version that will fix this.

from java.

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.