Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic: runtime error: index out of range [0] with length 0 #407

Open
gvijayakumar-16 opened this issue Apr 15, 2020 · 0 comments
Open

panic: runtime error: index out of range [0] with length 0 #407

gvijayakumar-16 opened this issue Apr 15, 2020 · 0 comments

Comments

@gvijayakumar-16
Copy link

I am getting the below error when I am trying to scan an internally hosted site. This site has a self signed certificate.

2020/04/15 14:40:58 /opt/cipherscan/cipherscan --no-tolerance -j --curves -servername app.mysite.com 101.16.11.243:443
time="2020-04-15T14:41:03Z" level=info msg="Running workers" count=10 scan_id=19
panic: runtime error: index out of range [0] with length 0

goroutine 56 [running]:
github.com/ /tls-observatory/worker/ocspStatus.ocspStatus.Run(0xc00425bb60, 0x18, 0x1d8, 0xc0042ba060, 0x26, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/go/src/github.com/mozilla/tls-observatory/worker/ocspStatus/ocspStatus.go:100 +0x126a
created by main.scanner.scan
	/go/src/github.com/mozilla/tls-observatory/tlsobs-scanner/main.go:263 +0x17a1

When I built a local version of tlsobs after removing the above lines of code, it did print out a proper output.

Any suggestions as to why this error? Am I missing some configurations?

PS: I am running a local api and scanner and scanning using the command tlsobs -r -observatory http://localhost:8083 app.mysite.com

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

No branches or pull requests

1 participant