Baileys
Baileys copied to clipboard
[BUG] Invalid Host Defined Options
Describe the bug I get this error when running on CENTOS 9
{"level":50,"time":"2023-10-20T13:23:58.285Z","pid":1978153,"hostname":"localhost","err":{"type":"TypeError","message":"Invalid host defined options","stack":"TypeError: Invalid host defined options\n at getHttpStream (/snapshot/yvr/yvrbeta/node_modules/@whiskeysockets/baileys/lib/Utils/messages-media.js:316:32)\n at downloadEncryptedContent (/snapshot/yvr/yvrbeta/node_modules/@whiskeysockets/baileys/lib/Utils/messages-media.js:450:53)\n at downloadContentFromMessage (/snapshot/yvr/yvrbeta/node_modules/@whiskeysockets/baileys/lib/Utils/messages-media.js:418:49)\n at downloadHistory (/snapshot/yvr/yvrbeta/node_modules/@whiskeysockets/baileys/lib/Utils/history.js:14:74)\n at downloadAndProcessHistorySyncNotification (/snapshot/yvr/yvrbeta/node_modules/@whiskeysockets/baileys/lib/Utils/history.js:81:58)\n at processMessage (/snapshot/yvr/yvrbeta/node_modules/@whiskeysockets/baileys/lib/Utils/process-message.js:146:96)\n at /snapshot/yvr/yvrbeta/node_modules/@whiskeysockets/baileys/lib/Socket/chats.js:736:43\n at /snapshot/yvr/yvrbeta/node_modules/@whiskeysockets/baileys/lib/Utils/event-buffer.js:105:42\n at /snapshot/yvr/yvrbeta/node_modules/@whiskeysockets/baileys/lib/Socket/messages-recv.js:581:23\n at async /snapshot/yvr/yvrbeta/node_modules/@whiskeysockets/baileys/lib/Utils/make-mutex.js:18:36"},"msg":"unexpected error in 'processing message'"}
To Reproduce Steps to reproduce the behavior:
- Created a new connection
- Closed & used saved credentials to log back in
- Etc.
Expected behavior A clear and concise description of what you expected to happen.
Environment (please complete the following information):
- Is this on a server?
- What do your
connectOptions
look like? - Do you have multiple clients on the same IP?
- Are you using a proxy?
Additional context Add any other context about the problem here.