Open flaeckli opened 1 year ago
Hello, please post your RITA configuration file which is located at /etc/rita/config.yaml
.
Please ensure that the connection string in that file (this line) matches the one you use to connect with mongosh
I have the same problem.
I also find it odd that when I run: rita import ./2024-01-22/ test
that is does not create any log data in /var/lib/rita/logs I have even set the log level to debug (3)
Here is my config.yaml. I can issuse "mongosh mongodb://localhost:27017" and it connects and gives me the prompt. Any ideas?
MongoDB:
ConnectionString: mongodb://localhost:27017
AuthenticationMechanism: null
SocketTimeout: 2
TLS: Enable: false
VerifyCertificate: false
#If set, RITA will use the provided CA file instead of the system's CA's
CAFile: null
MetaDB: MetaDatabase
Rolling:
DefaultChunks: 24
LogConfig:
LogLevel: 3
RitaLogPath: /var/lib/rita/logs
LogToFile: true LogToDB: true
UserConfig:
UpdateCheckFrequency: 14
Filtering:
AlwaysInclude: []
NeverInclude:
ff00::/8 # Multicast RFC 4291, Section 2.7
InternalSubnets:
192.168.0.0/16 # Private-Use Networks RFC 1918
AlwaysIncludeDomain: []
NeverIncludeDomain: []
FilterExternalToInternal: true
BlackListed: Enabled: true
feodotracker.abuse.ch: true
BlacklistDatabase: "rita-bl"
CustomIPBlacklists: []
CustomHostnameBlacklists: []
Beacon: Enabled: true
DefaultConnectionThresh: 23
TimestampScoreWeight: 0.25 DatasizeScoreWeight: 0.25 DurationScoreWeight: 0.25 HistogramScoreWeight: 0.25
DurationMinHoursSeen: 6
DurationConsistencyIdealHoursSeen: 12
HistogramBimodalBucketSize: 0.05
HistogramBimodalOutlierRemoval: 1
HistogramBimodalMinHoursSeen: 11
BeaconSNI: Enabled: true
DefaultConnectionThresh: 23
TimestampScoreWeight: 0.25 DatasizeScoreWeight: 0.25 DurationScoreWeight: 0.25 HistogramScoreWeight: 0.25
DurationMinHoursSeen: 6
DurationConsistencyIdealHoursSeen: 12
HistogramBimodalBucketSize: 0.05
HistogramBimodalOutlierRemoval: 1
HistogramBimodalMinHoursSeen: 11
BeaconProxy: Enabled: true
DefaultConnectionThresh: 23
TimestampScoreWeight: 0.333 DurationScoreWeight: 0.333 HistogramScoreWeight: 0.333
DurationMinHoursSeen: 6
DurationConsistencyIdealHoursSeen: 12
HistogramBimodalBucketSize: 0.05
HistogramBimodalOutlierRemoval: 1
HistogramBimodalMinHoursSeen: 11
DNS: Enabled: true
UserAgent: Enabled: true
Strobe:
ConnectionLimit: 86400
The issue is related to the MongoDB version. The current RITA does not support the latest MongoDB version, so please uninstall MongoDB using the official guide and reinstall version 4.2, as listed in the requirements section of RITA. You can find the official installation guide for MongoDB 4.2 on Ubuntu here.
Hello Everyone I was Trying to install RITA with the defualt configuration, but when I run the command "test-Config" i Get the result "Failed to connect to database: no reachable servers" The MongoDB is on the Same Server as the Rita Server. I was able to connecto to the mongoDB with mongosh. In my Point of view there is Something wrong with the RITA Config. I tried to find RITA Error Logs, but wasn't able to find them. Can anyone provide me the path for it? kind Regards