Skip to content

Latest commit

 

History

History
101 lines (54 loc) · 4.05 KB

EXPERIENCE.md

File metadata and controls

101 lines (54 loc) · 4.05 KB

My experience

Here I share about installing, and hardware resource used by mozilla hubs.

1. Alibaba Cloud Elastic Compute Service

Im from indonesia and someone in china ask me to install this hubs on their server (in china mainland). via ssh remote.

The hardware is 8cpu 32g ram 40gb disk

- Download or Server Internet is Slow

You can use the VPN, i use nord VPN and select hongkong location (nearest). in this vpn not provide connection directly on mainland china. So i choose hongkong that near from china. then the server internet by magic is fast.

- OS and Python version

Using ubuntu 18 (python 3.6) i got many problem. then i ask him to install ubuntu 20.

Ubuntu 20 comes with python 3.8 which is supporting the mediasoup v3 in dialog

requirement for mediasoup

- Github empty response

When i install spoke with yarn install it says can't connect blabla...

then i run ping github.com and got 100% lost packet.

then i restart the server sudo reboot and still not work.

then i do gnutls_handshake() failed GIT repository – AWS codecommit and How to resolve "git pull,fatal: unable to access 'https://github.com...': Empty reply from server" and still not work

then i just git clone the repo like three.js and gltf-webpack-loader then i make it local library (on vps) with yarn link

and on package.json in spoke dir i remove that three.js and gltf-webpack-loader

so i do

yarn install
yarn link three
yarn link gltf-webpack-loader

- Can't install erlang with asdf

I succeed install elixir with asdf but not erlang

Then i install erlang 23.3 with .deb file. visit this to download

- mix deps.get can't get dependecies from github

What i do is delete .git folder on hubs-actions-runner/reticulum/_work/reticulum/reticulum then run mix deps.get again

- Unlogic solve that i can't explain hahaha

Sometimes the server is unlogic.

Problem A + solution A -> fail

Problem A + solution B -> fail

Couple hour later or doing restart / or change my VPN location

Problem A + solution A -> suceess

But all error above maybe can be solve by chatting with customer service

Here the answer:

Hello, check that your server is a machine in Shenzhen, the github you are visiting is an overseas site, and the mainland server accesses overseas sites through international links and operator routing nodes, which will be subject to international link congestion, and operators Outbound routing restrictions are prone to network link congestion, unstable access, and excessive access delay.

Check that your server is using the EIP, try changing the EIP and try again.



I hope this can help you to installing mozilla hubs. You have other experience, please send me pull request. you can help more people.



Paypal

Buy Me a Coffee at ko-fi.com

Also read:

Hosting Mozilla Hubs on VPS

The Problem I Still Faced

The Problem I Faced and I Already Solved

Tips for Modification

Overview System With Figma

Experience Sharing About Hosting on Other Server