-
Notifications
You must be signed in to change notification settings - Fork 31
Connection Failed with Teamcity 2017.1.1 #79
Comments
Did you ever get a resolution to this at all? |
The URL (in case you're using HipChat Cloud) should be |
I've tried that but I keep getting "Connection Failed". Are there any specific firewall exceptions that are needed from the server? Or is it just server ==> hipchat on 80? |
I don't think so. Btw the token needed for the connection needs to be assigned to a user, since account-wide tokens don't work with the v2 API (only v1). You need to set up a user (or use an existing one, like your own, if you're an admin, but I have a separate one) for sending notifications, then log in with it and go to |
@khaljimbo I had a similar issue not too long ago. It ended up being the result of an expired access token. |
@khaljimbo works for me with the token generated as described in my previous comment. |
I still can't get it to connect, I've created 3 different tokens. One with every permission I still can't seem to get it to connect. Really want to use this enable our CI journey even better. |
It was the url that was wrong , after I fixed it it worked fine |
@stallion2076a can you share your URL? I am using https://api.hipchat.com/v2 I am using the Octopus Deploy hipchat notifier too which uses the same api url and that is working fine. I am also using TeamCity 2017.1.2 |
So I was able to get it to connect by adding /rooms onto the end of the URL. I get a connection successful message. However it is not showing any rooms in the drop down when I click to choose them, the list just stays blank even after reloading and refreshing the page. I've got it completely working now. All I needed was the / on the end on v2. |
@khaljimbo Ah! Glad it's fixed. I had to do the same thing as well. |
I can't make it work. I tried it both with https://api.hipchat.com/v2, https://api.hipchat.com/v2/rooms, https://mydomain.hipchat.com/v2/, https://mydomain.hipchat.com/v2/rooms. My TC version is: 2017.2.1 (build 50732) |
@flocsy working for me on the same TC version. The URL should be |
URL: https://api.hipchat.com/v2/, token from https://mysubdomain.hipchat.com/account/api (Send Notification scope with my user) and I get "test connection" (tried before and after save) just gives me "Connection failed". I have no idea what's the problem, there's no indication at all. When I click on the button it starts an ajax call to (fake host, token :) That gives a 400 error |
I just realized that my token has both So you need both of those scopes for connection test to be successful and be able to assign HipChat rooms to TeamCity projects and then actually send notifications. FYI it will only be able to access your public rooms and private ones that the user (to whom the token belongs) is invited to. EDIT: It's actually in the readme. oops |
na így már működik! |
Remek! :D |
OMG, I've spent almost an hour trying to find out why connection is failed. |
Helllo ,
I am unable to connect my teamcity to Hichat , it says connection failed
Just wondering if I got the URL right
The text was updated successfully, but these errors were encountered: