Running multiple companion instances
See original GitHub issueHi Team,
Is it possible to run multiple instances of companion app that are related? We have companion deployed with our server which is highly available. When instance count > 1 provider oauth flow fails with
companion: 2019-09-23T08:49:42.840Z [error] grant.oauth.error grant.js responded with error: error=Grant%3A%20missing%20session%20or%20misconfigured%20provider
Earlier I was getting a different error that was resolved after I added transport: 'session'
to my custom providers.
From looking at the code extensively, I believe the redis integration only provides for storing update progress and not the session storage itself. Is it possible today to have companion running in high availability with shared session storage?
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
How do I run 2 instances of Pro Presenter from one stream deck
How do I run 2 instances of Pro Presenter from one stream deck? I am having trouble getting the stream deck to control...
Read more >Running multiple emulators? : r/BitfocusCompanion - Reddit
Hi, Curious if anyone has tried to run multiple instances of companion at once? Is it possible? I'd love to have an emulator...
Read more >Running Stream Deck + Companion SIMULTANEOUSLY to ...
DJF Companion Profile v3.0 available here: https://davidjoshuaford.com/ companion /If you've ever tried to run Stream Deck software alongside ...
Read more >Disguise Multi Transports with Companion - YouTube
In this quick tip we look at controlling Multi Transports in Disguise using Companion for the Streamdeck.Download Companion here: ...
Read more >Multiple homes in the companion app
Hello I am running multiply HA instances in different location I run into a problem with the companion android SW. It couldn't able...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@serverdevil when a companion instance receives the first request, it will redirect to the master domain for the oauth dance to be handled. After the Oauth dance is done, further requests are passed back to the instance that received the first request.
so long as you are setting the
sendSelfEndpoint
option per companion instance to it’s actual URL i.ehttps://instance1.server.com
, and it is directly accessible via this URL, then companion will try to achieve this sticky session behaviour by itself.@ifedapoolarewaju could you help here please?