Comments (6)
I tried deleting the db and just reinitializing everything. now I get
secretsmysitecom-hemmelig-1 | {"level":50,"time":1705595062467,"pid":19,"hostname":"e2d48b5d4986","reqId":"req-4","req":{"method":"GET","url":"/","hostname":"secrets.mysite.com","remoteAddress":"10.20.30.4","remotePort":36472},"res":{"statusCode":500},"err":{"type":"TypeError","message":"Cannot read properties of null (reading 'role')","stack":"TypeError: Cannot read properties of null (reading 'role')\n at Object.readOnlyHandler (file:///home/node/hemmelig/src/server/prehandlers/read-only.js:28:49)"},"msg":"Cannot read properties of null (reading 'role')"}
might be related to #246
from hemmelig.app.
Hi, @cocoonkid , can you delete your cookies, then it should work. This issue is when you are already signed in to the domain, then the API tries to read from the cookies, and if the user do not exist, this error will be thrown.
I have to create a fix for that.
from hemmelig.app.
@bjarneo I tried all this.
But it still does not work.
I also removed all mounts and made sure to start from scratch but still no dice.
from hemmelig.app.
I am not sure how you can end up in this situation at all. Really. Did you try with the latest release?
What I am trying to say is that most likely it is not the application causing issues.
Did you try to backup the database file, then remove it from the db folder and start from scratch?
from hemmelig.app.
I've had the same issue.
In case you have SECRET_HOST
env var prefixed with the protocol, remove it. I.e.
SECRET_HOST=your.domain.com
from hemmelig.app.
Thanks, but this correct in my case. I think my reverse proxy is doing something wrong. I will review this soon.
from hemmelig.app.
Related Issues (20)
- ZAP Full Scan Report
- Invalid `prisma.user.create()` invocation with v5.15.4 HOT 12
- [OTHER] App Customization HOT 1
- Blank "public pastes" page when no items available HOT 3
- Restricting to specific IP Adress not working in behind Traefik proxy HOT 5
- documentation for the API HOT 1
- Domain restriction HOT 1
- It seems that the I18N for Simplified Chinese(zh-CN) is no longer working HOT 1
- Cannot find package '@vitejs/plugin-react HOT 2
- Sign in succeeds, then "a is null" for Instance settings HOT 3
- [FEATURE] Automatically convert URIs into clickable links
- <Security> Password length is "public" HOT 1
- Docker container marked as unhealthy as healthcheck fails HOT 5
- Minified React error #301 HOT 1
- Sign out is not working HOT 2
- [FEATURE] UI Enhancements
- Button titles are cut off
- [FEATURE] Always show formatting toolbar
- Unable to Find Default Admin Credentials After Docker Compose Installation HOT 1
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 hemmelig.app.