Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Integrations not working

Open NQNetwork opened this issue 9 years ago • 9 comments

Hello,

After this issue https://github.com/RocketChat/Rocket.Chat/issues/5841 we have sold our problem by updating the docker-composer.yml with your new file. But after that, our integrations like Giphy not working. When we try to use it, we have this error log:

Exception in callback of async function: TypeError: Cannot read property 'statusCode' of null at /app/bundle/programs/server/packages/rocketchat_integrations.js:1316:30 at runWithEnvironment (packages/meteor.js:1176:24)

Thanks.

Rocket.Chat Version: 0.50.1 Running Instances: 1 DB Replicaset OpLog: Active Node Version: 4.7.1 Running with docker-compose

NQNetwork avatar Feb 03 '17 10:02 NQNetwork

Hi there, could anyone determine if this is a RC related issue or if we have to adjust our giphy integration? If so, please open an issue here: https://github.com/FinndropStudios/GifRocket Thanks in advance for figuring out - unfortunately we're limited in time at the moment

manuelbachl avatar Feb 03 '17 12:02 manuelbachl

We are running the same version and it is working...

thiesschneider avatar Feb 03 '17 12:02 thiesschneider

@manuelbachl , the problem is not just for the Giphy integration. We have an integration for Redmine, and this is the same issue.

NQNetwork avatar Feb 03 '17 13:02 NQNetwork

This happens when the result from going out to the urls doesn't work and errors out.

graywolf336 avatar Feb 03 '17 15:02 graywolf336

Hello,

When we try a curl on an url with the container, it's appear that Rocket.Chat try to connect by proxy.domain.com. How to disable that?

docker exec -it b47060af2214 curl -l "https://api.giphy.com/v1/" curl: (7) Failed to connect to proxy.domain.com port 1080: Connection timed out

NQNetwork avatar Feb 06 '17 10:02 NQNetwork

Have you setup a proxy for it to use? As Rocket.Chat by default won't try to proxy (that I'm aware of) unless it has been told to.

graywolf336 avatar Feb 06 '17 13:02 graywolf336

@NQNetwork You should remove the HTTP_PROXY and HTTPS_PROXY environment variables from your docker-compose.yml or change to your proxy settings.

rodrigok avatar Feb 06 '17 19:02 rodrigok

Please reopen this issue if the problem persists

rodrigok avatar Feb 06 '17 19:02 rodrigok

I'm having the same issue except I'm running through snap. Is there a specific way to set Rocket's proxy. I've tried setting the EnvironmentFile=/etc/environment in the service files of caddy and mongo for systemd.

anthok avatar Feb 10 '17 18:02 anthok