Comments (7)
This is caused by the change to util/error-middleware.js
in this commit
See https://expressjs.com/en/api.html
Error-handling middleware always takes four arguments. You must provide four arguments to identify it as an error-handling middleware function. Even if you don’t need to use the next object, you must specify it to maintain the signature. Otherwise, the next object will be interpreted as regular middleware and will fail to handle errors.
from actual-server.
Same issue running though docker.
from actual-server.
There might be more relevant info about your setup, but based on the screenshot you've included this section of the readme seems important
Since Actual doesn't know what server to use, the first thing it does is asks you for the server URL. If you are running this project, simply click "Use this domain" and it will automatically fill it in with the current domain. This works because we are serving the app and server in the same place.
from actual-server.
@PartyLich - I've just tried to spin up a server and have been met with the same issue and same log lines that were in the first screenshot. I've tried using a few variations of the URL including http://localhost:5006
as well as the server's IP address.
If I use localhost as previously mentioned, that page reports back with an "unable to find server". But if I use the server's IP address (which is what is filled out when clicking "Use this domain"), the OK button just turns into a forever spinning loading button and never progresses. There's no notable errors in either the browser console or the server's logs other than what's already been shared. Happy to provide any additional information that might help with debugging.
from actual-server.
As a quick follow up, I spun up a Docker container on my localhost to see if I could replicate this same bug (previously was hosting on a kubernetes cluster). Experienced the same behavior as before. I've included the full logs from the start of the container up to and including the request that seems to be stalling or erroring.
https://gist.github.com/gradiuscypher/33962aeada25261781b8eb11a21ae953
from actual-server.
I'll have another look and see if I can garner some insight as soon as time allows. At the moment I can't reproduce the problem.
edit: that is to say, my inability to reproduce makes it harder to offer anything of value. I hope i'm not coming across as dismissive, that's definitely not my intent. Apologies if that was the case
from actual-server.
Not a problem, I'll see if I can take a look at the code sometime in the next few days and potentially narrow down what might be going on. I'm less experienced with JS, so I'm not overly confident in my abilities, but I'm willing to give it a shot :)
from actual-server.
Related Issues (20)
- Rename Nordigen to GoCardless HOT 1
- Post schedule transaction before due date HOT 1
- [Bug]: no such table: files HOT 3
- [Tech Debt] Ability to run DB migrations
- Default data dir on Windows HOT 2
- Remove Express "x-powered-by" header HOT 1
- GoCardless American Express HOT 3
- Deposits in expense category create issue with all future budget balances HOT 4
- [Schedules] Add category to entry
- [Feature request] Add end date to repeated Schedules HOT 2
- #Alienvault Administration HOT 1
- Api endpoint suggestion to match payee rule HOT 1
- Flip amount option with GoCardless HOT 5
- Error thrown during qfx import HOT 2
- Proposal: progress bars and targets HOT 2
- READ ME BEFORE OPENING AN ISSUE
- [Bug]: Unable to authenticate with server -> Syncing has been reset on this cloud file. HOT 12
- [Bug]: CI - out of memory errors HOT 2
- [Bug]: 23.12.0 rootless migrate permission error HOT 2
- [Bug]: Where’s the server? Message HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from actual-server.