mibexsoftware / sonar-bitbucket-plugin

SonarQube plug-in to create pull request comments for found issues in Bitbucket Cloud
Other
122 stars 72 forks source link

Bitbucket Cloud 503 Service Unavailable #72

Open vseveryn opened 6 years ago

vseveryn commented 6 years ago

Actual Behavior

Bitbucket Cloud shows "Add-on Sonar for Bitbucket is not responding. Wait or cancel?"

Seeing 503 Service Unavailable Request during call https://ch-mibex-sonar4bitbucket.herokuapp.com/sonar-dashboard...

Plug-in version, SonarQube version, CI system, build type

plugin 1.2.3, sonarqube 6.7.1

montrin commented 6 years ago

Hi,

Could you please send me the hyperlink to your repository so that I can investigate the case.

Thanks Monica

montrin commented 6 years ago

Okay thanks. When I try to access your sonarqube host (got it from your sonar.json file in the repo) I get a timeout error. This is probably the reason why the plugin cannot access it. The host must be online available/ not behind any firewall, otherwise it will not work because the plugin runs in the cloud. Unfortunately I see, we do not log an expressive warning and I’ll change this.

Are you behind any firewall or does the access on your sonarqube work?

montrin commented 6 years ago

Unfortunately, I still get a timeout.

montrin commented 6 years ago

Yes, I use the same url as you do. The plugin is hosted on Herokus EU region. The IP addresses are dynamic, but the region's IP range should be stable. See here for more information: https://kb.heroku.com/i-need-to-whitelist-heroku-dynos-what-are-ip-address-ranges-in-use-at-heroku

Is it possible to use the domain name of the plugin to whitelist the plugin on your server?

sabrikrdnz commented 5 years ago

Hi vseveryn,

Have you got the solution of this problem? I'm facing this as well.

Thanks, Sabri