-
Notifications
You must be signed in to change notification settings - Fork 10.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SlackBridge: TypeError: this._encodeParams is not a function #17815
Comments
I'm seeing the same on Ubuntu 18.04 |
Hi, I am facing the same issue with rocketchat version latest docker image 3.3 Steps to reproduce:
Server Setup Information:
|
Same error here with rocketchat version 3.3.3 Server Setup Information:Version of Rocket.Chat Server: 3.3.3. logs
|
I am also seeing the same Server Setup Information: Version of Rocket.Chat Server: 3.3.3. Log error:
|
@sampaiodiego is this on your radar? |
it was not =) @pierre-lehnen-rc can you take a look on this please? thx |
@sampaiodiego @pierre-lehnen-rc Thanks for looking into this. Same issue here on brand new server deployed yesterday with latest docker container on AWS. Ubuntu 18.04 Completely fresh install using standard AWS instructions. I20200626-12:09:40.146(0) server.js:204 SlackBridge ➔ Slack.error Error attempting to connect to Slack TypeError: this._encodeParams is not a function at _encodeParams (packages/url.js:69:23) at Object.exports.buildUrl (packages/url.js:91:16) at Function.exports._constructUrl (packages/url.js:119:17) at Object._call (packages/http.js:76:20) at Object.call (packages/meteor.js:306:21) at Object.HTTP.get (packages/http.js:217:20) at SlackAPI.getChannels (app/slackbridge/server/SlackAPI.js:11:25) at SlackAdapter.populateMembershipChannelMapByChannels (app/slackbridge/server/SlackAdapter.js:533:34) at SlackAdapter.populateMembershipChannelMap (app/slackbridge/server/SlackAdapter.js:562:8) at app/slackbridge/server/SlackAdapter.js:57:10 at Function.time (/app/bundle/programs/server/profile.js:273:30) at /app/bundle/programs/server/boot.js:415:15 at /app/bundle/programs/server/boot.js:465:7 at Function.run (/app/bundle/programs/server/profile.js:280:14) at /app/bundle/programs/server/boot.js:463:13 |
@pierre-lehnen-rc The problem still exists in version 3.4.0: |
Same in 3.4.1 |
I have updated the rocketchat to |
Also confirming the issue persists for me in |
By going back to a snap installation with current snap stable version 3.2.2 it works fine. It seems to be all versions after 3.3.0 including the most recent 3.4.1 |
This was introduced by a meteor bug, which is fixed by now. We'll need to update meteor to fix it on our side as well. Related: meteor/meteor#11092 |
Hi @pierre-lehnen-rc, Is rocketchat docker image has been updated with this fix.? |
issue still exist in version 3.4.2
|
Do you have some workaround to this maybe? |
@sampaiodiego this issue still exist in rocket.chat:3.4.2 docker image, can you please let me know which image tag should I use to get the slack bridge issue fixed |
@Vinutha-Garimella the fix will be included in version 3.5.0 which is under release candidate now.. you can help test using image |
Slackbridge is working with rocketchat:3.5.0-rc.0 image, thanks for the update @sampaiodiego |
Description:
I wanted to setup the SlackBridge, but after I entered the settings and restarted rocket-chat container, I received a error in the 'View Logs' page.
Steps to reproduce:
Expected behavior:
Rocketchat would connect to slack to synchronise messages
Actual behavior:
Throws the error defined below.
Server Setup Information:
Relevant logs:
I20200603-06:23:41.786(0) server.js:204 SlackBridge ➔ Slack.error Error attempting to connect to Slack TypeError: this._encodeParams is not a function at _encodeParams (packages/url.js:69:23) at Object.exports.buildUrl (packages/url.js:91:16) at Function.exports._constructUrl (packages/url.js:119:17) at Object._call (packages/http.js:76:20) at Object.call (packages/meteor.js:306:21) at Object.HTTP.get (packages/http.js:217:20) at SlackAPI.getChannels (app/slackbridge/server/SlackAPI.js:11:25) at SlackAdapter.populateMembershipChannelMapByChannels (app/slackbridge/server/SlackAdapter.js:533:34) at SlackAdapter.populateMembershipChannelMap (app/slackbridge/server/SlackAdapter.js:562:8) at app/slackbridge/server/SlackAdapter.js:57:10 at Function.time (/app/bundle/programs/server/profile.js:273:30) at /app/bundle/programs/server/boot.js:415:15 at /app/bundle/programs/server/boot.js:465:7 at Function.run (/app/bundle/programs/server/profile.js:280:14) at /app/bundle/programs/server/boot.js:463:13
The text was updated successfully, but these errors were encountered: