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

Malformed JSON response #2

Open
ianhobbs opened this issue Dec 8, 2023 · 2 comments
Open

Malformed JSON response #2

ianhobbs opened this issue Dec 8, 2023 · 2 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@ianhobbs
Copy link

ianhobbs commented Dec 8, 2023

This popped out on first run.

Malformed JSON response from server. HTTP-Code: 0. Response:

I presume that's a bounce.

@ianhobbs ianhobbs changed the title Error code that I can't find the source. Malformed JSON response Dec 8, 2023
@TheMaaarc TheMaaarc self-assigned this Dec 13, 2023
@TheMaaarc TheMaaarc added bug Something isn't working enhancement New feature or request labels Dec 13, 2023
@TheMaaarc
Copy link
Member

It's hard to debug this without more information. In my tests I never got it to return a `HTTP-Code: 0', I guess it can't connect to the server for some reason.
I'll add a debug option as soon as possible so you can get more information and see exactly when and why it fails to connect.

@TheMaaarc
Copy link
Member

I finally got around to updating the code. Sorry for the long wait. I hope you found a solution to your problem.

I changed the way the plugin fetches the files, fixed a bug and added verbose logging with kirby content:sync -v.
Maybe you can see what the problem is now, if you want to try again.

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

No branches or pull requests

2 participants