Comments (24)
Did you add :8080?
from gotty.
Yes.
from gotty.
Could you provide the URL you accessed?
from gotty.
Sure.
http://127.0.0.1:8080/6kbv8603
I was using --random-url
from gotty.
Cloud you try the latest pre-release? It has some changes in handling URLs that might solve your issue.
from gotty.
Sure. :)
from gotty.
@yudai How would I go about this? I'm on a Mac.
from gotty.
Try this one: https://github.com/yudai/gotty/releases/download/pre-release/darwin_amd64.tar.gz
from gotty.
Thank you.
from gotty.
Using the one you sent me: https://shel.io/f/aiUg.png
from gotty.
Could you try gotty --random-url --permit-write --addr 127.0.0.1 --port 8080 top
?
It looks like there is another bug in parsing arguments
from gotty.
Error(s): https://shel.io/f/5ppd.png
from gotty.
Thanks for testing. I'll test on Mac and try to figure out what's happening soon. Give me some time.
from gotty.
No problem. I am here to test anything you need. :)
from gotty.
I could not reproduce your problem.
However, I added an error handling to the code around you got the error. Could you redownload the latest one from the same URL and try it? And I'd like to see what happens when you run gotty without sudo.
from gotty.
I had just the same problem before I updated to current revision (from 94f571d to 56ae9ab).
It seems something in this range has fixed the issue.
@nurdturd you could try fetching latest changes to see if it's fixed for you too.
P.S. Problem disappears after 67b54b7.
from gotty.
Sure. I got this: https://shel.io/f/8BsP.png
from gotty.
Same for me for the release binary.
Works fine with binary built with go get github.com/yudai/gotty
though.
from gotty.
Found the root cause: http://stackoverflow.com/questions/20609415/cross-compiling-user-current-not-implemented-on-linux-amd64
from gotty.
Pushed the fix to the latest release. I hope it will work on your environment.
from gotty.
Thanks!
from gotty.
Using the new one, another 404 error. https://shel.io/f/MjMH.png
from gotty.
Hi, thank you for the report. Unfortunately, I cannot reproduce the issue you are experience.
Could you paste the full log? If your browser reaches the gotty server, gotty should output some GET lines like below:
./gotty -a 127.0.0.1 -r top
2015/08/24 12:22:15 Server is starting with command: top
2015/08/24 12:22:15 URL: http://127.0.0.1:8080/17qe10bp/
2015/08/24 12:22:33 GET /17qe10bp/
2015/08/24 12:22:33 GET /17qe10bp/hterm.js
2015/08/24 12:22:34 GET /17qe10bp/gotty.js
2015/08/24 12:22:34 GET /17qe10bp/ws
2015/08/24 12:22:34 New client connected: 127.0.0.1:55083
2015/08/24 12:22:34 Command is running for client 127.0.0.1:55083 with PID 45432
2015/08/24 12:22:47 GET /invalid_token/
2015/08/24 12:22:47 Command exited for: 127.0.0.1:55083
2015/08/24 12:22:47 Connection closed: 127.0.0.1:55083
In this case, the 404 error page was shown by accessing http://127.0.0.1:8080/invalid_token/
and that was logged as 2015/08/24 12:22:47 GET /invalid_token/
.
from gotty.
Closing as no activities last week. Please reopen if this issue still exists.
from gotty.
Related Issues (20)
- Failed to execute command HOT 2
- Installation through `go install` fails because of dependency issue HOT 4
- New line is not rendered on chrome 101 HOT 1
- HomeBrew installation requires intel architecture HOT 1
- Default port
- fatal error: runtime: bsdthread_register error HOT 5
- Gotty multi users and Docker and Helm
- Can I use ldap authentication before user login ?
- The browser terminal cannot display emoji HOT 3
- gotty_darwin_arm ?
- Error "Failed to authenticate websocket connection" from Jmeter tool
- It's great, it would be perfect if it can continue to be packaged as web nc
- brew installation error
- New needs and suggestions,and ask for help
- build xterm.ts more errors
- 📣 Maintained fork at sorenisanerd/gotty 📌
- Limited pasting characters
- Does not work on MacOS - produces a crash
- Has anyone upgraded this project to the latest go sdk version?
- Auto HOT 1
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 gotty.