Adding TeamCity widget in a dashboard in HUB

Hello,

when i try to select a project from the TeamCity widget an error occurs :

 

and the TeamCity service is already registered :

i have also added to the TeamCity internal properties :

rest.cors.optionsRequest.allowUnauthorized=true
rest.cors.origins=<dashboard hostname>
 
Did i misconfigure something?
Thanks for reply.
5 comments
Comment actions Permalink

Hello again i think it's an issue with CORS, i am using NGINX.

0
Comment actions Permalink

I have the same issue. TeamCity and Hub are both behind IIS used as a reverse proxy.

0
Comment actions Permalink

I hadn't correctly configured the CORS setup. It's working for me know.

0
Comment actions Permalink

How did you do?

0
Comment actions Permalink

I just did what the documentation told me to do :)

As you did, I added

rest.cors.optionsRequest.allowUnauthorized=true
rest.cors.origins=<dashboard hostname>

0

Please sign in to leave a comment.