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

MediatR - Not working while accessing via Webseal #80

Closed
vipinnair opened this issue May 11, 2016 · 1 comment
Closed

MediatR - Not working while accessing via Webseal #80

vipinnair opened this issue May 11, 2016 · 1 comment

Comments

@vipinnair
Copy link

vipinnair commented May 11, 2016

I am trying to access my application via Webseal SSL. But the code is failing stating that it's not able to find the handler class or the dependency is not registered.. But when we try accessing the application without web seal its working.

In the application start up, we have a dependency registered as

container.RegisterType<IRequestHandler<Query, Result>, Handler>();

In order to filter out the root cause, I injected IRequestHandler<Query, Result> to the constructor and invoked the Handler. This is working fine with Webseal.

Hope you can provide help on this to resolve the issue.

Full Error Information
[{"code":null,"source":{},"title":"Internal Server Error","details":"Handler was not found for request of type Query.\r\nContainer or service locator not configured properly or handlers not registered with your container."}]

@jbogard
Copy link
Owner

jbogard commented May 12, 2016

I'm gonna need some more context here. What is WebSeal SSL? How does it affect your web app? What container are you using?

@jbogard jbogard closed this as completed May 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants