打开edx SSL:CERTIFICATE_VERIFY_FAILED

时间:2018-11-16 05:43:19

标签: python django openedx

我最近设置了电子商务模块,现在当我尝试在电子商务中创建新课程时遇到此错误。

  

错误!无法发布有关的商业数据   course-v1:组织+ t101 + 2017至LMS。

另外,我收到此错误日志:

My previous code :

        picasso.load(url).into(new Target() {
    @Override
    public void onBitmapLoaded(Bitmap bitmap, Picasso.LoadedFrom from) {

    }

    @Override
    public void onBitmapFailed(Exception e, Drawable errorDrawable) {

    }

    @Override
    public void onPrepareLoad(Drawable placeHolderDrawable) {

    }
});

After this I just created a new variable for Target object :

final Target target=new Target() {
    @Override
    public void onBitmapLoaded(Bitmap bitmap, Picasso.LoadedFrom from) {
        imageView.setBackground(new BitmapDrawable(mContext.getResources(), bitmap));
        imageView.setScaleType(ImageView.ScaleType.CENTER_CROP);
    }

    @Override
    public void onBitmapFailed(Exception e, Drawable errorDrawable) {

    }

    @Override
    public void onPrepareLoad(Drawable placeHolderDrawable) {

    }
};

then I used the target object later in my code :

        picasso.load(url).into( target);

这表明SSL证书验证失败

谁能告诉我们缺少哪些配置设置?

谢谢

0 个答案:

没有答案