Giter VIP home page Giter VIP logo

Comments (13)

alexkvak avatar alexkvak commented on June 14, 2024 1

No plugin was developed for 2017.1.2
I'll check what I can do with this feature.

from teamcity-slack.

alexkvak avatar alexkvak commented on June 14, 2024

Please install v1.1.1 and you can see Slack API error code after this error message.
The list of this error code is here

from teamcity-slack.

mvput avatar mvput commented on June 14, 2024

Now it returns the following error: Unable to create session by config: Connect to slack.com:443 [slack.com/52.85.250.20] failed: Connection timed out: connect.

from teamcity-slack.

alexkvak avatar alexkvak commented on June 14, 2024

So it's not a plugin problem :)

from teamcity-slack.

mvput avatar mvput commented on June 14, 2024

Allright, i'm checking the proxy settings.

from teamcity-slack.

mvput avatar mvput commented on June 14, 2024

I've configured the proxy on teamcity. But does the slack plugin works based on teamcity proxy or the agent proxy? The proxy works for teamcity because i can download and install updates from teamcity.

from teamcity-slack.

alexkvak avatar alexkvak commented on June 14, 2024

Plugin works only on teamcity, not agents.

from teamcity-slack.

mvput avatar mvput commented on June 14, 2024

Does the plugin pick up the proxy from teamcity?

from teamcity-slack.

alexkvak avatar alexkvak commented on June 14, 2024

No. What proxy settings do you mean?

from teamcity-slack.

mvput avatar mvput commented on June 14, 2024

You can configure a proxy for teamcity for outgoing connections. See: Configure TeamCity to Use Proxy Server for Outgoing Connections

For example

# For HTTP protocol
## The domain name or the IP address of the proxy host and the port:
teamcity.http.proxyHost=proxy.domain.com
teamcity.http.proxyPort=8080
 
## The hosts that should be accessed without going through the proxy, usually internal hosts. Provide a list of hosts, separated by the '|' character. The wildcard '*' can be used:
teamcity.http.nonProxyHosts=localhost|*.mydomain.com)

# For HTTPS protocol
## The domain name or the IP address of the proxy host and the port:
teamcity.https.proxyHost=proxy.domain.com
teamcity.https.proxyPort=8080
 
## The hosts that should be accessed without going through the proxy, usually internal hosts. Provide a list of hosts, separated by the '|' character. The wildcard '*' can be used:
teamcity.https.nonProxyHosts=localhost|*.mydomain.com

from teamcity-slack.

alexkvak avatar alexkvak commented on June 14, 2024

Now you can specify proxy settings with -D argument or in internal.properties file.

from teamcity-slack.

NikolaR avatar NikolaR commented on June 14, 2024

Seems to work. Slightly confusing:

  1. No proxy settings, TeamCity fails to connect to public internet (e.g. to check for updates)
  2. Slack plugin fails to connect
  3. Set proxy
  4. TeamCity starts to work
  5. Slack plugin still does not work
  6. Restart TeamCity service
  7. Slack integration starts working

It would be helpful not to cache this information.

from teamcity-slack.

alexkvak avatar alexkvak commented on June 14, 2024

It depends on https://github.com/Itiviti/simple-slack-api which I cannot upgrade due to this issue Itiviti/simple-slack-api#230

from teamcity-slack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.