Switch to English?
Yes
Переключитись на українську?
Так
Переключиться на русскую?
Да
Przełączyć się na polską?
Tak
Post your project for free and start getting offers from freelance performers within minutes after posting!

Не работают websocket по ssl (скорее всего из-за cloudflare)


  1. 1842    107  1   1
    1 day7 USD

    Доброе утро!

    Сегодня во второй половине дня готов
    вникнуть и решить Вашу проблему.
    Уже работали с Вами ранее. Буду рад
    сотрудничеству над этим проектом.
    Отпишу Вам в ЛС.

  2. 793    107  0
    1 day8 USD

    Здравствуйте, выполню. Обращайтесь, обсудим telegram: @noparamos

  3. 2 more hidden bids
  • Profile deleted
    18 July 2019, 22:46 |

    CF нельзя пробрасывать другие порты. Решается этот вопрос по другому.

  • Profile deleted
    18 July 2019, 23:24 |

    Я пробовал сделать, что бы /socket-io/ на :8080 порт проксировал, но что-то не вышло.

  • Victor K.
    18 July 2019, 23:25 |

    Если не ошибаюсь в конфигах клауда есть включение/выключение вебсокетов) проверьте) 

  • Victor K.
    18 July 2019, 23:28 |

    network->websockets
    проверьте положение) 

  • Profile deleted
    18 July 2019, 23:44 |

    Спасибо за совет, но на удивление галочка включена,  кажется проектирование на nginx не правильно настроил, просто websocket работают (node's app работают на 8080 порту)

  • Victor K.
    18 July 2019, 23:45 |
    а какая ошибка?) 


  • Profile deleted
    19 July 2019, 0:03 |

    такого плана -"Mixed Content: The page at 'https://example.com/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://example.com/socket.io?EIO=3&transport=polling&t=Mm6uFzE'. This request has been blocked; the content must be served over HTTPS."

    хотя socket подключаю правильно io.connect('/').
    пробовал и io.connect('wss://example.com').
    Но все равно выдают эту ошибку, мне кажется дело в проксирование nginx, просто приложение где вебсокеты на :8080 порту работает и в nginx такого плана пишу конфиг -

    location /socket.io {

            proxy_pass http://localhost:8080;

            proxy_set_header Host $host;

        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

        proxy_set_header X-Forwarded-Proto $scheme;

        }


  • Victor K.
    19 July 2019, 0:07 |

    Ну то что происходит на стороне никса не имеет отношения 99%, думаю что подключение к сокету может еще где-то есть) 

  • Profile deleted
    19 July 2019, 0:13 |

    не, не, проблема как раз таки скорее всего в настройки nginx, я явно что-то не то написал (просто в nginx совершенно не разбираюсь). без ssl и если указывать io.connect(':8080') все работает.

  • Aleksandr Mihnenko
    19 July 2019, 1:40 |

    фаеровала или selinux

Current freelance projects in the category Node.js

Modification and maintenance of React/Node.js website

Good day, looking for a freelancer with knowledge of React/Node.Js for their receipt generator microservice project. Website: receiptmaker.io There is a list of tasks that will need to be implemented in the future (adding new pages to the site with content on a monthly basis,…

JavaScriptNode.js ∙ 24 proposals

React.js Developer for the Bucking Platform

I am looking for an experienced Full-stack React developer to work on the project (online-bucking service). Technologies: React.js, React Native, Angular, Node.js, MongoDB

JavaScriptNode.js ∙ 24 proposals

AWS Video CDN Engineer / Specialist

Welcome to!We are looking for a talented and experienced engineer/specialist from AWS Video CDN to work on our YOU.TREND project (https://youtrend.app/).As part of our team, you will be responsible for developing, implementing and supporting AWS Video CDN for our…

DevOpsNode.js ∙ 1 proposal

Creating a backend on Node.js

It is unnecessary to implement the basic modules for gaming in the game: - Top players- Ranking and coins game- Detailed game statistics- Search for game- Dynamics of game mechanics in the most game session in the mafia- Social features: The invitation of friends - View…

JavaScriptNode.js ∙ 14 proposals

Analyze and deploy a project on the server

51 USD

A ready project. It needs to be analyzed and installed on our server. Complete setting and consultation with its management If you have a large scale, it is possible to order additional services with the integration of new payment systems Project on Next.js 14

Node.jsDatabases ∙ 6 proposals

Client
Profile deleted


Project published
4 years ago
84 views
Labels