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

Unknown Error (MalformedJsonException) when saving beta blobs #603

Closed
3 tasks done
plowsec opened this issue Aug 3, 2023 · 7 comments
Closed
3 tasks done

Unknown Error (MalformedJsonException) when saving beta blobs #603

plowsec opened this issue Aug 3, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@plowsec
Copy link

plowsec commented Aug 3, 2023

Describe the bug

com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 12 path $
	at [email protected]/com.google.gson.JsonParser.parseReader(Unknown Source)
	at [email protected]/airsquared.blobsaver.app.Network.makeJsonRequest(Unknown Source)
	at [email protected]/airsquared.blobsaver.app.Utils.getBetaHubList(Unknown Source)
	at [email protected]/airsquared.blobsaver.app.Utils.getBetaList(Unknown Source)
	at [email protected]/airsquared.blobsaver.app.Utils.getSignedBetas(Unknown Source)
	at [email protected]/airsquared.blobsaver.app.TSS.getIOSVersions(Unknown Source)
	at [email protected]/airsquared.blobsaver.app.TSS.call(Unknown Source)
	at [email protected]/airsquared.blobsaver.app.TSS.call(Unknown Source)
	at javafx.graphics@20/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 12 path $
	at [email protected]/com.google.gson.stream.JsonReader.syntaxError(Unknown Source)
	at [email protected]/com.google.gson.stream.JsonReader.checkLenient(Unknown Source)
	at [email protected]/com.google.gson.stream.JsonReader.doPeek(Unknown Source)
	at [email protected]/com.google.gson.stream.JsonReader.peek(Unknown Source)
	... 13 more

Screenshots

image

Desktop:

  • OS Version: a development laptop with macOS 12.6.6
  • iOS Device: 15.6, iPhone X

Checklist (place an x between the brackets to mark as completed):

  • I have made sure I am on the latest version of blobsaver
  • I have checked other open issues to see if my problem has already been reported
  • I have tried common troubleshooting tactics such as restarting my computer and reinstalling blobsaver
@plowsec plowsec added the bug Something isn't working label Aug 3, 2023
@yodaluca23
Copy link

This is happening to me too, XR 15.4

@LunarN0v4
Copy link

Happening on Arch Linux with an iPhone 12 iOS 16.5.1

com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 12 path $
at [email protected]/com.google.gson.JsonParser.parseReader(Unknown Source)
at [email protected]/airsquared.blobsaver.app.Network.makeJsonRequest(Unknown Source)
at [email protected]/airsquared.blobsaver.app.Utils.getBetaHubList(Unknown Source)
at [email protected]/airsquared.blobsaver.app.Utils.getBetaList(Unknown Source)
at [email protected]/airsquared.blobsaver.app.Utils.getSignedBetas(Unknown Source)
at [email protected]/airsquared.blobsaver.app.TSS.getIOSVersions(Unknown Source)
at [email protected]/airsquared.blobsaver.app.TSS.call(Unknown Source)
at [email protected]/airsquared.blobsaver.app.TSS.call(Unknown Source)
at javafx.graphics@20/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 12 path $
at [email protected]/com.google.gson.stream.JsonReader.syntaxError(Unknown Source)
at [email protected]/com.google.gson.stream.JsonReader.checkLenient(Unknown Source)
at [email protected]/com.google.gson.stream.JsonReader.doPeek(Unknown Source)
at [email protected]/com.google.gson.stream.JsonReader.peek(Unknown Source)
... 13 more

This was referenced Aug 6, 2023
@airsquared airsquared changed the title MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 12 path $ MalformedJsonException when saving beta blobs Aug 11, 2023
@airsquared airsquared changed the title MalformedJsonException when saving beta blobs Unknown Error (MalformedJsonException) when saving beta blobs Aug 11, 2023
@airsquared
Copy link
Owner

This is due to the beta API blobsaver is using no longer working. Looking for another solution, no ETA on a fix. In the meanwhile, you will have to disable including betas.

@garyakimoto
Copy link

So is that mean we can just uncheck save for beta option and get it work untill this problem was fix right? thanks

@airsquared
Copy link
Owner

So is that mean we can just uncheck save for beta option and get it work untill this problem was fix right? thanks

Yes

@Ruuka6009
Copy link

happening to me too, sadly I am on 14 pro max using 17.0

com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 12 path $
at [email protected]/com.google.gson.JsonParser.parseReader(Unknown Source)
at [email protected]/airsquared.blobsaver.app.Network.makeJsonRequest(Unknown Source)
at [email protected]/airsquared.blobsaver.app.Utils.getBetaHubList(Unknown Source)
at [email protected]/airsquared.blobsaver.app.Utils.getBetaList(Unknown Source)
at [email protected]/airsquared.blobsaver.app.Utils.getSignedBetas(Unknown Source)
at [email protected]/airsquared.blobsaver.app.TSS.getIOSVersions(Unknown Source)
at [email protected]/airsquared.blobsaver.app.TSS.call(Unknown Source)
at [email protected]/airsquared.blobsaver.app.TSS.call(Unknown Source)
at javafx.graphics@20/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 12 path $
at [email protected]/com.google.gson.stream.JsonReader.syntaxError(Unknown Source)
at [email protected]/com.google.gson.stream.JsonReader.checkLenient(Unknown Source)
at [email protected]/com.google.gson.stream.JsonReader.doPeek(Unknown Source)
at [email protected]/com.google.gson.stream.JsonReader.peek(Unknown Source)
... 13 more

@airsquared
Copy link
Owner

The error message is now clearer in v3.5.2 and I will be closing this in favor of #614, please follow the issue there.

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

6 participants