mirror of
https://github.com/appy-one/acebase-client.git
synced 2026-05-24 22:01:18 -06:00
[GH-ISSUE #55] Could not get server info, update your acebase server version #23
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase-client#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @srebling on GitHub (Jan 20, 2023).
Original GitHub issue: https://github.com/appy-one/acebase-client/issues/55
Getting this message when trying a simple client connection. 'Could not get server info, update your acebase server version'
I am using the latest version. Also receive a 'not found' error when issuing a db.ref().get() on a paths that I know exist. No authentication or signin needed for this use case. This is all on the same localhost (OSX 10.15.7, node v16.14.2). The database was generated with a node.js app using just the acebase engine, which works very well and as expected for reading and writing to the database. The code below is running in two separate terminal instances. What am I missing? Thanks.
Server code:
Client code:
package.json:
@donl commented on GitHub (Jan 22, 2023):
I doubt AceBase supports having
/in the database name when using the server or client.If you are trying to have the server store the database in a specific path, there is a configuration option
pathfor that (might be missing from the documentation).@srebling commented on GitHub (Jan 22, 2023):
I added a
path: "../../"property to the server settings and removed it from the dbnames. It is working now. Thanks for pointing that out. The main acebase engine docs do mention thepathproperty, I overlooked it while trying out the server/client packages.