mirror of
https://github.com/mmatczuk/go-http-tunnel.git
synced 2026-05-15 14:16:17 -06:00
[GH-ISSUE #51] yaml: line 1: did not find expected key #27
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/go-http-tunnel#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xtrsyz on GitHub (Nov 22, 2017).
Original GitHub issue: https://github.com/mmatczuk/go-http-tunnel/issues/51
configuration error: failed to parse file ".tunnel/tunnel.yml": yaml: line 1: did not find expected key
with config
server_addr: "185.2.2.137:4443"
insecure_skip_verify: true
tunnels: ...
./tunnel -version
3d03804@mmatczuk commented on GitHub (Nov 22, 2017):
I think your file is broken. It should be like.
@xtrsyz commented on GitHub (Nov 22, 2017):
yaml: line 1: mapping values are not allowed in this context
if i not use "quote"
@mmatczuk commented on GitHub (Nov 22, 2017):
@xtrsyz please provide more context.
What platform.
What config file.
What do you mean by if i not use "quote".
@xtrsyz commented on GitHub (Nov 22, 2017):
server_addr: "185.2.2.137:4443" error yaml: line 1: did not find expected key
server_addr: 185.2.2.137:4443 error yaml: line 1: mapping values are not allowed in this context
centos 6 tunnel_linux_amd64.tar.gz
raspberry pi 3 tunnel_linux_arm.tar.gz
both same error
this file config
server_addr: "185.2.2.137:4443"
insecure_skip_verify: true
tunnels:
webui:
proto: http
addr: "localhost:2020"
host: tunnel.khus.us
@mmatczuk commented on GitHub (Nov 22, 2017):
As I said your file is broken. The indents matter try using the file exactly as in the example above or use http://www.yamllint.com/.