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

Crashing on initial boot (new user) #23

Open
Damatios opened this issue Mar 30, 2019 · 9 comments
Open

Crashing on initial boot (new user) #23

Damatios opened this issue Mar 30, 2019 · 9 comments

Comments

@Damatios
Copy link

Hey there! So I am running OS Mojave 10.14.4 and have JDK 12 installed. I followed all the directions to set up the weServer, but keep getting this error:

[!!! ERROR !!!] [weServer Database Service] An error occurred while connecting to the Messages Chat database. Shutting down!
 
java.sql.SQLException: The database has been closed
	at org.sqlite.core.NativeDB.throwex(NativeDB.java:471)
	at org.sqlite.core.NativeDB.errmsg_utf8(Native Method)
	at org.sqlite.core.NativeDB.errmsg(NativeDB.java:137)
	at org.sqlite.core.DB.newSQLException(DB.java:921)
	at org.sqlite.core.DB.throwex(DB.java:886)
	at org.sqlite.core.NativeDB._open_utf8(Native Method)
	at org.sqlite.core.NativeDB._open(NativeDB.java:71)
	at org.sqlite.core.DB.open(DB.java:174)
	at org.sqlite.core.CoreConnection.open(CoreConnection.java:220)
	at org.sqlite.core.CoreConnection.<init>(CoreConnection.java:76)
	at org.sqlite.jdbc3.JDBC3Connection.<init>(JDBC3Connection.java:25)
	at org.sqlite.jdbc4.JDBC4Connection.<init>(JDBC4Connection.java:24)
	at org.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:45)
	at org.sqlite.JDBC.createConnection(JDBC.java:114)
	at org.sqlite.JDBC.connect(JDBC.java:88)
	at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)
	at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:251)
	at scott.wemessage.server.c.a.<init>(SourceFile:120)
	at scott.wemessage.server.a.<init>(SourceFile:79)
	at scott.wemessage.server.ServerLauncher.main(SourceFile:8)
 
The email and password provided in config.json are invalid!
 
Please enter a new email and password for devices to connect with!
Your email must be the same as the one you are using iMessage with.
 
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

Any suggestions? This happens whether the email is "email@icloud.com" (the default, I assume) or my actual iMessage account. I'll keep seeing if I can get it to reset/ run, but it doesn't look promising as I cannot enter any of the commands.

@ngkline
Copy link

ngkline commented Nov 5, 2019

I am having a similar issue, tried to delete and re-download. Did not work. Did OP find a fix?

@evanoe7
Copy link

evanoe7 commented Nov 8, 2019

I'm having this issue as well. Any resolution yet?

@aphexcx
Copy link

aphexcx commented Jan 5, 2020

Same here. Can't proceed past this point to any of the setup. Please respond!

@Chandlerblaid
Copy link

I also have this issue

@alex4108
Copy link

I gave Java and Terminal Full Disk Access & Accessibility permissions and got past this crash.

@tcco
Copy link

tcco commented May 2, 2020

This method in the Authenticator class is where it is breaking for me. First off, you have to change the email, password, and secret from the default values. After doing so you'll get to the error thrown on line 58.

There I generated a valid 10 rounded salt but also realized test actually has to be your password in config.json. The bug, however, is that hashPassword from bcrypt expects bytes rather than strings.

@Elsa224
Copy link

Elsa224 commented May 22, 2020

I gave Java and Terminal Full Disk Access & Accessibility permissions and got past this crash.

It worked for me!

@cssjr
Copy link

cssjr commented Jul 14, 2021

I gave Java and Terminal Full Disk Access & Accessibility permissions and got past this crash.

How do you do this? Sorry mac n00b

@alex4108
Copy link

alex4108 commented Jul 14, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants