-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
temp fix for synapse firewall resource #13511
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi @ms-henglu
Thanks for this PR.
Unfortunately this isn't guaranteed to be available within a minute (even if it responds that way at the moment) - as such we can't ship this with a Sleep here - can we poll on something else?
Thanks!
EDIT: Disregard the above... no sooner did I write this that I see Of note, I ran in to this same issue when running some recent acceptance tests. So I think "mocking" up the delay as part of a |
Hi @tombuildsstuff , @owenfarrell , thanks for checking this PR.
Actually I've checked with service team, the delay is 1 minute. But I agree that this is not a good way to fix it. So here's another solution. When IP is in the firewall ip range, we call GetWorkspace API to check whether firewall changes are taking effect. This is the recommended solution by service team. |
hi @ms-henglu Thanks for pushing those changes and checking with the service team - however this approach introduces a dependency on a third-party web service which we also can't ship here - instead whilst I'd like to thank you for this contribution I'm going to close this in favour of #13525 which fixes this in a different manner. Thanks! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
To address issue: #13510