Closed jzyinq closed 6 years ago
Thank you for reporting. I'll try to reproduce this and fix the issue.
I see you already got potential fix for this issue - looking forward for a new release with this fix.
Keep up the good work!
@jzyinq I merged a fix - new RC will be available in minutes. I could reproduce the issue with front-proxy-auth
and used it to identify the problem and then fix it - race condition issues is nearly impossible to reproduce in debug environment. After implementing the fix I was unable to reproduce the problem, so I hope it is really solved. If you'll find it is still here feel free to reopen the issue with some additional details.
Thank you for reporting!
Janus docker images fails randomly on startup while loading OAuth plugin.
I've checked both
3.7.2-rc.1
and3.7.1-rc.21
images.Reproduction Steps:
I've got this problem on our internal configuration, but it occurs also on
front-proxy-auth
example.Just change image in docker-compose to one of listed above -> https://github.com/hellofresh/janus/blob/master/examples/front-proxy-auth/docker-compose.yml#L5 and run example.
After Janus starts it randomly fails with error:
There is also another issue that with active oauth plugin in logs there are errors that it wasn't able to register endpoints because of lack of
listen_path
but it's not true.It occurs randomly but very often - after couple of restarts it works fine but it's a blocker to us cause we can't use timeout feature that you recently put out with this issue.
Expected behavior:
Running smoothly like it used to ;-)
Janus version:
3.7.2-rc.1
and3.7.1-rc.21