Error when trying to view mails

Hello! when I try to see my mails sent by users, it gies erro “marketplace is out of order”. Seems like a database error. I am going to test the service soon, this issue is important to fix.

when I get e-mail notification that tells me that new query has arrived, I can click the link and see the query normally. So ther is something odd when going from here:

image

Journalclt:
Mar 30 11:23:17 1-239-179-185.static.tentacle.fi sharetri2[706]: {“method”:“GET”,“path”:“/500”,“format”:“html”,“controller”:“ErrorsController”,“action”:“server_error”,“status”:500,“duration”:5.16,“view”:2.04,“db”:0.05,“params”:{“locale”:“fi”,“person_id”:“tommil”},“host”:null,“community_id”:null,“current_user_id”:null,“user_agent”:null,“referer”:null,“forwarded_for”:null,“request_uuid”:null}
Mar 30 11:23:17 1-239-179-185.static.tentacle.fi sharetri2[706]: 127.0.0.1 - - [30/Mar/2019:11:23:17 EET] “GET /fi/tommil/inbox HTTP/1.1” 500 902
Mar 30 11:23:17 1-239-179-185.static.tentacle.fi sharetri2[706]: https://vuokratavara.fi/ → /fi/tommil/inbox

All the other links works (profile, my listings, settings).

I can see that there are null values:
host":null,“community_id”:null,“current_user_id”:null,“user_agent”:null,“referer”:null,“forwarded_for”:null,“request_uuid”:null}

Why there are null values in this function, and how to fix this?

Seems to be SSL related after all

Mixed Content: The page at ‘https://vuokratavara.fi/fi/tommil/inbox’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600&subset=latin-ext’. This request has been blocked; the content must be served over HTTPS.

{“method”:“GET”,“path”:"/fi/tommil/inbox",“format”:“html”,“controller”:“InboxesController”,“action”:“show”,“status”:500,“error”:"ArgumentError (Error(s) in /home/virtual/sharetribe/app/services/inbox_service.rb:125:in `map’: listing_id: Missing mandatory value., listing_title: Missing mandatory value.):

finally, this is the culprit. I had also trouble in logging so I did not see this first.

Solved. I had delete listings manually via rails console like showed here:
https://github.com/sharetribe/sharetribe/wiki/Admin-of-Sharetribe-server
But there was meessages concerning these deleted listings. I added the ID and name manually (I was lucky enought to remeber them) to database. Inbox worked again.

I think software should check, when deleting listing, is there some other dependencies in database to the listing like discussions as was in here.