Closed reueljohnk closed 4 years ago
I also get this notification frequently:
Hmm...we can't seem to sync your account.
The reason: <!DOCTYPE html>
<html>
<head>
<title>We're sorry, but something went wrong (500)</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
body {
background-color: #EFEFEF;
color: #2E2F30;
text-align: center;
font-family: arial, sans-serif;
margin: 0;
}
div.dialog {
width: 95%;
max-width: 33em;
margin: 4em auto 0;
}
div.dialog > div {
border: 1px solid #CCC;
border-right-color: #999;
border-left-color: #999;
border-bottom-color: #BBB;
border-top: #B00100 solid 4px;
border-top-left-radius: 9px;
border-top-right-radius: 9px;
background-color: white;
padding: 7px 12% 0;
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
}
h1 {
font-size: 100%;
color: #730E15;
line-height: 1.5em;
}
div.dialog > p {
margin: 0 0 1em;
padding: 1em;
background-color: #F7F7F7;
border: 1px solid #CCC;
border-right-color: #999;
border-left-color: #999;
border-bottom-color: #999;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
border-top-color: #DADADA;
color: #666;
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
}
</style>
</head>
<body>
<!-- This file lives in public/500.html -->
<div class="dialog">
<div>
<h1>We're sorry, but something went wrong.</h1>
</div>
<p>If you are the application owner check the logs for more information.</p>
</div>
</body>
</html>
@karolsojko do we still have the issue where not having AWS_REGION set will cause saving to silently fail? That might be what's going on here.
@mobitar I think duplicates happened when someone used develop brach of syncing-server against master webapp /cc @baptiste-grob @johnny243
as for the AWS_REGION that was an issue when someone used the app in development mode from what I remember https://github.com/standardnotes/syncing-server/pull/63
@karolsojko I might have used the develop branch by mistake. My bad!! I will try with the master branch and get back
@karolsojko but if using the server in production mode wouldn't it run jobs which depend on AWS_REGION?
I changed to the master branch and it's working perfectly now :100: ! Thank you so much. Do let me know if i can go ahead and close the issue
@karolsojko but if using the server in production mode wouldn't it run jobs which depend on AWS_REGION?
Can't recall what the discussion was about the setting needed to be inline in development mode only. Anyways yeah - in production mode you'd need to have AWS_REGION to get registration emails (but it's not necesarry to run the server): https://github.com/standardnotes/syncing-server/blame/develop/app/controllers/api/auth_controller.rb#L138
This is a bit of a different topic - @itsrjk I think you can close this issue
Cheers!
Hi, Everything works as expected. However when I create a note it starts duplicating randomly. i.e, 1 note becomes 2,4,6,8 and so on and doesn't stop. Here are the logs