Skip to content
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.

Does Steno support websocket connections? #63

Open
4 of 9 tasks
cmac4603 opened this issue Jul 8, 2018 · 4 comments
Open
4 of 9 tasks

Does Steno support websocket connections? #63

cmac4603 opened this issue Jul 8, 2018 · 4 comments

Comments

@cmac4603
Copy link

cmac4603 commented Jul 8, 2018

Description

Does steno support websockets?

I've searched the documentation, but no info on this. I ask because the python-slackclient RTM library uses websockets, so at the moment all I see are POST requests a chat bot makes via the web API, and not messages retrieved via the RTM websocket.

What type of issue is this? (place an x in one of the [ ])

  • bug
  • enhancement (feature request)
  • question
  • documentation related
  • testing related
  • discussion

Requirements (place an x in each of the [ ])

  • I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've searched for any related issues and avoided creating a duplicate issue.

Bug Report

Filling out the following details about bugs will help us solve your issue sooner.

Reproducible in:

steno version: v1.2.0

OS version(s): Mac OS X High Sierra 10.13.4

Steps to reproduce:

Expected result:

Would hope to see messages retrieved by slack bot to reproduce whole flow during tests

Actual result:

What actually happened

Attachments:

Logs, screenshots, screencast, sample project, funny gif, etc.

@cmac4603
Copy link
Author

cmac4603 commented Jul 8, 2018

I am also receiving in the replay mode:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot POST /api/chat.postMessage</pre>
</body>
</html>

Apologies for the multiple questions trying http://localhost:3000/api/chat.postMessage

@seawatts
Copy link

I'm also getting this same error on /api/rtm.connect @cmac4603 have you made any progress?

@cmac4603
Copy link
Author

cmac4603 commented Jul 25, 2019

I submitted a PR back in the day, but after much chasing for a review I gave up. I really tried though. I believe I recall it working locally? It feels so long ago though.

@cmac4603
Copy link
Author

This PR used to allow you to use localhost etc. for Steno + python-slackclient. Not fully tested https://github.com/slackapi/python-slackclient/pull/332/files and like I said, I had to give up.

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

No branches or pull requests

2 participants