Comments (4)
The plot thickens. I tried an alternate client (wscat) and.. it's behaving similarly. Ended too fast and doing no output when it runs on GitHub Action runner ubuntu-latest
.
Something about running websocket commands from a github action runner must be causing this. Open to any areas to poke into or 💡 ideas of why this might be the case. I know this isn't necessarily a bug in websocat
now that I've dug further but sorta at my wit's end 😬
from websocat.
Forward finished
What is being fed to stdin in CI scenario? Maybe it's /dev/null
or something like that? This should be the difference between interactive run and CI run and can affect both clients.
Are you sending any WebSocket messages or only receiving them? If you want WebSocket to only receive the messages, use something like this:
websocat $websocketUrl -H "Authorization: Bearer $ACCESS_TOKEN" -U -n -v
i.e. "unidirectional-reverse" and "do not sent close message" options.
from websocat.
Forward finished
What is being fed to stdin in CI scenario? Maybe it's
/dev/null
or something like that? This should be the difference between interactive run and CI run and can affect both clients.Are you sending any WebSocket messages or only receiving them? If you want WebSocket to only receive the messages, use something like this:
websocat $websocketUrl -H "Authorization: Bearer $ACCESS_TOKEN" -U -n -v
i.e. "unidirectional-reverse" and "do not sent close message" options.
Just receiving messages. I'll try that out, thanks!
from websocat.
I think that did it! Thanks so much for the suggestion. I was tearing my hair out! 😄
from websocat.
Related Issues (20)
- provide interface that accepts `Opts` and `std::process::Stdio` HOT 3
- Binary response frames are not handled well HOT 5
- Binary Frames support HOT 8
- Specify server TLS certificate HOT 2
- "dropped a ping request from websocket due to channel contention" HOT 2
- Specify TLS hostname separately from connect hostname HOT 2
- Refersh header while interractive session is in progress HOT 15
- Question: how do websocat know the other one reached EOF ?
- How do websocat know the other one reached EOF ? HOT 3
- Print more details on I/O failure
- websocat does not report errors when the connection dies HOT 1
- Is there any way to print plain text of request and response when connecting to wss endpoint ? HOT 1
- Pkcs12 compatibility issues on OpenSSL 1.x.x HOT 5
- Consider allowing basic auth to be passed in environment variable to hide it from the rest of users HOT 4
- Saving Response from Websocat on windows OS HOT 1
- [v1.13.1] Release Date Request HOT 3
- Websocat client cannot connect even though wscat does? HOT 2
- pipe commands to websocat? HOT 3
- Cannot install in Fedora 40 container HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from websocat.