Replies: 7 comments
-
This is how it works. The json file overrules the env settings. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hmm indeed. I'm also not sure if it gets saved to the json file, if that is the case, that should be fixed. |
Beta Was this translation helpful? Give feedback.
-
Sorry, indeed I had trouble to really explaining the behavior. This behavior seems logical to me, but what I don't understand its why when I set I suppose there is a part of code where the parameter That I found strange, it's In doubt, I add my dot env in original message |
Beta Was this translation helpful? Give feedback.
-
@sebtiz13:
Best way to check this out is by renaming the If it does change the logging output, then i would suggest to move that variable Same goes for the In any case, you should at least see something like this when it started:
So, could you provide us with this info please? |
Beta Was this translation helpful? Give feedback.
-
Hello I have finally found the cause of this behavior. I have configured my server with systemd like example from wiki page Setup as a systemd service i have declared my
and all env variables are loaded except "WEBSOCKET_ENABLED" it's due to the comment after the variables
It's read, but with systemd not, i supose it's an error to have an comment on same line as a variable in Finally i have remove the comment and it's work normally
So maybe just need to add an comment for this details on wiki Thanks for your help |
Beta Was this translation helpful? Give feedback.
-
@sebtiz13 feel free to update the wiki! |
Beta Was this translation helpful? Give feedback.
-
Subject of the issue
I have strange behavior between .env and config.json for websocket activation.
I need to add
"websocket_enabled": true"
in config.json for websocket synchronisation work with firefox extension (I haven't check other browser extension)Deployment environment
Your environment (Generated via diagnostics page)
Config (Generated via diagnostics page)
In doubt this is my .env
Steps to reproduce
When I have set
WEBSOCKET_ENABLED="true"
in.env
the connection to websocket in web_vault work normally but doesn't have websocket synchronization with my firefox extensionIf i edit the
config.json
file manually to add"websocket_enabled": true"
after restart of service and manually synchronization in firefox extension the websocket synchronization with my firefox extension workExpected behaviour
Work normally with just
.env
variables or when update configuration with admin page don't remove "websocket_enabled" inconfig.json
Actual behaviour
The Firefox extension don't receive websocket synchronization if "websocket_enabled" is not in
config.json
and update on configuration page overwrite theconfig.json
without "websocket_enabled"Troubleshooting data
In my console with webvault
Sorry i don't find how show eventually error of websocket in firefox extension
Beta Was this translation helpful? Give feedback.
All reactions