Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net::ERR_SSL_VERSION_OR_CIPHER_MISMATCH #16

Open
khusamov opened this issue Oct 26, 2015 · 3 comments
Open

net::ERR_SSL_VERSION_OR_CIPHER_MISMATCH #16

khusamov opened this issue Oct 26, 2015 · 3 comments
Assignees

Comments

@khusamov
Copy link
Collaborator

2015-10-26 16-30-35 1578888
2015-10-26 16-31-04 1578888
2015-10-26 16-31-28 1578888
2015-10-26 16-32-40 1578888

@khusamov khusamov self-assigned this Oct 26, 2015
@khusamov
Copy link
Collaborator Author

Прямое решение проблемы не найдено. Так как не до конца понятна причина невозможности загрузки данного файла.

Косвенное решение проблемы в процессе (решение заключается в переносе данного файла на сервер, где находится сам сайт).

shutterstock/postcss-copy-assets#4
devex-web-frontend/postcss-assets-rebase#8
https://toster.ru/q/260416
https://toster.ru/q/260104
https://github.com/postcss/postcss

Пока сборка проекта делается вручную.

Одно из возможных решений проблемы использовать webpack.

https://github.com/webpack/webpack

@khusamov
Copy link
Collaborator Author

Создан тестовый репозиторий для повторения ошибки. Ошибка пока не повторяется.

https://github.com/khusamov/problem-postcss-assets-rebase

@khusamov
Copy link
Collaborator Author

khusamov commented Nov 6, 2015

В ответ на мой тикет shutterstock/postcss-copy-assets#4 написали, что проблему не могут повторить.

Создали тестовый репозиторий:
https://github.com/alexmchardy/copy-assets-issue-4

Мой форк их тестового репозитория:
https://github.com/khusamov/problem-postcss-copy-assets

Вот их галпфайл:

var gulp = require('gulp');
var postcss = require('gulp-postcss');
var copyAssets = require('postcss-copy-assets');
var concat = require('gulp-concat');

gulp.task("css", function () {
    var src = ["bower_components/bootswatch/united/bootstrap.css"];
    return gulp.src(src)
        .pipe(postcss([
                copyAssets({ base: "public/build" })
            ],
            { to: "public/build/css/all.css" })
        )
        .pipe(concat("all.css"))
        .pipe(gulp.dest("public/build/css"));
});

gulp.task("default", ["css"]);

Вот их результат:

public
`-- build
    |-- css
    |   `-- all.css
    `-- fonts
        |-- glyphicons-halflings-regular.eot
        |-- glyphicons-halflings-regular.svg
        |-- glyphicons-halflings-regular.ttf
        |-- glyphicons-halflings-regular.woff
        `-- glyphicons-halflings-regular.woff2
@font-face {
    src: url("../fonts/glyphicons-halflings-regular.eot");
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant