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.
1
5 comments
Avatar
Permanently deleted user

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

0
Avatar
Permanently deleted user

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

0
Avatar
Permanently deleted user

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

0
Avatar
Permanently deleted user

How did you do?

0
Avatar
Permanently deleted user

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.