Skip to content
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

Crash while returning (\b) from bot chat #215

Open
Zaraka opened this issue Aug 21, 2019 · 0 comments
Open

Crash while returning (\b) from bot chat #215

Zaraka opened this issue Aug 21, 2019 · 0 comments

Comments

@Zaraka
Copy link

Zaraka commented Aug 21, 2019

So I used one of those Sponzored page bots in browser official chat while I had running fb-messenger-cli then I got curious how fb-messenger-cli handled that conversation. I was in main menu, i see bot conversation i switched into it. It was completely empy as if no conversation was happening, then I entered "/b" and I got this crash

Found error while fetching conversations. TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["referer"]
    at ClientRequest.setHeader (_http_outgoing.js:473:3)
    at new ClientRequest (_http_client.js:194:14)
    at Object.request (https.js:289:10)
    at Object.request (/usr/lib/node_modules/fb-messenger-cli/node_modules/agent-base/patch-core.js:25:22)
    at Request.start (/usr/lib/node_modules/fb-messenger-cli/node_modules/request/request.js:751:32)
    at Request.write (/usr/lib/node_modules/fb-messenger-cli/node_modules/request/request.js:1497:10)
    at FormData.ondata (internal/streams/legacy.js:15:31)
    at FormData.emit (events.js:198:13)
    at FormData.CombinedStream.write (/usr/lib/node_modules/fb-messenger-cli/node_modules/combined-stream/lib/combined_stream.js:138:8)
    at FormData.CombinedStream._pipeNext (/usr/lib/node_modules/fb-messenger-cli/node_modules/combined-stream/lib/combined_stream.js:126:8)
Could not properly initialize conversation listener. 
Reason: TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["referer"]. 
Exiting...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant