skoczen / will

Will is a simple, beautiful-to-code bot for slack, hipchat, and a whole lot more.
https://heywill.io
MIT License
406 stars 171 forks source link

ERROR Error reading from XML stream. #241

Closed dearchap closed 7 years ago

dearchap commented 8 years ago
  ___/-\___
**_ __**_ ___
--O---O--
_**/
___**
  Will: Hi!

Verifying environment... ✓ WILL_USERNAME ✓ WILL_PASSWORD ✓ WILL_V2_TOKEN ✓ WILL_REDIS_URL

Verifying credentials... ✓ bay max authenticated ✓ @baymax verified as handle

Loading configuration... Importing config.py... ✓ Valid. Verifying settings... ! Warning: no DEFAULT_ROOM found in the environment or config. Defaulting to 'baymaxtest', the first one.

Verifying rooms... ✓ Joining the 1 room specified.

Bootstrapping storage... ✓ Bootstrapped!

Bootstrapping plugins...

Administrative actions ------------------------------------------------ will.plugins.admin ✓ Ping ✓ KeepAlive ✓ Say ✓ Storage ✓ Version

Hipchat actions --------------------------------------------------- will.plugins.chat_room ✓ NewTopic ✓ Rooms ✓ Roster

Devops, server stuff, and uptime ------------------------------------- will.plugins.devops ✓ BitBucketIsUp ✓ GithubIsUp ✓ EmergencyContacts ✗ PagerDuty (blacklisted) ✓ HipChatIsUp ✓ HerokuIsUp

Old-fashioned friendliness ----------------------------------------- will.plugins.friendly ✓ TalkBack ✓ Snickerdoodles ✓ Hello ✓ MorninEvenin ✓ Thanks ✓ RandomTopic ✓ ItsLove

It can't all be about work! --------------------------------------------- will.plugins.fun ✓ GooglePoem ✓ Definition ✓ Pug

Help ------------------------------------------------------------------- will.plugins.help ✓ ProgrammerHelp ✓ Help

Plugins -------------------------------------------------------------------------- plugins ✓ Hello

Productivity --------------------------------------------------- will.plugins.productivity ✓ Remind ✗ Hangout (blacklisted) ✓ Images ✗ Time (blacklisted) ✗ Bitly (blacklisted)

Web pages --------------------------------------------------------------- will.plugins.web ✓ HomePage

Verifying settings requested by plugins... ✓ PUBLIC_URL

Bootstrapping complete.

Starting core processes: ✓ Web server started. ✓ Scheduler started. ✓ Chat client started. ✓ Will is running. ERROR Error reading from XML stream. ERROR Error reading from XML stream.

The bot is not showing up as active in hipchat and in any rooms.

I have the following environment variables defined

WILL_HIPCHAT_SERVER=XXX WILL_HTTPSERVER_PORT=8080 WILL_PASSWORD=XXX WILL_PUBLIC_URL=http://[my-server-ip] WILL_ROOMS=baymaxtest WILL_USERNAME=YY@[local-hipchat-server-name] WILL_V2_TOKEN=XXXX

I can do the following

curl http://localhost:8080/say/Oh%20dear

and have the message show up in default chat room.

Am I missing some configuration ?

Binaym commented 8 years ago

Seeing similar issue

Starting core processes: ✓ Web server started. ✓ Scheduler started. ✓ Chat client started. ✓ Will is running. ERROR Error reading from XML stream. ERROR Error reading from XML stream. ERROR Error reading from XML stream.

brandonsturgeon commented 7 years ago

Hi there!

Sorry that you haven't received a reply yet, it seems like everyone over here is really busy in their lives right now.

Have you solved this yourself?

A lot of times when people receive this error, it's something to do with network auth. Usually certificates or something. Some people have done a variety of things to temporarily get around this specific problem, one of the most recent ones was to uncomment ALLOW_INSECURE_HIPCHAT_SERVER in the config. But it looks like you've already done that.

@dearchap @Binaym If you're still struggling with this or would like to find a solution, I'd be happy to take a look at the full trace to help you figure out what's causing your issue(s).

skoczen commented 7 years ago

Closing this as it seems stale, and there wasn't a response to @brandonsturgeon - please reopen if you're still having trouble!