Comments (4)
Hi @haeberle , are you using this against an IoT device? If so, we've identified the issue and are working to fix it in the WDP product itself.
The root cause here is that the .NET framework for HTTP purposefully sends the request without credentials, then responds with creds on a 401. Unfortunately the IoT Authenticator module in WDP counts cred-less requests as bad faith login attempts and ticks up a counter to mark whether they should be redirected to the login page.
from windowsdeviceportalwrapper.
Hello @hpsin thanks a lot for the explanation. Yes, I'm using Win10 IoT on a raspberry.
I fixed it quick & dirty in GetAsync<..> by executing the request again in case the response status code is 307.
That helps as long no other clients request the page parallel as implemented in the WDP.
from windowsdeviceportalwrapper.
Thanks! That's a good workaround. I'm going to leave this open until @namkedia confirms that the fix internally is checked in.
from windowsdeviceportalwrapper.
Push for fix in trunk.
from windowsdeviceportalwrapper.
Related Issues (20)
- Multiple Warnings from 'StyleCopTask' task HOT 4
- ToggleEtwProvidersAsync hanging on HoloLens HOT 4
- LaunchApplicationAsync() throws 'Unauthorized' exception HOT 7
- Wrong Format in SetSoftApSettingsAsync HOT 3
- GetAppCrashDumpSettingsAsync API has the wrong capitalization for the packageFullName query parameter.
- [Request] Windows Update
- NetworkAdapterInfo - DDNSEnabled and DNSAddresses missing
- Change IP-Address (IPv4)
- GamePad A, B, X, Y button presses are not going through HOT 1
- The syntax of the command is incorrect (IoT)
- One or more errors occurred. (IoT)
- Unity: Reference to type 'SecureString' claims it is defined in 'mscorlib'
- Support Hololens 2 in DevicePortalPlatforms
- Can i use this wrapper to make an iOS app using Unity to stream the Hololens remotely?
- Support .NET Standard/Core usage HOT 1
- Can we get a Nuget release?
- HL2 set sleep settings fails HOT 1
- Upload errors on Windows build 203xxx HOT 4
- This repo is missing important files HOT 1
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 windowsdeviceportalwrapper.