Open poka-IT opened 3 years ago
Having this same issue.
With Rocket.Chat version 4.8.1 I still get the same port validation message, but some aspects may have changed:
TypeError: e.params is not iterable (cannot read property undefined)
.{"level":50,"time":"2022-06-22T10:58:00.883Z","pid":1385101,"hostname":"xxx","name":"Federation","section":"http","msg":"Error","err":{"type":"Error","message":"url must be absolute and start with http:// or https://","stack":"Error: url must be absolute and start with http:// or https://\n at _call (server/lib/http/call.ts:66:9)\n at Object.httpCallAsync (server/lib/http/call.ts:190:9)\n at Object.<anonymous> (packages/meteor.js:311:21)\n at Object._call [as call] (server/overrides/http.ts:6:18)\n at app/federation/server/lib/http.js:22:20\n at /opt/Rocket.Chat/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40\n => awaited here:\n at Function.Promise.await (/opt/Rocket.Chat/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12)\n at app/federation/server/lib/http.js:46:9\n at /opt/Rocket.Chat/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40"},"msg":"url must be absolute and start with http:// or https://"}
=== UnHandledPromiseRejection ===
Error: url must be absolute and start with http:// or https://
at _call (server/lib/http/call.ts:66:9)
at Object.httpCallAsync (server/lib/http/call.ts:190:9)
at Object.<anonymous> (packages/meteor.js:311:21)
at Object._call [as call] (server/overrides/http.ts:6:18)
at app/federation/server/lib/http.js:22:20
at /opt/Rocket.Chat/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
=> awaited here:
at Function.Promise.await (/opt/Rocket.Chat/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12)
at app/federation/server/lib/http.js:46:9
at /opt/Rocket.Chat/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
=> awaited here:
at Function.Promise.await (/opt/Rocket.Chat/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12)
at app/federation/server/handler/index.js:79:3
at /opt/Rocket.Chat/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
=> awaited here:
at Function.Promise.await (/opt/Rocket.Chat/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12)
at app/federation/server/handler/index.js:84:2
at /opt/Rocket.Chat/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
---------------------------------
Errors like this can cause oplog processing errors.
Setting EXIT_UNHANDLEDPROMISEREJECTION will cause the process to exit allowing your service to automatically restart the process
Future node.js versions will automatically exit the process
=================================
On v3.18.1 in docker, I configured DNS SRV and TXT records for federation. So now i'm pretty OK, but for unknown reasons, rocketchat interface explains to me that the port is misconfigured:
The test fails:
In server log I just got every minutes:
server.js:204 Federation ➔ http.error Error Error: ETIMEDOUT
But the thing is, from the host server (and same thing from inside the docker container), DNS configuration seems to be OK:
We can see the port here is 443 as well. Any Ideas ? How can I dig the problem ?