jot server config for messenger
hey! i need a little help getting jot server to work.. i have a VPS.. Ive installed node, seems ok.. and jot server. but the messenger page is blank,.,.
https://penamacor.network/page/messenger
THere may be an issue with the sever certificate locations, its a littlle confusing,.. can you please help as ive tried everything now and i cant get it working. Im already nearly at the end of the first month and havent got the basics going.. thanks!
-
-
·
LeonidS
- ·
Hello Penamacor !
It seems you've installed the JOT server according to this manual https://github.com/unaio/jot-server . So what trouble do you have with this part?
/* If you have https server (recommended) you need to fill 3 fields below */
root: '/folder/with/https/cert/files',
cert: 'myfilename.cert',
key: 'myfilename.cert',
-
·
LeonidS
-
- · Penamacor
- ·
thanks Leonid,
im not sure about the certificates since i have various ones!
Here is my config file:
i have opened the TCPv4 port on the server firewall.. for 5000
{
"port"5000,
"mode":"development",
"log":"log.log",
"domains":["*"],
"transformer":"sockjs",
"root":"/home/webgurul/ssl/certs/",
"cert":"penamacor_network_webguru_live_d9ad0_66be1_1615247999_91db5af7f95f143a155561df884a0fdc.crt",
"key":"penamacor_network_webguru_live_d9ad0_66be1_1615247999_91db5af7f95f143a155561df884a0fdc.crt",
"OFFLINE":0,
"ONLINE":1,
"AWAY":2
}
The certificates directory looks like this. Note that i cant see any cert files, only .crt and some pem in another folder.Relevant certificates only copied below:
penamacor_network_webguru_live_92925_f13cf_1615247999_26a004d81c28f7315b7e49b9cb313934.crt
penamacor_network_webguru_live_c035a_2db31_1638961496_a8483a74aad46fe88221b1dd5bc54c8e.crt
penamacor_network_webguru_live_d9ad0_66be1_1615247999_91db5af7f95f143a155561df884a0fdc.crt
penamacor_network_webguru_live_d9ad0_66be1_1615247999_91db5af7f95f143a155561df884a0fdc.crt.cache
When i visit the page its blank:
https://penamacor.network/page/messengerwhen i run forever.js i get this:
[xxXxx@vps jot-server-master]# forever start app.js
warn: --minUptime not set. Defaulting to: 1000ms
warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
info: Forever processing file: app.js
(node:6816) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:6816) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
[root@vps jot-server-master]#
[XXXXX@vps jot-server-master]# node --versionv14.15.3
[root@vps jot-server-master]#
im not sure if there are any dependancies missing on node.js..
Let me know if you need any other info..
thanks!
-
Hello,
It looks like you forgot to perform Jot Server installation. After archive uploading to the server you should perform command:
npm install
in the root of the Jot Server folder (where package.json file is located) and then try to run the server again.
-
- · Penamacor
- ·
hey alexy.
i did perform this install, but didnt copy everything..
i re did that and restarted the server with this message in response
[root@vps jot-server-master]# forever start app.js
warn: --minUptime not set. Defaulting to: 1000ms
warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
info: Forever processing file: app.js
the page is still blank...
-
Provide me please with studio access info via PM, I will check.
-
- · Penamacor
- ·
im so close now but..
the page just says connecting,, for a long time until it fails to connect..
anyone any ideas? firewall seems OK with ports open
thanks!
-
- · Penamacor
- ·
my server host has also tried.. they cannot resolve it
someone please help.. the only thing im not sure about is the certificate locations.. see above
RESPONSE FROM SERVER HOST
I attempted to check the server unsuccessfully for any logs that may indicate a connection issue. This seems to be a configuration issue. I also attempted to check for any error logs within the application itself, but this was also unsuccessful. Unfortunately, this is not within our scope of support as we are unable to assist with the configuration. If you have a general request to open a port, we can complete the request. In this case, the application is running, but some functionality does not seem to work. -
- · Penamacor
- ·
the messaging IS working now. but it takes ages to connect..
also u dont see the message unless u refresh the page.. is that normal?
-
-
·
Alexey
- ·
Problem has been solved.
-
·
Alexey
-
- · Penamacor
-
·
In reply to Alexey
- ·
Nice work! ;)
-
- · PRiZM
- ·
Having this exact problem can you post what fixed it for you and the process..?
-
-
·
Alexey
-
·
In reply to PRiZM
- ·
Problem has been solved
-
·
Alexey
-
- · Xpress
- ·
Is there any information on how this problem was solved as I am seeing the same problem
-
-
·
Alexey
-
·
In reply to Xpress
- ·
Hello!
Can you please describe which exactly problem do you have? You can not install certificate?
-
·
Alexey
-
-
-
·
LeonidS
-
·
In reply to UltraTM
- ·
Hello @UltraTM !
The usual reason of the not connecting messenger is in the closed ports of your launched JOT server. If you can't connect there using for example the telnet [Your JOT IP:port] command then it the problem os certainly there.
-
·
LeonidS
-
-
·
Alexey
-
·
In reply to UltraTM
- ·
Hello!
Please check console of the browser. There are may be the errors which help to understand the cause of the problem.
How to open console:
Chrome - CRTL + SHIFT + J
FireFox - CTRL + SHIFT + K
-
·
Alexey
-
- · UltraTM
-
·
In reply to Alexey
- ·
Hi,
this is what it says. For me nothing usefull
-
-
·
Alexey
-
·
In reply to UltraTM
- ·
Hello!
Can you please provide me with user access to your site vi PM? I will check.
-
·
Alexey