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

Extracting downloaded ngrok throws EOFException #70

Open
KaurKadakWise opened this issue Jan 31, 2024 · 2 comments
Open

Extracting downloaded ngrok throws EOFException #70

KaurKadakWise opened this issue Jan 31, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@KaurKadakWise
Copy link

KaurKadakWise commented Jan 31, 2024

Getting this error on startup when trying to extract downloaded ngrok

Exception in thread "ngrok-thread-1" java.lang.RuntimeException: java.io.EOFException: Unexpected end of ZLIB input stream
        at ngrok.download.NgrokFileExtractUtils.extractZip(NgrokFileExtractUtils.java:109)
        at ngrok.download.NgrokFileExtractUtils.extractArchive(NgrokFileExtractUtils.java:36)
        at ngrok.download.NgrokDownloader.downloadAndExtractNgrokTo(NgrokDownloader.java:30)
        at ngrok.NgrokRunner.downloadAndExtractNgrokBinary(NgrokRunner.java:107)
        at ngrok.NgrokRunner.lambda$run$0(NgrokRunner.java:52)
        at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
        at java.base/java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:266)
        at java.base/java.util.zip.InflaterInputStream.read(InflaterInputStream.java:175)
        at java.base/java.util.zip.ZipInputStream.read(ZipInputStream.java:412)
        at ngrok.download.NgrokFileExtractUtils.extractFile(NgrokFileExtractUtils.java:127)
        at ngrok.download.NgrokFileExtractUtils.extractZip(NgrokFileExtractUtils.java:104)
@kilmajster
Copy link
Owner

Hi @KaurKadakWise, thank you for reporting this. Can you provide some more specifics, eg. which version of this starter you're using or any other things that can help me to reproduce yours issue?

@kilmajster kilmajster added the bug Something isn't working label Feb 1, 2024
@KaurKadakWise
Copy link
Author

KaurKadakWise commented Feb 5, 2024

ngrok-spring-boot-starter version -> 0.9.0
Spring boot version -> 3.1.8

local machine: MacBook pro, MacOS: 13.6

didn't delve too deep onto why it was happening, defaulted with running ngrok locally on my terminal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants