Can't create account to get started docker!
I just installed everything with docker method but I can't create a root account or a normal account since I am also not sure wich it would create on the rigidtration page! On the register page I getting a error but the docker logs show nothing and in the maxun folder are no files created! I changed in the .env only both public urls from localhost to the device Ip adress! Everything else is the same as in the example!
I created the maxun folder as parent folder since I understood it that way that it has to be a parent folder!
@FOUNDATIONAIBASED what is your operating system?
@FOUNDATIONAIBASED what is your operating system?
Ubuntu 22.4.3
I encountered the same issue as you. When I changed the URL to localhost:5173 instead of 127.0.0.1:5173, the problem was resolved.
LAN can also not access account creation.
getting same error Registration failed. Please try again
I encountered the same issue as you. When I changed the URL to localhost:5173 instead of 127.0.0.1:5173, the problem was resolved.
At least this solution works for you but I run the server version of ubuntu therefore I have to use the server ip adress in order to access it remotely!
I encountered the same issue as you. When I changed the URL to localhost:5173 instead of 127.0.0.1:5173, the problem was resolved.
i getting the same error,but both url failed
My .env file is still localhost but it keeps fail to register
I'm getting this same issue. No errors in logs and I adjusted permissions for all files in the working directory. Still "Registration Failed. Please try again."
Update: Read through #128 and saw browser logs being helpful. Here is what I see when using Firefox to connect:
XHRPOST
http://localhost:8080/auth/register
XHROPTIONS
http://localhost:8080/auth/register
CORS Failed
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:8080/auth/register. (Reason: CORS request did not succeed). Status code: (null).
Not sure how the average user can address this, but figured it may be helpful to the devs
Update 2:
After doing some tweaking I got it working. In the .env file, if PUBLIC_URL is not localhost, BACKEND_URL cannot be localhost either. I was running PUBLIC_URL=http://192.168.x.x:5173 and BACKEND_URL=http://localhost:8080. Changing it to BACKEND_URL=http://192.168.x.x:8080 allows me to log in. Hopefully this helps!
@F1zzyD i am aware of that! But that didn't solve the issue for me!
Me neither
Try this maybe that helps!
Use the credentials to login into minio!:
MINIO_ACCESS_KEY=minio_access_key # MinIO access key MINIO_SECRET_KEY=minio_secret_key # MinIO secret key
go to ipadress:9001
login with the credentials!
create a bucket called maxun and try register again not sure if the time was the important factor or creating the bucket in minio but now i could at least register and see the interface even tough i get everywhere errors!
The errors i get now are:
On robots page:
Remote browsers are currently busy. Please wait for a few minutes and try again
Api Key page:
Failed to fetch API Key - Request failed with status code 403
Logs show this i guess i made in the .env a mistake with the JWT secret!: JWT verification error: JsonWebTokenError: jwt malformed at module.exports (/app/node_modules/jsonwebtoken/verify.js:70:17) at requireSignIn (/app/server/src/middlewares/auth.ts:18:11) at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) at next (/app/node_modules/express/lib/router/route.js:149:13) at Route.dispatch (/app/node_modules/express/lib/router/route.js:119:3) at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) at /app/node_modules/express/lib/router/index.js:284:15 at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12) at next (/app/node_modules/express/lib/router/index.js:280:10) at Function.handle (/app/node_modules/express/lib/router/index.js:175:3)