Comments (4)
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.
yes, I am. 0.3.1
from java.
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.
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)
- View.enableAutomaticLayout seems to not honor paperSize or dimensions HOT 6
- NoSuchMethodError after Migrating from 1.6.2 to 1.6.3 HOT 4
- Handling of view exceptions HOT 5
- Case-insensitive names: bug of feature? HOT 1
- Parameter names for Model.addPerson HOT 2
- Documentation lacking on Enterprise
- Documentation lacking on Location HOT 1
- Naming for Model.addSoftwareSystem
- Component.uses() generates null type safety warning HOT 6
- DSL <-> Java model implementation differences HOT 1
- Difference on codeElement level - no view generation
- Layout of relationships is reset when changing the description HOT 1
- Allow named colors HOT 5
- DeploymentNodes implied relationships HOT 1
- Named colours are case-sensitive
- Exporting workspace authored with structurizr java to dsl HOT 1
- Removal of documentation section (title)? HOT 1
- Validate uniqueness of a documentation section HOT 2
- Should ViewSet::getViews() return ModelView instead of View?
- Can this generate DSL?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java.