Open laboo opened 9 years ago
I got this error too(install via curl showterm.io/showterm > ~/bin/showterm), but the upload is done already. See https://github.com/ConradIrwin/showterm/issues/31 also.
Ping @ConradIrwin :smile:
Had the same confusing error message. Adding the --silent
flag to the curl
command "solves" the "problem".
No freaking idea though what causes the problem. The answer from the showterm.io server looks perfectly normal.
I got the same error. I thought my recording was NOT uploaded until I read this thread. Well, now I know in fact the recording was already uploaded. But I still got this error:
[root@localhost ~]# exit exit Uploading... http://showterm.io/4938e5a0dfd1c8782cb04curl: (6) Could not resolve host: ; Name or service not known Uploading failed, but don't worry! Your work is safe. You can try uploading again with: curl showterm.io/scripts --data-urlencode cols=113 --data-urlencode lines=22 --data-urlencode scriptfile@/tmp/Bqb7Y.script --data-urlencode timingfile@/tmp/6LKEr.timing secret@/root/.showterm [root@localhost ~]#
I too have this issue. Using Arch Linux, for what that's worth.
It looks like there's a stray semi-colon "Could not resolve host: ;". Can someone find it and send a PR to remove it?
I think the issue is because the secret is being passed on as an argument without being giving it a curl flag.
Try changing the script from:
if curl --fail "$url" --data-urlencode "cols=$cols" --data-urlencode "lines=$lines" --data-urlencode "scriptfile@$scriptfile" --data-urlencode "timingfile@$timingfile" "secret@$HOME/.showterm"
To:
if curl --fail "$url" --data-urlencode "cols=$cols" --data-urlencode "lines=$lines" --data-urlencode "scriptfile@$scriptfile" --data-urlencode "timingfile@$timingfile" --data-urlencode "secret@$HOME/.showterm"
And that should fix it.
Weird DNS problem on my Unbuntu box. I can ping, curl the homepage, but the curl upload command fails. See trace below: