Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helios OWIN environment dictionary cannot be enumerated #98

Closed
jchannon opened this issue Jul 14, 2014 · 3 comments
Closed

Helios OWIN environment dictionary cannot be enumerated #98

jchannon opened this issue Jul 14, 2014 · 3 comments
Assignees

Comments

@jchannon
Copy link
Contributor

When using Helios with OWIN, any middleware that does any enumeration/LINQ on the OWIN environment eg/env.First() results in an exception with the message This API can only be called if the request is being served over HTTPS.

This can be got around by accessing items via the index/specific key and/or using ContainsKey but does seem a bit odd that you get a SSL message when trying to do enumeration.

It also means I can't log out all the items in the OWIN dictionary:

foreach (var item in env)
{
  Debug.WriteLine(item.Key + " : " + item.Value);
}

UPDATE : I'm referring to this <package id="Microsoft.Owin.Host.IIS" version="1.0.0-alpha1" targetFramework="net45" />

@philjones88
Copy link

👎 Hitting this too.

@Praburaj
Copy link

This looks like a bug related to OWIN based Helios. @GrabYourPitchforks is there a better place where OWIN based Helios bugs can go?

@GrabYourPitchforks
Copy link
Member

This issue is now resolved in the Katana-based version pending the next release.

natemcmaster pushed a commit that referenced this issue Nov 9, 2018
natemcmaster pushed a commit that referenced this issue Nov 13, 2018
….RestartProcessThatTerminatesAfterFileChange`

- test is not reliable (95% success rate)
- should be restored as part of #98
natemcmaster pushed a commit that referenced this issue Nov 13, 2018
…s.RestartProcessThatTerminatesAfterFileChange`

- test is not reliable (95% success rate)
- should be restored as part of #98
natemcmaster pushed a commit that referenced this issue Nov 14, 2018
@dotnet dotnet locked as resolved and limited conversation to collaborators Dec 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants