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

Jam Fails with No Connection to Backend 502 error #837

Open
Bonzbonanza opened this issue Sep 6, 2024 · 11 comments
Open

Jam Fails with No Connection to Backend 502 error #837

Bonzbonanza opened this issue Sep 6, 2024 · 11 comments
Labels
bug Something isn't working

Comments

@Bonzbonanza
Copy link

Bonzbonanza commented Sep 6, 2024

Expected behavior

Jam to complete a sweep.

Actual behavior

Previously was able to complete a sweep over a day. Trying again and Jam is disconnecting from the backend after only one completed transaction, twice. The first time that this happened today I was able to restart Jam and schedule another sweep, but that has also failed.

Steps to reproduce the problem

  1. Run Sweep
  2. Wait

Specifications

  • Version: Synology VM
  • Platform: Umbrel
  • Browser: N/A

Additional context

Logs attached
(removed)

@Bonzbonanza Bonzbonanza added the bug Something isn't working label Sep 6, 2024
@theborakompanioni
Copy link
Collaborator

Hey @Bonzbonanza. Sorry for the delay and your unpleasant experience.
There is too little info in the logs to actually determine the error cause.
It seems Bitcoin Core is running and is reachable for Jam, but the wallet daemon keeps shutting down.
Would it be possible to inspect the log files in /var/log/jam? Please do not include any private or personal information, possibly only the latest error messages 🙏

@Bonzbonanza
Copy link
Author

Bonzbonanza commented Sep 9, 2024 via email

@theborakompanioni
Copy link
Collaborator

I don't seem to be able to even find the log. For instance, /var/log returns "Is a directory" but /var/log/jam returns "No such file or directory".

You'd need switch into the Jam container, e.g. with docker exec -it jam_web_1 bash (maybe the container is named differently, find out with docker ps | grep jam if the previous command did not work).
Then view the log file in /var/log/jam with tail -n 200 -f /var/log/jam/jmwalletd_stdout.log (and/or jmwalletd_stderr.log).
https://jamdocs.org/FAQ/#how-do-i-view-the-log-file

Let me know if that works out for you. Please do not hesitate to write here if it did nor work or does not make sense to you. 🙏

@Bonzbonanza
Copy link
Author

Bonzbonanza commented Sep 9, 2024 via email

@theborakompanioni
Copy link
Collaborator

theborakompanioni commented Sep 9, 2024

While the instructions are indeed over my head when though I could probably brute force them if I knew where to enter the commands, the first obstacle is that I'm not using a docker container. My Umbrel is running as it's own VM on a NAS. I'm remote from the NAS which makes it even harder as I access via a browser using TailScale. If you can suggest another method I'm willing to try. This makes me think that a log output function in the app would be a good idea as it would then be a download in the browser.

Umbrel uses docker internally to run applications. You'd need to ssh into it (as I assume you did earlier when you said that there is no such directory).

There is a "log output function" in the app (for some integrations - those that use the standalone image), but it is of no use if the application does not start, damn.. 😅

@Bonzbonanza
Copy link
Author

Bonzbonanza commented Sep 9, 2024 via email

@theborakompanioni
Copy link
Collaborator

So, it seems that it is sorted out? Or does it keep happening?
Is there anything else you did before it the hiccups started?
On integrations like Umbrel Jam tries to only start if Bitcoin Core accepts RPC requests and is completely synced. Maybe there is a chance this is not working properly on every Core version.. 🤔

@Bonzbonanza
Copy link
Author

Bonzbonanza commented Sep 12, 2024 via email

@theborakompanioni
Copy link
Collaborator

I am sorry I cannot identify the error based on the description : /
Do single collaborative transactions or direct-spends work normally?

@Bonzbonanza
Copy link
Author

Bonzbonanza commented Sep 15, 2024 via email

@theborakompanioni
Copy link
Collaborator

Hmm.. still scratching my head about this. I am really shooting in the dark here wondering what might be the culprit.. e.g. Have you updated Bitcoin Core recently?
A new version should be released shortly. Hopefully your situation improves but this would be a more than lucky coincidence.

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