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

Can SharingService.exe Support multiple apps running at once #152

Open
foxvalleysoccer opened this issue Mar 7, 2018 · 2 comments
Open
Labels

Comments

@foxvalleysoccer
Copy link

Sorry if this is the wrong place to ask this.

Can the sharingservice.exe support multiple sharing apps running at once?
I have two apps hitting the same service the first connects and shares the second one closes once it creates a session on the sharing service.
Both run independently.

Thanks for the help.

@anders-lundgren
Copy link

I've just started looking into this. I experience exactly the same issue, a second session is created but the client that tries to join crashes. Interestingly I get a slightly different result when running in Unity and on a HoloLens device, the latter proceeds to leave the session for some reason and then crashes on an assert:
SharingService [....\Source\Common\Private\Environment.cpp (19)]: Assert (....\Source\Common\Private\SessionImpl.cpp:147) GetMachineSessionState() == MachineSessionState::DISCONNECTED
(Filename: C:\buildslave\unity\build\artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51)

The source file is here, I would suspect that the issue is with SessionImpl::Join that starts on line 58:
https://github.com/Microsoft/MixedRealityToolkit/blob/master/Sharing/Src/Source/Common/Private/SessionImpl.cpp

@anders-lundgren
Copy link

Ok, so in my case, this was due to my Azure host firewall rules not allowing access to new sessions when they reached below port 26000. I can have multiple separate sessions running now on the same server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants