React Native issue on Heroku - postgresql

Yesterday Heroku executed an automatic deployment and then updated to Heroku-22. After that we have been unable to login into the app. I checked the logs and this is what I got:
Jan 26 08:05:13 golf-trax-staging app/web.1 Welcome to React Native!
Jan 26 08:05:13 golf-trax-staging app/web.1 Learn once, write anywhere
Jan 26 08:05:13 golf-trax-staging app/web.1 info React Native v0.71.1 is now available (your project is running on v0.62.2).
Jan 26 08:05:13 golf-trax-staging app/web.1 info Changelog: https://github.com/facebook/react-native/releases/tag/v0.71.1.
Jan 26 08:05:13 golf-trax-staging app/web.1 info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.62.2.
Jan 26 08:05:13 golf-trax-staging app/web.1 info To upgrade, run "react-native upgrade".
Jan 26 08:05:23 golf-trax-staging app/web.1 Failed to construct transformer: Error: error:0308010C:digital envelope routines::unsupported
Jan 26 08:05:23 golf-trax-staging app/web.1 at new Hash (node:internal/crypto/hash:71:19)
Jan 26 08:05:23 golf-trax-staging app/web.1 at Object.createHash (node:crypto:133:10)
Jan 26 08:05:23 golf-trax-staging app/web.1 at stableHash (/app/node_modules/metro-cache/src/stableHash.js:19:8)
Jan 26 08:05:23 golf-trax-staging app/web.1 at JsTransformer.getCacheKey (/app/node_modules/metro/src/JSTransformer/worker.js:471:7)
Jan 26 08:05:23 golf-trax-staging app/web.1 at getTransformCacheKey (/app/node_modules/metro/src/DeltaBundler/Transformer/getTransformCacheKey.js:39:29)
Jan 26 08:05:23 golf-trax-staging app/web.1 at new Transformer (/app/node_modules/metro/src/DeltaBundler/Transformer.js:147:28)
Jan 26 08:05:23 golf-trax-staging app/web.1 at /app/node_modules/metro/src/Bundler.js:54:29 {
Jan 26 08:05:23 golf-trax-staging app/web.1 opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
Jan 26 08:05:23 golf-trax-staging app/web.1 library: 'digital envelope routines',
Jan 26 08:05:23 golf-trax-staging app/web.1 reason: 'unsupported',
Jan 26 08:05:23 golf-trax-staging app/web.1 code: 'ERR_OSSL_EVP_UNSUPPORTED'
Jan 26 08:05:23 golf-trax-staging app/web.1 }
Jan 26 08:06:09 golf-trax-staging heroku/web.1 Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
Jan 26 08:06:09 golf-trax-staging heroku/web.1 Stopping process with SIGKILL
Jan 26 08:06:10 golf-trax-staging heroku/web.1 State changed from starting to crashed
Jan 26 08:06:10 golf-trax-staging heroku/web.1 Process exited with status 137
Jan 26 08:20:42 golf-trax-staging heroku/router at=error code=H10 desc="App crashed" method=GET path="/" host=golf-trax-staging.herokuapp.com request_id=cc532258-7515-4c0d-adc9-098a0596ca3e fwd="110.138.89.10" dyno= connect= service= status=503 bytes= protocol=https
Jan 26 08:20:47 golf-trax-staging heroku/router at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=golf-trax-staging.herokuapp.com request_id=c96a51c2-d4ca-4e61-9706-49ed72b5470a fwd="110.138.89.10" dyno= connect= service= status=503 bytes= protocol=https
Jan 26 08:49:31 golf-trax-staging heroku/router at=error code=H10 desc="App crashed" method=GET path="/" host=golf-trax-staging.herokuapp.com request_id=2a64f10b-84be-4ede-be5b-bbd7e3c32951 fwd="36.74.41.182" dyno= connect= service= status=503 bytes= protocol=https
Jan 26 08:49:33 golf-trax-staging heroku/router at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=golf-trax-staging.herokuapp.com request_id=12eafd6b-a077-4942-b00d-ad0b15160011 fwd="36.74.41.182" dyno= connect= service= status=503 bytes= protocol=https
Jan 26 08:53:07 golf-trax-staging heroku/router at=error code=H10 desc="App crashed" method=POST path="/graphql" host=golf-trax-staging.herokuapp.com request_id=69a12b09-9887-4bc6-a64d-7ed2fb563e47 fwd="200.68.183.190" dyno= connect= service= status=503 bytes= protocol=http
I'm not a developer, but I'm guessing there's some sort of compatibility issues between our app and Heroku-22. I know enough to go into GIT myself and correct why the app keeps crashing. Can anyone help?
Thanks!
I have not tried anything yet, but I'm expecting some suggestions.

Related

Flask app running on Apache server/CentosOS 8 unable to connect to Mongo DB Atlas

Background
I have developed a python flask app that uses the ArcGIS API for JavaScript to display geospatial data and query feature services from an ArcGIS Online account. Results from these queries are saved to a MongoDB Atlas cluster.
The flask app is deployed to an Apache server running Centos8 using mod_wsgi. It is currently working on a Heroku/gunicorn deployment.
Below is the code for the app.py code for the Flask app:
from flask import Flask, render_template, request
from data.database import global_init
from data.database import Query
from data.update import update
from whitenoise import WhiteNoise
app = Flask(__name__)
app.wsgi_app = WhiteNoise(app.wsgi_app)
my_static_folders = (
'./static/css/',
'./static/images/',
'./static/js/',
'./static/layers/'
)
for static in my_static_folders:
app.wsgi_app.add_files(static)
#app.route("/query", methods=["GET", "POST"])
def query():
if request.method == 'POST':
feature = request.json
feature_name = feature['name']
feature_region = feature['region']
feature_query = Query.objects(name=feature_name, region=feature_region)
if feature_query:
response = feature_query[0].export()
else:
response = ''
return response
#app.route("/")
def home():
return render_template("index.html")
if __name__ == "__main__":
global_init()
files = ['./static/css/styles.css', './static/js/app.js']
app.run(debug=True,
extra_files=files)
Below is the wsgi.py file:
#!/usr/bin/env python
import sys
import site
site.addsitedir('/var/www/dm.nhmarchive.org/lau-map/venv/lib/python3.6/site-packages')
sys.path.insert(0, '/var/www/dm.nhmarchive.org/lau-map')
from app import app as application
Problem
The issue arise when the app tries connecting to the MongoDB Atlas cluster to query/retrieve data. When a polygon is clicked on the map, the connection to the cluster is refused and the following error is logged in the error.log:
[Thu Oct 21 20:19:46.800129 2021] [wsgi:error] [pid 1430689:tid 139930235827968] [client 99.8.162.56:55543] , referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471649 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] [2021-10-21 20:20:14,470] ERROR in app: Exception on /query [POST], referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471711 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] Traceback (most recent call last):, referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471715 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] File "/var/www/dm.nhmarchive.org/lau-map/venv/lib/python3.6/site-packages/flask/app.py", line 2447, in wsgi_app, referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471718 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] response = self.full_dispatch_request(), referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471721 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] File "/var/www/dm.nhmarchive.org/lau-map/venv/lib/python3.6/site-packages/flask/app.py", line 1952, in full_dispatch_request, referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471724 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] rv = self.handle_user_exception(e), referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471727 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] File "/var/www/dm.nhmarchive.org/lau-map/venv/lib/python3.6/site-packages/flask/app.py", line 1821, in handle_user_exception, referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471729 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] reraise(exc_type, exc_value, tb), referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471732 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] File "/var/www/dm.nhmarchive.org/lau-map/venv/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise, referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471751 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] raise value, referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471757 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] File "/var/www/dm.nhmarchive.org/lau-map/venv/lib/python3.6/site-packages/flask/app.py", line 1950, in full_dispatch_request, referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471760 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] rv = self.dispatch_request(), referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471762 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] File "/var/www/dm.nhmarchive.org/lau-map/venv/lib/python3.6/site-packages/flask/app.py", line 1936, in dispatch_request, referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471765 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] return self.view_functions[rule.endpoint](**req.view_args), referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471768 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] File "/var/www/dm.nhmarchive.org/lau-map/app.py", line 51, in query, referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471770 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] feature_query = Query.objects(name=feature_name, region=feature_region), referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471773 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] File "/var/www/dm.nhmarchive.org/lau-map/venv/lib/python3.6/site-packages/mongoengine/queryset/manager.py", line 37, in __get__, referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471776 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] queryset = queryset_class(owner, owner._get_collection()), referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471778 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] File "/var/www/dm.nhmarchive.org/lau-map/venv/lib/python3.6/site-packages/mongoengine/document.py", line 214, in _get_collection, referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471786 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] if cls._meta.get("auto_create_index", True) and db.client.is_primary:, referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471788 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] File "/var/www/dm.nhmarchive.org/lau-map/venv/lib/python3.6/site-packages/pymongo/mongo_client.py", line 1031, in is_primary, referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471791 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] return self._server_property('is_writable'), referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471793 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] File "/var/www/dm.nhmarchive.org/lau-map/venv/lib/python3.6/site-packages/pymongo/mongo_client.py", line 856, in _server_property, referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471796 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] writable_server_selector), referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471798 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] File "/var/www/dm.nhmarchive.org/lau-map/venv/lib/python3.6/site-packages/pymongo/topology.py", line 243, in select_server, referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471800 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] address)), referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471803 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] File "/var/www/dm.nhmarchive.org/lau-map/venv/lib/python3.6/site-packages/pymongo/topology.py", line 200, in select_servers, referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471805 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] selector, server_timeout, address), referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471808 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] File "/var/www/dm.nhmarchive.org/lau-map/venv/lib/python3.6/site-packages/pymongo/topology.py", line 217, in _select_servers_loop, referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471810 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] (self._error_message(selector), timeout, self.description)), referer: http://dm.nhmarchive.org/
[Thu Oct 21 20:20:14.471814 2021] [wsgi:error] [pid 1430925:tid 139930051188480] [client 99.8.162.56:55665] pymongo.errors.ServerSelectionTimeoutError: localhost:27017: [Errno 111] Connection refused, Timeout: 30s, Topology Description: <TopologyDescription id: 6171cb5aa3baaebd849f82b2, topology_type: Single, servers: [<ServerDescription ('localhost', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('localhost:27017: [Errno 111] Connection refused',)>]>, referer: http://dm.nhmarchive.org/
The connection to the MongoDB Atlas cluser seems to be refused when app.py tries to perform a query. Below is the code used to establish a conncetion with the database instance in database.py:
import mongoengine
...
from mongoengine import connect
from dotenv import load_dotenv
# Connects to remote Atlas database
def global_init():
load_dotenv()
DB_URI = os.getenv('DB_URI')
connect(alias='laumap', host=DB_URI)
Troubleshooting
Adding the server's IP address to Atlas's 'IP Access List'
While I had 0.0.0.0/0 listed as IP Address (which should theoretically allow all addresses to my understanding), I added the IP address of the server to the list. This still did not work.
Adding pymongo kwargs to MongoEngine connect()
A similar problem was posted on a flask app with Atlas depolyed on python anywhere. They suggested adding the following kwargs when connecting to a database:
connect(alias='laumap', host=DB_URI, connect=False, maxPoolSize=1)
This also did not seem to work.
Adding HTTP Method Overrides
This was done as per the official Flask documentation:
class HTTPMethodOverrideMiddleware(object):
allowed_methods = frozenset([
'GET',
'HEAD',
'POST',
'DELETE',
'PUT',
'PATCH',
'OPTIONS'
])
bodyless_methods = frozenset(['GET', 'HEAD', 'OPTIONS', 'DELETE'])
def __init__(self, app):
self.app = app
def __call__(self, environ, start_response):
method = environ.get('HTTP_X_HTTP_METHOD_OVERRIDE', '').upper()
if method in self.allowed_methods:
environ['REQUEST_METHOD'] = method
if method in self.bodyless_methods:
environ['CONTENT_LENGTH'] = '0'
return self.app(environ, start_response)
app = Flask(__name__)
app.wsgi_app = HTTPMethodOverrideMiddleware(app.wsgi_app)
I don't have any experience setting HTTP headers in a Flask, so I'm unsure if the above is configured correctly. But as it is currently, it did not change the logged errors.
Testing the .env DB_URI variable in a python interactive session
Just as a sanity check, I made sure that the DB_URI was correctly formed in my .env file. Below is the code used in the python interactive shell on the server:
>>> import mongoengine
>>> from dotenv import load_dotenv
>>> load_dotenv()
True
>>> import os
>>> DB_URI = os.getenv('DB_URI')
>>> mongoengine.connect(alias='laumap', host=DB_URI)
MongoClient(host=['lau-shard-00-00.sybdh.mongodb.net:27017', 'lau-shard-00-
01.sybdh.mongodb.net:27017', 'lau-shard-00-02.sybdh.mongodb.net:27017'],
document_class=dict, tz_aware=False, connect=True, retrywrites=True, w='majority',
authsource='admin', replicaset='atlas-xvjuv5-shard-0', ssl=True,
read_preference=Primary())
Checking SE Linux Boolean values
As per this stack overflow post, I tried setting the following values to true:
httpd_can_network_connect --> off
httpd_can_network_connect_db --> off
Question
Why is my flask app not able to properly connect to my MongoDB Atlas cluster when it is able to locally, on my Heroku deployment and when I run flask run on the Apache/CentOS 8 server?
Is there some security settings in CentOS 8 that need to properly configured or is there something in the Flask app or wsgi script that may need to be changed?
From the error message (last line) you can see it is not attempting to connect to atlas, it's attempting to connect to localhost (the default if you don't specify a host). So the error will be with the connection string.
Looking at the code, are you 100% sure the DB_URI environment variable is set correctly? Maybe add some logging to confirm.

Prevent OOM inside container

I'm running conda install -c anaconda pycodestyle in a container with this spec:
apiVersion: v1
kind: Pod
metadata:
name: conda-${PYTHON_VERSION}
spec:
securityContext:
runAsUser: 0
runAsGroup: 0
containers:
- name: python
image: continuumio/conda-ci-linux-64-python${PYTHON_VERSION}
command:
- /bin/bash
args:
- "-c"
- "sleep 99d"
workingDir: /home/jenkins/agent
resources:
requests:
memory: "256Mi"
cpu: "1"
limits:
memory: "256Mi"
cpu: "1"
My understanding was that if I set limits and requests to the same value, OOM won't be called... seems like I was wrong.
To make myself clear: I don't want overprovisioning to happen at all, I don't want the kernel to panic, if it allocated memory it cannot back up with real memory.
Ideally, I want to understand how to prevent these errors from happening in Kubernetes at all, not specifically for conda, but if there's any way to limit conda to a particular amount of memory, it'll help too.
The machine running these containers has 16MB of memory, and it might, at most, try to run three of those.
The OMM message looks like this:
14:07:03 2021] Task in /kubepods/burstable/poda6df66b5-bfc5-43be-b02d-66f09e7ecf0f/2203670eb25d83d72428831a35773b90445f19ee37c117f196d6774442022db8 killed as a result of limit of /kubepods/burstable/poda6df66b5-bfc5-43be-b02d-66f09e7ecf0f/2203670eb25d83d72428831a35773b90445f19ee37c117f196d6774442022db8
[Wed Jul 21 14:07:03 2021] memory: usage 262144kB, limit 262144kB, failcnt 17168
[Wed Jul 21 14:07:03 2021] memory+swap: usage 0kB, limit 9007199254740988kB, failcnt 0
[Wed Jul 21 14:07:03 2021] kmem: usage 11128kB, limit 9007199254740988kB, failcnt 0
[Wed Jul 21 14:07:03 2021] Memory cgroup stats for /kubepods/burstable/poda6df66b5-bfc5-43be-b02d-66f09e7ecf0f/2203670eb25d83d72428831a35773b90445f19ee37c117f196d6774442022db8: cache:104KB rss:250524KB rss_huge:0KB shmem:0KB mapped_file:660KB dirty:0KB writeback:0KB inactive_anon:125500KB active_anon:125496KB inactive_file:8KB active_file:12KB unevictable:0KB
[Wed Jul 21 14:07:03 2021] Tasks state (memory values in pages):
[Wed Jul 21 14:07:03 2021] [ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name
[Wed Jul 21 14:07:03 2021] [3659435] 0 3659435 1012 169 40960 22 984 sleep
[Wed Jul 21 14:07:03 2021] [3660809] 0 3660809 597 155 45056 26 984 sh
[Wed Jul 21 14:07:03 2021] [3660823] 0 3660823 597 170 40960 18 984 sh
[Wed Jul 21 14:07:03 2021] [3660824] 0 3660824 597 14 40960 9 984 sh
[Wed Jul 21 14:07:03 2021] [3660825] 0 3660825 597 170 45056 23 984 sh
[Wed Jul 21 14:07:03 2021] [3660827] 0 3660827 162644 44560 753664 38159 984 conda
[Wed Jul 21 14:07:03 2021] [3660890] 0 3660890 1012 169 49152 22 984 sleep
[Wed Jul 21 14:07:03 2021] Memory cgroup out of memory: Kill process 3660827 (conda) score 1123 or sacrifice child
[Wed Jul 21 14:07:03 2021] Killed process 3660827 (conda) total-vm:650576kB, anon-rss:165968kB, file-rss:12272kB, shmem-rss:0kB
[Wed Jul 21 14:07:03 2021] oom_reaper: reaped process 3660827 (conda), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
I also don't like the word "burstable" here... I thought it was supposed to be "guaranteed"

i can't receive any email if enabled email forwarding

if I enabled email forwarding, I can't receive any email but when I disabled email forwarding. Then webmail working fine. Anyone, please look into email logs? I don't see any sending and receiving problems. when email forwarding disabled on cyberpanel.
This problem only appear after enabling email forwarding.
Mar 29 07:14:01 blastoff postfix/bounce[2809]: 3DC8B3410DD: sender non-delivery notification: C9CED3410DE
Mar 29 07:14:01 blastoff postfix/qmgr[1082]: 3DC8B3410DD: removed
Mar 29 07:14:01 blastoff postfix/smtp[2934]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4023:c03::1b]:25: Network is unreachable
Mar 29 07:14:02 blastoff postfix/smtp[2934]: C9CED3410DE: to=<riadloud#gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.137.26]:25, delay=0.86, delays=0.01/0.07/0.36/0.42, dsn=2.0.0, status=sent (250 2.0.0 OK 1617002042 i21si16857578otj.220 - gsmtp)
Mar 29 07:14:02 blastoff postfix/qmgr[1082]: C9CED3410DE: removed
Mar 29 07:14:32 blastoff dovecot: imap-login: Login: user=<riad#blastoff.us>, method=PLAIN, rip=::1, lip=::1, mpid=2967, TLS, session=<QfcVoqe+6pUAAAAAAAAAAAAAAAAAAAAB>
Mar 29 07:14:32 blastoff dovecot: imap(riad#blastoff.us)<2967><QfcVoqe+6pUAAAAAAAAAAAAAAAAAAAAB>: Logged out in=89 out=1045 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 29 07:16:32 blastoff dovecot: imap-login: Login: user=<riad#blastoff.us>, method=PLAIN, rip=::1, lip=::1, mpid=3043, TLS, session=<b41Aqae+7JUAAAAAAAAAAAAAAAAAAAAB>
Mar 29 07:16:32 blastoff dovecot: imap(riad#blastoff.us)<3043><b41Aqae+7JUAAAAAAAAAAAAAAAAAAAAB>: Logged out in=89 out=1045 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 29 07:17:18 blastoff postfix/anvil[2916]: statistics: max connection rate 1/60s for (smtp:209.85.217.53) at Mar 29 07:13:56
Mar 29 07:17:18 blastoff postfix/anvil[2916]: statistics: max connection count 1 for (smtp:209.85.217.53) at Mar 29 07:13:56
Mar 29 07:17:18 blastoff postfix/anvil[2916]: statistics: max cache size 1 at Mar 29 07:13:56
Mar 29 07:17:24 blastoff dovecot: imap-login: Login: user=<riad#blastoff.us>, method=PLAIN, rip=::1, lip=::1, mpid=3087, TLS, session=<3BlfrKe+7pUAAAAAAAAAAAAAAAAAAAAB>
Mar 29 07:17:24 blastoff dovecot: imap(riad#blastoff.us)<3087><3BlfrKe+7pUAAAAAAAAAAAAAAAAAAAAB>: Logged out in=240 out=1300 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 29 07:18:17 blastoff spamd[3146]: logger: removing stderr method
Mar 29 07:18:17 blastoff spamd[3148]: config: no rules were found! Do you need to run 'sa-update'?
Mar 29 07:18:18 blastoff spamd[3146]: child process [3148] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 3034.
Mar 29 07:18:19 blastoff spamd[3150]: logger: removing stderr method
Mar 29 07:18:19 blastoff spamd[3152]: config: no rules were found! Do you need to run 'sa-update'?
Mar 29 07:18:20 blastoff spamd[3150]: child process [3152] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 3034.
Mar 29 07:18:21 blastoff spamd[3156]: logger: removing stderr method
Mar 29 07:18:21 blastoff spamd[3158]: config: no rules were found! Do you need to run 'sa-update'?
Mar 29 07:18:22 blastoff spamd[3156]: child process [3158] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 3034.
Mar 29 07:18:23 blastoff spamd[3159]: logger: removing stderr method
Mar 29 07:18:23 blastoff spamd[3161]: config: no rules were found! Do you need to run 'sa-update'?
Mar 29 07:18:24 blastoff spamd[3159]: child process [3161] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 3034.
Mar 29 07:18:24 blastoff spamd[3162]: logger: removing stderr method
Mar 29 07:18:24 blastoff spamd[3164]: config: no rules were found! Do you need to run 'sa-update'?
Mar 29 07:18:25 blastoff spamd[3162]: child process [3164] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 3034.
Mar 29 07:18:32 blastoff dovecot: imap-login: Login: user=<riad#blastoff.us>, method=PLAIN, rip=::1, lip=::1, mpid=3176, TLS, session=<qhxjsKe+8JUAAAAAAAAAAAAAAAAAAAAB>
Mar 29 07:18:32 blastoff dovecot: imap(riad#blastoff.us)<3176><qhxjsKe+8JUAAAAAAAAAAAAAAAAAAAAB>: Logged out in=89 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 29 07:19:15 blastoff postfix/smtpd[3197]: connect from mail-vs1-f45.google.com[209.85.217.45]
Mar 29 07:19:15 blastoff postfix/smtpd[3197]: 9043434088F: client=mail-vs1-f45.google.com[209.85.217.45]
Mar 29 07:19:15 blastoff postfix/smtpd[3197]: warning: connect to /var/log/policyServerSocket: No such file or directory
Mar 29 07:19:16 blastoff postfix/smtpd[3197]: warning: connect to /var/log/policyServerSocket: No such file or directory
Mar 29 07:19:16 blastoff postfix/smtpd[3197]: warning: problem talking to server /var/log/policyServerSocket: No such file or directory
Mar 29 07:19:16 blastoff postfix/cleanup[3201]: 9043434088F: hold: header Received: from mail-vs1-f45.google.com (mail-vs1-f45.google.com [209.85.217.45])??by mail.blastoff.us (Postfix) with ESMTPS id 9043434088F??for <riad#blastoff.us>; Mon, 29 Mar 2021 07:19:15 +0000 (UTC from mail-vs1-f45.google.com[209.85.217.45]; from=<riadloud#gmail.com> to=<riad#blastoff.us> proto=ESMTP helo=<mail-vs1-f45.google.com>
Mar 29 07:19:16 blastoff postfix/cleanup[3201]: 9043434088F: message-id=<CACGWsS=QumtoJMTYX49XNFv7Kbk_-+xhJ4TrZdFezAytvToTow#mail.gmail.com>
Mar 29 07:19:16 blastoff opendkim[920]: 9043434088F: s=20161025 d=gmail.com SSL
Mar 29 07:19:16 blastoff postfix/smtpd[3197]: disconnect from mail-vs1-f45.google.com[209.85.217.45] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
Mar 29 07:19:17 blastoff postfix/qmgr[1082]: 07B043410DD: from=<riadloud#gmail.com>, size=2541, nrcpt=2 (queue active)
Mar 29 07:19:19 blastoff postfix/pipe[3212]: 07B043410DD: to=<riad#blastoff.us>, relay=spamassassin, delay=3.7, delays=1.6/0.01/0/2, dsn=5.3.0, status=bounced (command line usage error. Command output: lda: Fatal: Unknown argument: unix Usage: dovecot-lda [-c <config file>] [-d <username>] [-p <path>] [-m <mailbox>] [-e] [-k] [-f <envelope sender>] [-a <original envelope recipient>] [-r <final envelope recipient>] )
Mar 29 07:19:19 blastoff postfix/pipe[3213]: 07B043410DD: to=<riadshout#gmail.com>, orig_to=<riad#blastoff.us>, relay=spamassassin, delay=3.7, delays=1.6/0.02/0/2, dsn=5.3.0, status=bounced (command line usage error. Command output: lda: Fatal: Unknown argument: unix Usage: dovecot-lda [-c <config file>] [-d <username>] [-p <path>] [-m <mailbox>] [-e] [-k] [-f <envelope sender>] [-a <original envelope recipient>] [-r <final envelope recipient>] )
Mar 29 07:19:19 blastoff postfix/cleanup[3201]: 3AEDA3410DE: message-id=<20210329071919.3AEDA3410DE#mail.blastoff.us>
Mar 29 07:19:19 blastoff postfix/bounce[3217]: 07B043410DD: sender non-delivery notification: 3AEDA3410DE
Mar 29 07:19:19 blastoff postfix/qmgr[1082]: 3AEDA3410DE: from=<>, size=6095, nrcpt=1 (queue active)
Mar 29 07:19:19 blastoff postfix/qmgr[1082]: 07B043410DD: removed
Mar 29 07:19:19 blastoff postfix/smtp[3220]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4023:c03::1a]:25: Network is unreachable
Mar 29 07:19:19 blastoff postfix/smtp[3220]: 3AEDA3410DE: to=<riadloud#gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.137.26]:25, delay=0.67, delays=0/0.02/0.29/0.35, dsn=2.0.0, status=sent (250 2.0.0 OK 1617002359 g9si17981450plj.221 - gsmtp)
Mar 29 07:19:19 blastoff postfix/qmgr[1082]: 3AEDA3410DE: removed
There are many configuration issues here.
The one that is causing the reject is:
command line usage error. Command output: lda: Fatal: Unknown argument: unix Usage: dovecot-lda [-c <config file>] [-d <username>] [-p <path>]
But there are also spamassassin issues (no rules found) and other milter issues (/var/log/policyServerSocket missing).
It doesn’t look like a forwarding issue but a general misconfiguration issue.
It is quite difficult to provide a precise advice here, you should review the whole configuration with someone familiar with this stuff.

code-oss (Code - OSS) on FreeBSD-CURRENT: renderer process crashing, the application can no longer open my workspace

FreeBSD editors/vscode recently began crashing for me at startup.
Removed, reinstalled, no improvement.
I wondered whether removal of rapid_render.json would work around the issue, it did not.
Another user of the system can start the application without crashing.
Please: how might I resolve the issue?
grahamperrin#mowa219-gjp4-8570p:~ % less ~/.config/Code\ -\ OSS/Backups/workspaces.json
{"rootURIWorkspaces":[],"folderURIWorkspaces":[],"emptyWorkspaceInfos":[{"backupFolder":"1579922206882"}],"emptyWorkspaces":["1579922206882"]}
grahamperrin#mowa219-gjp4-8570p:~ % less ~/.config/Code\ -\ OSS/logs/20201217T074443/main.log
[2020-12-17 07:44:44.168] [main] [info] update#ctor - updates are disabled as there is no update URL
[2020-12-17 07:44:48.938] [main] [error] [VS Code]: renderer process crashed!
[2020-12-17 07:44:59.171] [main] [error] [VS Code]: renderer process crashed!
[2020-12-17 07:45:09.432] [main] [error] [VS Code]: renderer process crashed!
grahamperrin#mowa219-gjp4-8570p:~ % ls -ahlrt ~/.config/Code\ -\ OSS/
total 174
drwx------ 3 grahamperrin grahamperrin 3B 26 Dec 2019 Code Cache
-rw-r--r-- 1 grahamperrin grahamperrin 36B 26 Dec 2019 machineid
drwxr-xr-x 5 grahamperrin grahamperrin 6B 2 Jan 2020 User
drwxr-xr-x 2 grahamperrin grahamperrin 2B 25 Jan 2020 Workspaces
drwxr-xr-x 3 grahamperrin grahamperrin 3B 4 Jul 06:00 clp
drwx------ 2 grahamperrin grahamperrin 7B 16 Jul 10:57 GPUCache
-rw------- 1 grahamperrin grahamperrin 0B 26 Sep 09:08 .org.chromium.Chromium.uev8QR
drwxr-xr-x 3 grahamperrin grahamperrin 3B 26 Sep 17:24 CachedData
drwxr-xr-x 3 grahamperrin grahamperrin 4B 20 Nov 17:57 Backups
drwxr-xr-x 2 grahamperrin grahamperrin 4B 6 Dec 19:43 CachedExtensions
drwx------ 3 grahamperrin grahamperrin 284B 14 Dec 11:17 Cache
-rw------- 1 grahamperrin grahamperrin 2.0K 16 Dec 05:56 TransportSecurity
-rw------- 1 grahamperrin grahamperrin 20K 16 Dec 05:57 Cookies
-rw------- 1 grahamperrin grahamperrin 0B 16 Dec 05:57 Cookies-journal
-rw-r--r-- 1 grahamperrin grahamperrin 446B 16 Dec 05:58 rapid_render.json
-rw------- 1 grahamperrin grahamperrin 2.8K 16 Dec 05:58 .org.chromium.Chromium.eOeolK
-rw------- 1 grahamperrin grahamperrin 2.8K 16 Dec 14:06 .org.chromium.Chromium.a8khF7
-rw------- 1 grahamperrin grahamperrin 0B 16 Dec 14:20 .org.chromium.Chromium.fuVPBw
-rw------- 1 grahamperrin grahamperrin 2.8K 16 Dec 20:47 .org.chromium.Chromium.ICOK4n
-rw------- 1 grahamperrin grahamperrin 2.8K 16 Dec 21:56 .org.chromium.Chromium.21Y7f0
-rw------- 1 grahamperrin grahamperrin 2.8K 17 Dec 05:00 .org.chromium.Chromium.Ro52fi
-rw------- 1 grahamperrin grahamperrin 2.8K 17 Dec 05:29 .org.chromium.Chromium.J1dZMh
-rw------- 1 grahamperrin grahamperrin 0B 17 Dec 06:35 .org.chromium.Chromium.P3gDsE
-rw-r--r-- 1 grahamperrin grahamperrin 75K 17 Dec 06:42 storage.json
-rw------- 1 grahamperrin grahamperrin 0B 17 Dec 06:42 .org.chromium.Chromium.bQdorG
-rw------- 1 grahamperrin grahamperrin 2.8K 17 Dec 06:47 Network Persistent State
drwx------ 2 grahamperrin grahamperrin 8B 17 Dec 06:47 Session Storage
-rw------- 1 grahamperrin grahamperrin 0B 17 Dec 07:32 .org.chromium.Chromium.AQtB07
-rw------- 1 grahamperrin grahamperrin 0B 17 Dec 07:39 .org.chromium.Chromium.FT0hEj
drwx------ 3 grahamperrin grahamperrin 3B 17 Dec 07:44 blob_storage
-rw-r--r-- 1 grahamperrin grahamperrin 12K 17 Dec 07:44 languagepacks.json
drwxr-xr-x 12 grahamperrin grahamperrin 12B 17 Dec 07:44 logs
-rw------- 1 grahamperrin grahamperrin 0B 17 Dec 07:45 .org.chromium.Chromium.KK5qMG
drwx------ 14 grahamperrin grahamperrin 35B 17 Dec 07:45 .
drwxr-xr-x 100 grahamperrin grahamperrin 264B 17 Dec 08:11 ..
grahamperrin#mowa219-gjp4-8570p:~ % ls -ahlrRt ~/.config/Code\ -\ OSS/Backups/
total 10
drwxr-xr-x 3 grahamperrin grahamperrin 4B 20 Nov 17:57 .
drwxr-xr-x 4 grahamperrin grahamperrin 4B 28 Nov 06:29 1579922206882
-rw-r--r-- 1 grahamperrin grahamperrin 142B 17 Dec 07:44 workspaces.json
drwx------ 14 grahamperrin grahamperrin 35B 17 Dec 07:45 ..
/home/grahamperrin/.config/Code - OSS/Backups/1579922206882:
total 10
drwxr-xr-x 3 grahamperrin grahamperrin 4B 20 Nov 17:57 ..
drwxr-xr-x 4 grahamperrin grahamperrin 4B 28 Nov 06:29 .
drwxr-xr-x 2 grahamperrin grahamperrin 2B 10 Dec 15:14 file
drwxr-xr-x 2 grahamperrin grahamperrin 14B 16 Dec 05:56 untitled
/home/grahamperrin/.config/Code - OSS/Backups/1579922206882/file:
total 1
drwxr-xr-x 4 grahamperrin grahamperrin 4B 28 Nov 06:29 ..
drwxr-xr-x 2 grahamperrin grahamperrin 2B 10 Dec 15:14 .
/home/grahamperrin/.config/Code - OSS/Backups/1579922206882/untitled:
total 63
drwxr-xr-x 4 grahamperrin grahamperrin 4B 28 Nov 06:29 ..
-rw-r--r-- 1 grahamperrin grahamperrin 551B 16 Dec 05:56 b2bd717a77da570a5c596af6934cadc7
-rw-r--r-- 1 grahamperrin grahamperrin 652B 16 Dec 05:56 0ea542ac1d82a4ad63b68365c0270c53
-rw-r--r-- 1 grahamperrin grahamperrin 1.6K 16 Dec 05:56 109fbbd2da4537c9ab3475d44131d9f8
-rw-r--r-- 1 grahamperrin grahamperrin 2.5K 16 Dec 05:56 2f0c80a5829bd778936522620f8dc240
-rw-r--r-- 1 grahamperrin grahamperrin 317B 16 Dec 05:56 387795c86765346eca0c041bac00348b
-rw-r--r-- 1 grahamperrin grahamperrin 902B 16 Dec 05:56 3e42341b68b5e3d2ec3af201cdb461a0
-rw-r--r-- 1 grahamperrin grahamperrin 242B 16 Dec 05:56 5a4df22f62baaaa5684aacc5372f2b14
-rw-r--r-- 1 grahamperrin grahamperrin 115B 16 Dec 05:56 8526d8318dcbce336eae5b633e7f2b20
-rw-r--r-- 1 grahamperrin grahamperrin 4.4K 16 Dec 05:56 85a25ec2bf655a740ef43253dcde2851
-rw-r--r-- 1 grahamperrin grahamperrin 538B 16 Dec 05:56 bba55dec34aadf10f7d0655859dd3ade
-rw-r--r-- 1 grahamperrin grahamperrin 238B 16 Dec 05:56 d45b5ea50824ae45a6f3cae14bb85e07
-rw-r--r-- 1 grahamperrin grahamperrin 184B 16 Dec 05:56 e5e5e2d9b68c3afbc119011b57046d5a
drwxr-xr-x 2 grahamperrin grahamperrin 14B 16 Dec 05:56 .
grahamperrin#mowa219-gjp4-8570p:~ % less ~/.config/Code\ -\ OSS/Backups/1579922206882/untitled/b2bd717a77da570a5c596af6934cadc7
untitled:Untitled-4
net user Administrator | find /i "Password last set"
runas /user:Administrator powershell
Start-Process powershell -Verb runAs
cd "c:\Windows\Downloaded Program Files\" ; date ; whoami ; query user ; wget https://extranet.brighton.ac.uk/public/download/BIGIPComponentInstaller.msi -OutFile BIGIPComponentInstaller.msi ; wget https://extranet.brighton.ac.uk/public/download/f5vpn_setup.exe -OutFile f5vpn_setup.exe ; dir . | sort LastWriteTime | Out-Default ; winver ; .\BIGIPComponentInstaller.msi ; .\f5vpn_setup.exe ; cd ~
grahamperrin#mowa219-gjp4-8570p:~ % less ~/.config/Code\ -\ OSS/rapid_render.json
{"id":"monaco-parts-splash","colorInfo":{"foreground":"#cccccc","editorBackground":"#1e1e1e","titleBarBackground":"#3c3c3c","activityBarBackground":"#333333","sideBarBackground":"#252526","statusBarBackground":"#007acc","statusBarNoFolderBackground":"#68217a"},"layoutInfo":{"sideBarSide":"left","editorPartMinWidth":220,"titleBarHeight":0,"activityBarWidth":48,"sideBarWidth":170,"statusBarHeight":22,"windowBorder":false},"baseTheme":"vs-dark"}
grahamperrin#mowa219-gjp4-8570p:~ % rm ~/.config/Code\ -\ OSS/rapid_render.json
grahamperrin#mowa219-gjp4-8570p:~ % code-oss --verbose
[main 2020-12-17T08:17:09.207Z] Starting VS Code
[main 2020-12-17T08:17:09.224Z] from: /usr/local/share/code-oss/resources/app
[main 2020-12-17T08:17:09.225Z] args: {
_: [],
diff: false,
add: false,
goto: false,
'new-window': false,
'reuse-window': false,
wait: false,
help: false,
'list-extensions': false,
'show-versions': false,
version: false,
verbose: true,
status: false,
'prof-startup': false,
'disable-extensions': false,
'disable-gpu': false,
telemetry: false,
logExtensionHostCommunication: false,
'skip-release-notes': false,
'disable-restore-windows': false,
'disable-telemetry': false,
'disable-updates': false,
'disable-crash-reporter': false,
'disable-user-env-probe': false,
'skip-add-to-recently-opened': false,
'unity-launch': false,
'open-url': false,
'file-write': false,
'file-chmod': false,
'driver-verbose': false,
force: false,
'do-not-sync': false,
trace: false,
'force-user-env': false,
'no-proxy-server': false,
nolazy: false,
'force-renderer-accessibility': false,
'ignore-certificate-errors': false,
'allow-insecure-localhost': false
}
[main 2020-12-17T08:17:09.230Z] Resolving machine identifier...
[main 2020-12-17T08:17:09.231Z] Resolved machine identifier: 76d5dcb36bedd2b6a2ae2706b11c68da607ea2bce16973ed535e6bfdec09baac (trueMachineId: undefined)
[main 2020-12-17T08:17:09.659Z] [storage state.vscdb] open(/home/grahamperrin/.config/Code - OSS/User/globalStorage/state.vscdb, retryOnBusy: true)
[main 2020-12-17T08:17:09.662Z] lifecycle (main): phase changed (value: 2)
[main 2020-12-17T08:17:09.664Z] windowsManager#open
[main 2020-12-17T08:17:09.667Z] window#validateWindowState: validating window state on 2 display(s) { mode: 0, x: 0, y: 0, width: 1133, height: 510 }
[main 2020-12-17T08:17:09.668Z] window#validateWindowState: multi-monitor working area { x: 0, y: 0, width: 1920, height: 1080 }
[main 2020-12-17T08:17:09.669Z] window#ctor: using window state { mode: 0, x: 0, y: 0, width: 1133, height: 510 }
[main 2020-12-17T08:17:10.515Z] lifecycle (main): phase changed (value: 3)
[main 2020-12-17T08:17:10.516Z] update#ctor - updates are disabled as there is no update URL
[6407:1217/081711.075297:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
[main 2020-12-17T08:17:11.808Z] [storage state.vscdb] Trace (event): SELECT * FROM ItemTable
[main 2020-12-17T08:17:11.810Z] [storage state.vscdb] getItems(): 41 rows
[main 2020-12-17T08:17:11.913Z] [storage state.vscdb] updateItems(): insert(Map(3) {storage.serviceMachineId => 735a3a8a-3134-4ebb-abad-e6b9359a2727, telemetry.lastSessionDate => Thu, 17 Dec 2020 07:44:45 GMT, telemetry.currentSessionDate => Thu, 17 Dec 2020 08:17:11 GMT}), delete(Set(0) {})
[main 2020-12-17T08:17:11.914Z] [storage state.vscdb] Trace (event): BEGIN TRANSACTION
[main 2020-12-17T08:17:11.915Z] [storage state.vscdb] Trace (event): INSERT INTO ItemTable VALUES ('storage.serviceMachineId','735a3a8a-3134-4ebb-abad-e6b9359a2727'),('telemetry.lastSessionDate','Thu, 17 Dec 2020 07:44:45 GMT'),('telemetry.currentSessionDate','Thu, 17 Dec 2020 08:17:11 GMT')
[main 2020-12-17T08:17:11.916Z] [storage state.vscdb] Trace (event): END TRANSACTION
[main 2020-12-17T08:17:13.521Z] getShellEnvironment: running on CLI, skipping
[6407:1217/081713.710517:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
(node:7307) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
(node:7307) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
(node:7307) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
(node:7307) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
[main 2020-12-17T08:17:17.184Z] Shared process: IPC ready
(node:9633) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
(node:9633) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
[main 2020-12-17T08:17:17.813Z] Shared process: init ready
[main 2020-12-17T08:17:20.956Z] [VS Code]: renderer process crashed!
(node:9971) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
(node:9971) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
(node:9971) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
(node:9971) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
[main 2020-12-17T08:17:28.334Z] [VS Code]: renderer process crashed!
[main 2020-12-17T08:17:29.665Z] Lifecycle#window.on('closed') - window ID 1
[main 2020-12-17T08:17:29.666Z] Lifecycle#onWillShutdown.fire()
[6407:1217/081729.728513:WARNING:x11_util.cc(1399)] X error received: serial 478, error_code 173 (GLXBadWindow), request_code 153, minor_code 32 (X_GLXDestroyWindow)
[6407:1217/081729.728617:WARNING:x11_util.cc(1399)] X error received: serial 482, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)
grahamperrin#mowa219-gjp4-8570p:~ % less ~/.config/Code\ -\ OSS/.org.chromium.Chromium.eOeolK
{"net":{"http_server_properties":{"servers":[{"isolation":[],"server":"https://davidwang.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://ajshort.gallery.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://stkb.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://ionutvmi.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://ms-vscode.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://ms-python.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://ms-ceintl.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://ms-iot.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://ms-iot.gallery.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://bgforge.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://classix.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://vmssoftwareinc.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://killerall.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://siamz.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://alexhenriquepv.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://leighlondon.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://ionutvmi.gallery.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://miusuncle.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://yedhrab.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://rjarouche.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://neptunedesign.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://jakob101.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://dariofuzinato.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://sryze.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://flesler.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://stkb.gallery.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://ms-ceintl.gallery.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://tomashubelbauer.gallerycdn.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://tomashubelbauer.gallery.vsassets.io","supports_spdy":true},{"isolation":[],"server":"https://marketplace.visualstudio.com","supports_spdy":true}],"version":5},"network_qualities":{"CAASABiAgICA+P////8B":"4G","CAYSABiAgICA+P////8B":"Offline"}}}
grahamperrin#mowa219-gjp4-8570p:~ % code-oss --disable-extensions --verbose
[main 2020-12-17T08:19:01.005Z] Starting VS Code
[main 2020-12-17T08:19:01.011Z] from: /usr/local/share/code-oss/resources/app
[main 2020-12-17T08:19:01.011Z] args: {
_: [],
diff: false,
add: false,
goto: false,
'new-window': false,
'reuse-window': false,
wait: false,
help: false,
'list-extensions': false,
'show-versions': false,
version: false,
verbose: true,
status: false,
'prof-startup': false,
'disable-extensions': true,
'disable-gpu': false,
telemetry: false,
logExtensionHostCommunication: false,
'skip-release-notes': false,
'disable-restore-windows': false,
'disable-telemetry': false,
'disable-updates': false,
'disable-crash-reporter': false,
'disable-user-env-probe': false,
'skip-add-to-recently-opened': false,
'unity-launch': false,
'open-url': false,
'file-write': false,
'file-chmod': false,
'driver-verbose': false,
force: false,
'do-not-sync': false,
trace: false,
'force-user-env': false,
'no-proxy-server': false,
nolazy: false,
'force-renderer-accessibility': false,
'ignore-certificate-errors': false,
'allow-insecure-localhost': false
}
[main 2020-12-17T08:19:01.016Z] Resolving machine identifier...
[main 2020-12-17T08:19:01.016Z] Resolved machine identifier: 76d5dcb36bedd2b6a2ae2706b11c68da607ea2bce16973ed535e6bfdec09baac (trueMachineId: undefined)
[main 2020-12-17T08:19:01.143Z] [storage state.vscdb] open(/home/grahamperrin/.config/Code - OSS/User/globalStorage/state.vscdb, retryOnBusy: true)
[main 2020-12-17T08:19:01.146Z] lifecycle (main): phase changed (value: 2)
[main 2020-12-17T08:19:01.148Z] windowsManager#open
[main 2020-12-17T08:19:01.151Z] window#validateWindowState: validating window state on 2 display(s) { mode: 0, x: 0, y: 0, width: 1133, height: 510 }
[main 2020-12-17T08:19:01.152Z] window#validateWindowState: multi-monitor working area { x: 0, y: 0, width: 1920, height: 1080 }
[main 2020-12-17T08:19:01.153Z] window#ctor: using window state { mode: 0, x: 0, y: 0, width: 1133, height: 510 }
[main 2020-12-17T08:19:01.681Z] lifecycle (main): phase changed (value: 3)
[main 2020-12-17T08:19:01.684Z] update#ctor - updates are disabled as there is no update URL
[13433:1217/081902.366547:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
[main 2020-12-17T08:19:02.583Z] [storage state.vscdb] getItems(): 41 rows
[main 2020-12-17T08:19:02.585Z] [storage state.vscdb] Trace (event): SELECT * FROM ItemTable
[main 2020-12-17T08:19:02.686Z] [storage state.vscdb] updateItems(): insert(Map(3) {storage.serviceMachineId => 735a3a8a-3134-4ebb-abad-e6b9359a2727, telemetry.lastSessionDate => Thu, 17 Dec 2020 08:17:11 GMT, telemetry.currentSessionDate => Thu, 17 Dec 2020 08:19:02 GMT}), delete(Set(0) {})
[main 2020-12-17T08:19:02.689Z] [storage state.vscdb] Trace (event): BEGIN TRANSACTION
[main 2020-12-17T08:19:02.692Z] [storage state.vscdb] Trace (event): INSERT INTO ItemTable VALUES ('storage.serviceMachineId','735a3a8a-3134-4ebb-abad-e6b9359a2727'),('telemetry.lastSessionDate','Thu, 17 Dec 2020 08:17:11 GMT'),('telemetry.currentSessionDate','Thu, 17 Dec 2020 08:19:02 GMT')
[main 2020-12-17T08:19:02.693Z] [storage state.vscdb] Trace (event): END TRANSACTION
[main 2020-12-17T08:19:02.864Z] getShellEnvironment: running on CLI, skipping
(node:13490) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
(node:13490) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
(node:13490) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
(node:13490) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
[main 2020-12-17T08:19:04.147Z] [VS Code]: renderer process crashed!
[13433:1217/081904.745930:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
[main 2020-12-17T08:19:06.291Z] Shared process: IPC ready
(node:13567) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
(node:13567) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
[main 2020-12-17T08:19:06.356Z] Shared process: init ready
[main 2020-12-17T08:19:07.353Z] Lifecycle#window.on('closed') - window ID 1
[main 2020-12-17T08:19:07.353Z] Lifecycle#onWillShutdown.fire()
grahamperrin#mowa219-gjp4-8570p:~ % gdb /usr/local/bin/code-oss ./code-oss.core
GNU gdb (GDB) 10.1 [GDB v10.1 for FreeBSD]
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd13.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
"0x7fffffffe080s": not in executable format: file format not recognized
[New LWP 102724]
[New LWP 116825]
[New LWP 116826]
[New LWP 116827]
[New LWP 116828]
[New LWP 116829]
[New LWP 116830]
[New LWP 116831]
[New LWP 116832]
[New LWP 116833]
[New LWP 116834]
[New LWP 116835]
[New LWP 116836]
[New LWP 116838]
[New LWP 116839]
[New LWP 116840]
[New LWP 116841]
[New LWP 116842]
[New LWP 116843]
[New LWP 116844]
[New LWP 116845]
[New LWP 116846]
[New LWP 116847]
[New LWP 116848]
[New LWP 116849]
[New LWP 116850]
[New LWP 116851]
[New LWP 116867]
[New LWP 116888]
Core was generated by `code-oss: --disable-extensions --verbose --no-sandbox'.
Program terminated with signal SIGBUS, Bus error.
--Type <RET> for more, q to quit, c to continue without paging--
#0 0x00000000025d0c77 in ?? ()
[Current thread is 1 (LWP 102724)]
(gdb) bt
#0 0x00000000025d0c77 in ?? ()
#1 0x000000081432a0c0 in ?? ()
#2 0x000000081227a608 in ?? ()
#3 0x00007fffffffd750 in ?? ()
#4 0x0000000002c5e17b in ?? ()
#5 0x000000081227a608 in ?? ()
#6 0x000000081227a620 in ?? ()
#7 0x000000081432a0c0 in ?? ()
#8 0x000000081227a620 in ?? ()
#9 0x000000081227bff0 in ?? ()
#10 0x0000000007740100 in ?? ()
#11 0x000000081432a0c0 in ?? ()
#12 0x00000008133b6730 in ?? ()
#13 0x00000008133b6730 in ?? ()
#14 0x00000008133b6740 in ?? ()
#15 0xecf3e8d0b6254a2e in ?? ()
#16 0x000000080f6d9620 in ?? ()
#17 0x000000081227a608 in ?? ()
#18 0x00007fffffffd7e8 in ?? ()
#19 0x0000000000000005 in ?? ()
#20 0x0000000001a3c432 in ?? ()
#21 0x00007fffffffd7d0 in ?? ()
#22 0x0000000002c5e06e in ?? ()
#23 0x0000000000000000 in ?? ()
(gdb) q
grahamperrin#mowa219-gjp4-8570p:~ % pkg query '%o %v %R' vscode
editors/vscode 1.46.1 FreeBSD
grahamperrin#mowa219-gjp4-8570p:~ % uname -v
FreeBSD 13.0-CURRENT #74 r368589: Sun Dec 13 07:55:46 GMT 2020 root#mowa219-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG
grahamperrin#mowa219-gjp4-8570p:~ %
– unfortunately, nothing useful in the backtrace.
Bug reported:
Code - OSS crashed consistently at start time – renderer process crashed! – until after I removed cached data workbench.desktop.main-17c1ea9255cc303c9339b9c2ce2b4a02.code · Issue #113069 · microsoft/vscode
With the bugged ~/.config/Code - OSS directory (restored from a backup):
After removing the offending file, a first run of the application:
Extension host terminated unexpectedly.
This occurred a few seconds after every run of the application.
Output from code-oss --verbose at https://pastebin.com/gPXMNdrv
After disabling all possible extensions (English (United Kingdom) Language Pack for Visual Studio Code can not be disabled), then re-enabling all: touch wood, no recurrence of Extension host terminated unexpectedly.

Casbah MongoDB Error

I have the Casbah MongoDB driver that I use in my Web Application and when I tried to connect to the Database which is when the Casbah driver API's are called, I face a strange error:
play.api.Application$$anon$1: Execution exception[[RuntimeException: java.lang.IncompatibleClassChangeError: Class com.mongodb.casbah.Imports$ does not implement the requested interface com.mongodb.casbah.query.dsl.SearchOp]]
at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$12$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:165) [com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$12$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:162) [com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.util.Failure$$anonfun$recover$1.apply(Try.scala:185) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.util.Try$.apply(Try.scala:161) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.util.Failure.recover(Try.scala:185) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.Future$$anonfun$recover$1.apply(Future.scala:387) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.Future$$anonfun$recover$1.apply(Future.scala:387) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:29) [org.scala-lang.scala-library-2.10.2.jar:na]
at play.api.libs.iteratee.Execution$$anon$1.execute(Execution.scala:43) [com.typesafe.play.play-iteratees_2.10-2.2.1.jar:2.2.1]
at scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:37) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:133) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.Promise$class.complete(Promise.scala:55) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:58) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.Future$$anonfun$flatMap$1$$anonfun$apply$3.apply(Future.scala:278) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.Future$$anonfun$flatMap$1$$anonfun$apply$3.apply(Future.scala:278) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:29) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.Future$InternalCallbackExecutor$Batch$$anonfun$run$1.processBatch$1(Future.scala:731) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.Future$InternalCallbackExecutor$Batch$$anonfun$run$1.apply$mcV$sp(Future.scala:746) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.Future$InternalCallbackExecutor$Batch$$anonfun$run$1.apply(Future.scala:723) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.Future$InternalCallbackExecutor$Batch$$anonfun$run$1.apply(Future.scala:723) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.Future$InternalCallbackExecutor$Batch.run(Future.scala:722) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.Future$InternalCallbackExecutor$.scala$concurrent$Future$InternalCallbackExecutor$$unbatchedExecute(Future.scala:782) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:773) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:37) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:133) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.Promise$class.complete(Promise.scala:55) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:58) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:274) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:274) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:29) [org.scala-lang.scala-library-2.10.2.jar:na]
at play.api.libs.iteratee.Execution$$anon$2.execute(Execution.scala:70) [com.typesafe.play.play-iteratees_2.10-2.2.1.jar:2.2.1]
at scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:37) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:133) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.Promise$class.complete(Promise.scala:55) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:58) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:23) [org.scala-lang.scala-library-2.10.2.jar:na]
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:42) [com.typesafe.akka.akka-actor_2.10-2.2.0.jar:2.2.0]
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386) [com.typesafe.akka.akka-actor_2.10-2.2.0.jar:2.2.0]
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) [org.scala-lang.scala-library-2.10.2.jar:na]
Caused by: java.lang.RuntimeException: java.lang.IncompatibleClassChangeError: Class com.mongodb.casbah.Imports$ does not implement the requested interface com.mongodb.casbah.query.dsl.SearchOp
at play.api.mvc.ActionBuilder$$anon$1.apply(Action.scala:314) ~[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5.apply(Action.scala:109) ~[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5.apply(Action.scala:109) ~[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
at play.utils.Threads$.withContextClassLoader(Threads.scala:18) ~[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4.apply(Action.scala:108) ~[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4.apply(Action.scala:107) ~[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
at scala.Option.map(Option.scala:145) ~[org.scala-lang.scala-library-2.10.2.jar:na]
at play.api.mvc.Action$$anonfun$apply$1.apply(Action.scala:107) ~[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
at play.api.mvc.Action$$anonfun$apply$1.apply(Action.scala:100) ~[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
at play.api.libs.iteratee.Iteratee$$anonfun$mapM$1.apply(Iteratee.scala:481) ~[com.typesafe.play.play-iteratees_2.10-2.2.1.jar:2.2.1]
at play.api.libs.iteratee.Iteratee$$anonfun$mapM$1.apply(Iteratee.scala:481) ~[com.typesafe.play.play-iteratees_2.10-2.2.1.jar:2.2.1]
at play.api.libs.iteratee.Iteratee$$anonfun$flatMapM$1.apply(Iteratee.scala:517) ~[com.typesafe.play.play-iteratees_2.10-2.2.1.jar:2.2.1]
at play.api.libs.iteratee.Iteratee$$anonfun$flatMapM$1.apply(Iteratee.scala:517) ~[com.typesafe.play.play-iteratees_2.10-2.2.1.jar:2.2.1]
at play.api.libs.iteratee.Iteratee$$anonfun$flatMap$1$$anonfun$apply$13.apply(Iteratee.scala:493) ~[com.typesafe.play.play-iteratees_2.10-2.2.1.jar:2.2.1]
at play.api.libs.iteratee.Iteratee$$anonfun$flatMap$1$$anonfun$apply$13.apply(Iteratee.scala:493) ~[com.typesafe.play.play-iteratees_2.10-2.2.1.jar:2.2.1]
at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24) [org.scala-lang.scala-library-2.10.2.jar:na]
at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24) [org.scala-lang.scala-library-2.10.2.jar:na]
... 6 common frames omitted
Caused by: java.lang.IncompatibleClassChangeError: Class com.mongodb.casbah.Imports$ does not implement the requested interface com.mongodb.casbah.query.dsl.SearchOp
at com.mongodb.casbah.query.dsl.SearchOp$class.$init$(BarewordOperators.scala:405) ~[casbah-query_2.10-2.7.0-RC2.jar:2.6.2]
at com.mongodb.casbah.Imports$.<init>(Implicits.scala:142) ~[casbah-core_2.10-2.7.0-RC2.jar:2.7.0-RC2]
at com.mongodb.casbah.Imports$.<clinit>(Implicits.scala) ~[casbah-core_2.10-2.7.0-RC2.jar:2.7.0-RC2]
at com.q31.scerticles.core.domain.content.Exam$.getAllExamsForTechnologyWithPagination(Exam.scala:59) ~[scerticles-core-1.0-SNAPSHOT.jar:na]
at com.q31.scerticles.core.service.ContentService.allExamsForTechnologyWithPagination(ContentService.scala:46) ~[scerticles-core-1.0-SNAPSHOT.jar:na]
at controllers.content.ExamController$$anonfun$allExamsForTechnology$1.apply(ExamController.scala:37) ~[com-q31-scerticles.com-q31-scerticles-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
at controllers.content.ExamController$$anonfun$allExamsForTechnology$1.apply(ExamController.scala:35) ~[com-q31-scerticles.com-q31-scerticles-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
at play.api.mvc.ActionBuilder$$anonfun$apply$10.apply(Action.scala:221) ~[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
at play.api.mvc.ActionBuilder$$anonfun$apply$10.apply(Action.scala:220) ~[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
at play.api.mvc.Action$.invokeBlock(Action.scala:357) ~[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
at play.api.mvc.ActionBuilder$$anon$1.apply(Action.scala:309) ~[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
... 22 common frames omitted
Looks like there seems to be some sort of library incompatibility, but just don't know which one. Any clues? Here are my libraries so far!
-rw-r--r-- 1 root root 4467 Jun 14 09:09 aopalliance-1.0.jar
-rw-r--r-- 1 root root 167386 Jun 14 09:09 casbah-commons_2.10-2.7.0-RC2.jar
-rw-r--r-- 1 root root 286110 Jun 14 09:09 casbah-core_2.10-2.7.0-RC2.jar
-rw-r--r-- 1 root root 79191 Jun 14 09:09 casbah-gridfs_2.10-2.7.0-RC2.jar
-rw-r--r-- 1 root root 223987 Jun 14 09:09 casbah-query_2.10-2.7.0-RC2.jar
-rw-r--r-- 1 root root 264600 Jun 14 09:09 ch.qos.logback.logback-classic-1.0.13.jar
-rw-r--r-- 1 root root 418870 Jun 14 09:09 ch.qos.logback.logback-core-1.0.13.jar
-rw-r--r-- 1 root root 33491 Jun 14 09:09 com.fasterxml.jackson.core.jackson-annotations-2.2.2.jar
-rw-r--r-- 1 root root 191738 Jun 14 09:09 com.fasterxml.jackson.core.jackson-core-2.2.2.jar
-rw-r--r-- 1 root root 866104 Jun 14 09:09 com.fasterxml.jackson.core.jackson-databind-2.2.2.jar
-rw-r--r-- 1 root root 117309 Jun 14 09:09 com.github.nscala-time.nscala-time_2.10-0.2.0.jar
-rw-r--r-- 1 root root 1295513 Jun 14 09:09 com.github.scala-incubator.io.scala-io-core_2.10-0.4.2.jar
-rw-r--r-- 1 root root 437576 Jun 14 09:09 com.github.scala-incubator.io.scala-io-file_2.10-0.4.2.jar
-rw-r--r-- 1 root root 2189117 Jun 14 09:09 com.google.guava.guava-14.0.1.jar
-rw-r--r-- 1 root root 1549098 Jun 14 09:09 com.h2database.h2-1.3.172.jar
-rw-r--r-- 1 root root 110600 Jun 14 09:09 com.jolbox.bonecp-0.8.0.RELEASE.jar
-rw-r--r-- 1 root root 75459 Jun 14 09:09 com.jsuereth.scala-arm_2.10-1.3.jar
-rw-r--r-- 1 root root 46725 Jun 14 09:09 commons-codec.commons-codec-1.3.jar
-rw-r--r-- 1 root root 60686 Jun 14 09:09 commons-logging.commons-logging-1.1.1.jar
-rw-r--r-- 1 root root 500511 Jun 14 09:09 com.ning.async-http-client-1.7.18.jar
-rw-r--r-- 1 root root 30190 Jun 14 09:09 com.thoughtworks.paranamer.paranamer-2.5.2.jar
-rw-r--r-- 1 root root 2643414 Jun 14 09:09 com.typesafe.akka.akka-actor_2.10-2.2.0.jar
-rw-r--r-- 1 root root 14477 Jun 14 09:09 com.typesafe.akka.akka-slf4j_2.10-2.2.0.jar
-rw-r--r-- 1 root root 187497 Jun 14 09:09 com.typesafe.config-1.0.2.jar
-rw-r--r-- 1 root root 7012 Jun 14 09:09 com.typesafe.netty.netty-http-pipelining-1.1.2.jar
-rw-r--r-- 1 root root 294444 Jun 14 09:09 com.typesafe.play.anorm_2.10-2.2.1.jar
-rw-r--r-- 1 root root 3774943 Jun 14 09:09 com.typesafe.play.play_2.10-2.2.1.jar
-rw-r--r-- 1 root root 35156 Jun 14 09:09 com.typesafe.play.play-cache_2.10-2.2.1.jar
-rw-r--r-- 1 root root 5198 Jun 14 09:09 com.typesafe.play.play-datacommons_2.10-2.2.1.jar
-rw-r--r-- 1 root root 4571 Jun 14 09:09 com.typesafe.play.play-exceptions-2.2.1.jar
-rw-r--r-- 1 root root 366840 Jun 14 09:09 com.typesafe.play.play-functional_2.10-2.2.1.jar
-rw-r--r-- 1 root root 716463 Jun 14 09:09 com.typesafe.play.play-iteratees_2.10-2.2.1.jar
-rw-r--r-- 1 root root 201709 Jun 14 09:09 com.typesafe.play.play-jdbc_2.10-2.2.1.jar
-rw-r--r-- 1 root root 627243 Jun 14 09:09 com.typesafe.play.play-json_2.10-2.2.1.jar
-rw-r--r-- 1 root root 8759 Jun 14 09:09 com.typesafe.play.sbt-link-2.2.1.jar
-rw-r--r-- 1 root root 39142 Jun 14 09:09 com.typesafe.play.templates_2.10-2.2.1.jar
-rw-r--r-- 1 root root 187497 Jun 14 09:09 config-1.0.2.jar
-rw-r--r-- 1 root root 710492 Jun 14 09:09 guice-3.0.jar
-rw-r--r-- 1 root root 1208356 Jun 14 09:09 io.netty.netty-3.7.0.Final.jar
-rw-r--r-- 1 root root 2497 Jun 14 09:09 javax.inject-1.jar
-rw-r--r-- 1 root root 15071 Jun 14 09:09 javax.transaction.jta-1.1.jar
-rw-r--r-- 1 root root 40544 Jun 14 09:09 joda-convert-1.3.1.jar
-rw-r--r-- 1 root root 581571 Jun 14 09:09 joda-time-2.3.jar
-rw-r--r-- 1 root root 581571 Jun 14 09:09 joda-time.joda-time-2.3.jar
-rw-r--r-- 1 root root 586498 Jun 14 09:09 mongo-java-driver-2.12.0-rc2.jar
-rw-r--r-- 1 root root 1346296 Jun 14 09:09 net.sf.ehcache.ehcache-core-2.6.6.jar
-rw-r--r-- 1 root root 183875 Jun 14 09:09 nscala-time_2.10-0.6.0.jar
-rw-r--r-- 1 root root 6512 Jun 14 09:09 oauth.signpost.signpost-commonshttp4-1.2.1.2.jar
-rw-r--r-- 1 root root 45277 Jun 14 09:09 oauth.signpost.signpost-core-1.2.1.2.jar
-rw-r--r-- 1 root root 315805 Jun 14 09:09 org.apache.commons.commons-lang3-3.1.jar
-rw-r--r-- 1 root root 291037 Jun 14 09:09 org.apache.httpcomponents.httpclient-4.0.1.jar
-rw-r--r-- 1 root root 172888 Jun 14 09:09 org.apache.httpcomponents.httpcore-4.0.1.jar
-rw-r--r-- 1 root root 713930 Jun 14 09:09 org.javassist.javassist-3.18.0-GA.jar
-rw-r--r-- 1 root root 40544 Jun 14 09:09 org.joda.joda-convert-1.3.1.jar
-rw-r--r-- 1 root root 86503 Jun 14 09:09 org.json4s.json4s-ast_2.10-3.1.0.jar
-rw-r--r-- 1 root root 462450 Jun 14 09:09 org.json4s.json4s-core_2.10-3.1.0.jar
-rw-r--r-- 1 root root 63432 Jun 14 09:09 org.json4s.json4s-native_2.10-3.1.0.jar
-rw-r--r-- 1 root root 14411577 Jun 14 09:09 org.scala-lang.scala-compiler-2.10.2.jar
-rw-r--r-- 1 root root 7121818 Jun 14 09:09 org.scala-lang.scala-library-2.10.2.jar
-rw-r--r-- 1 root root 854338 Jun 14 09:09 org.scala-lang.scalap-2.10.2.jar
-rw-r--r-- 1 root root 3171168 Jun 14 09:09 org.scala-lang.scala-reflect-2.10.2.jar
-rw-r--r-- 1 root root 650514 Jun 14 09:09 org.scala-stm.scala-stm_2.10-0.7.jar
-rw-r--r-- 1 root root 16517 Jun 14 09:09 org.slf4j.jcl-over-slf4j-1.7.5.jar
-rw-r--r-- 1 root root 4960 Jun 14 09:09 org.slf4j.jul-to-slf4j-1.7.5.jar
-rw-r--r-- 1 root root 26084 Jun 14 09:09 org.slf4j.slf4j-api-1.7.5.jar
-rw-r--r-- 1 root root 7126003 Jun 14 09:09 scala-library-2.10.3.jar
-rw-r--r-- 1 root root 3171168 Jun 14 09:09 scala-reflect-2.10.2.jar
-rw-r--r-- 1 root root 7195811 Jun 14 09:09 scalatest_2.10-2.1.0.jar
-rw-r--r-- 1 root root 26084 Jun 14 09:09 slf4j-api-1.7.5.jar
-rw-r--r-- 1 root root 201315 Jun 14 09:09 tyrex.tyrex-1.0.1.jar
-rw-r--r-- 1 root root 1367760 Jun 14 09:09 xerces.xercesImpl-2.11.0.jar
-rw-r--r-- 1 root root 220536 Jun 14 09:09 xml-apis.xml-apis-1.4.01.jar
use casbah 2.8.1 version which could solve your problem.