I am trying to deploy a version of the otree Social Value Orientation measure following a slightly modified version of https://github.com/drfwint/svo. I can run it locally without problems but once I deploy it on Heroku-18 (since I have python 3.7 which is not supported on Heroku-20) I get the following message:
"Your database is not ready. Try resetting the database (Missing tables for otree.X, auth.Y, svo.Z, and 18 other models)."
I reset my database and it is still not working. Does anyone have a clue?
I'm trying to update an old multisite wordpress instance (3.0.4) to an actual version, passing by 3.1.4, 3.3.3, 3.5.2, 3.7.26 version.
It's possible to update the DB after each step/version without using the browser at all ( maybe using some APIs, curl, etc...) ?
You cannot use curl or api to upgrade wordpress version but you can do manual update
you can check wordpress codex for more information
Manual update link
I have a Rails 5 app, running both a postgresql DB for application data and MongoDB (mongoid) for analytics, generated by the fantastic ahoy gem.
Everything works great until I switch to asynchronous geocoding in config/initializers/ahoy.rb, which generates the error below:
ActiveJob::SerializationError (Unsupported argument type: Visit):
The app is using delayed_job, for background processing.
I there a workaround for this issue, or is this caused by incompatibility between mongoid and delayed_job?
Try adding the GlobalId mixin to your model
class Visit
include GlobalID::Identification
end
I was working on one poc which will connect to salesforce account . The mule version is 6.3.2 and sales force version is 6.3.2. Till 2 [![enter image description here][1]][1]days back it was working fine.
I came to know that last weekend sales force as done TLS upgrade to 1.1 from 1.0. When i was testing my flow getting the below exception:
Root Exception stack trace:
[UnexpectedErrorFault [ApiFault exceptionCode='UNSUPPORTED_CLIENT'
exceptionMessage='TLS 1.0 has been disabled in this organization. Please use TLS 1.1 or higher when connecting to Salesforce using https.'
]
]
When i saw the mule documentation it says that sales force connector 7.1.2 as addressed this issue and I update my connector in studio and retried the scenario which is not working.
Can some one help me out on this.
Regards
Vikram
I previously had to set the following property in the application settings:
https.protocols=TLSv1.1,TLSv1.2
And -Dhttps.protocols=TLSv1.1,TLSv1.2 in my wrapper.conf for Mule standalone.
You can put your configuration in tls-default.conf in MULE_ESB/conf/ folder
and then put the value inside like below:
enabledProtocols=TLSv1.1, TLSv1.2
enabledCipherSuites=TLS_KRB5_WITH_3DES_EDE_CBC_MD5, TLS_KRB5_WITH_RC4_128_SHA, SSL_DH_anon_WITH_DES_CBC_SHA
Or if you want to test from your anypoint studio, just create the tls-default.conf and put under your resources folder
Another information I can add is try to input your url destination to https://www.ssllabs.com/ssltest/ to make sure the TLSv1.1 is enabled by your endpoint or the chiper suite enable too
Similar is answered in https://forums.mulesoft.com/questions/41012/getting-error-when-hitting-a-rest-api-via-https.html#answer-43960
Below is the answer I posted.
I resolved it in my system.
When it is not working in the Runtime that is attached in the Anypoint
studio then follow the below steps.
Navigate to the Anypoint studio installation directory
Search for "tls-default.conf" in the folder. This will show you all the files for all the Runtimes that you have installed.
there will be a property "enabledProtocols" make sure that it contains the TLSv1 in it as below
enabledProtocols=TLSv1,TLSv1.1,TLSv1.2
This above should apply to Cloud hub (Most of the times it is already
enabled) or on-premise systems.
Salesforce are now disabling TLS 1.0, forcing TLS 1.1 or higher.
For Java versions >= 1.8 this is not a problem, but for earlier releases you will want to set the SSLContext. This solution worked for me:
if (Double.parseDouble(Runtime.class.getPackage().getSpecificationVersion()) <= 1.7) // Java versions > 1.7 are compatible with TLS 1.1 or higher by default - we want TLSv1.2 for our needs
setSSLContext(SSLContext.getInstance(SSL_VERSION_TO_USE_FOR_SALESFORCE_LOGIN));
private static void setSSLContext(SSLContext context) {
SSLContext.setDefault(context);
try {
/* Either of the first two parameters may be null in which case the installed security providers will be searched for the highest priority implementation of the appropriate factory.
Likewise, the secure random parameter may be null in which case the default implementation will be used. */
context.init(null, null, null);
} catch (KeyManagementException e) {
// handle exception
}
}
Navigate to Setup
In the Quick Find bar, type in Critical Updates
Select Critical Updates
Locate the Require TLS 1.1 or higher for HTTPS connections​ under the Update Name column
Click on Deactivate.
I am building a Grails app and was asked to integrate with liquibase. After a bit of research I found that the Database Migration plugin is the preferred method for this.
However, whenever I run any command involving the plugin, I get the following error:
Error executing script DbmChangelogSync: No such property: database for class: _DatabaseMigrationCommon_groovy
I am using database-migration version 1.3.6. I also tried with 1.3.8 but received the same error.
Any advice? Thanks.