Skip to content

Instantly share code, notes, and snippets.

View dm8tbr's full-sized avatar

Thomas B. Ruecker dm8tbr

View GitHub Profile
140736894686976: [ProtocolHttp] Read single file, first from cache resources//themes/friendup/gfx/win_scrollbutton_passive.png
(network/locfile.c:134) 140736894686976 Read local file resources//themes/friendup/gfx/win_scrollbutton_passive.png
(network/locfile.c:145) 140736894686976 PATH: resources//themes/friendup/gfx/win_scrollbutton_passive.png
(system/cache/cache_manager.c:161) 140736894686976 cache size 3844609 file size 256 cache max 1000000000
(system/cache/cache_manager.c:179) 140736894686976 ID 66
140736894686976: [ProtocolHttp] Return file content
140736894686976: [ProtocolHttp] File returned to caller
140736894686976: [ProtocolHttp] File delivered
(network/socket.c:2455) 140736894686976 [SocketClose] before lock
(network/socket.c:2458) 140736894686976 [SocketClose] locked
(network/locfile.c:201) 140736945030912 PATH: /webclient/js/utils/engine.js;/webclient/js/io/cajax.js;/webclient/js/utils/tool.js;/webclient/js/utils/json.js;/webclient/js/gui/treeview.js;/webclient/js/io/appConnection.js;/webclient/js/io/coreSocket.js
(network/protocol_http.c:1117) 140736945030912 [ProtocolHttp] File created /webclient/js/utils/engine.js;/webclient/js/io/cajax.js;/webclient/js/utils/tool.js;/webclient/js/utils/json.js;/webclient/js/gui/treeview.js;/webclient/js/io/appConnection.js;/webclient/js/io/coreSocket.js size 118366
(system/cache/cache_manager.c:161) 140736945030912 cache size 814023 file size 118366 cache max 1000000000
(system/cache/cache_manager.c:179) 140736945030912 ID 233
140736928249600: [ProtocolHttp] HTTP Callback called
140736928249600: INCOMING Request length: 527 data: GET /themes/login/scrollbars.css HTTP/1.1
Host: friend.hios.fi:6502
Connection: keep-alive
User-Agent: Mozilla/5.0 (Linux; Android 8.0.0; Pixel Build/OPR3.170623.007; wv) AppleWebKit/537.36
Referer: https://friend.hios.fi:6502/webclient/app.html?app=FriendChat&data=%7B%22type%22%3A%22live-invite%22%2C%22data%22%3A%7B%22type%22%3A%22live%22%2C%22token%22%3A%22pub-0412adc1-daa3-43e9-aa95-46cf9327fe76%22%2C%22host%22%3A%22friend.hios.fi%3A27970%22%2C%22roomId%
22%3A%22room-66fe5696-db77-4e19-a132-9ca590adb83c%22%2C%22vers%22%3A2%7D%7D&theme=borderless
Accept-Encoding: gzip, deflate, br
Accept-Language: en-GB,en;q=0.8,en-US;q=0.6,de;q=0.4
Cookie: deviceId=touch_other_Generic_9e53b81282996fd939bdb55f46cb51a2
(network/http.c:1086) 140012785506048 NO MORE DATA
140012785506048: [ProtocolHttp] Request parsed without errors
(network/protocol_http.c:377) 140012785506048 [ProtocolHttp] Want to parse path: /webclient/locale/en.locale (27)
@dm8tbr
dm8tbr / gist:c7d4b274e47612b2e3a5753f8b1f3179
Created September 7, 2017 12:16
today's friend build problem on AArch64
SC[34mCleaningESC[0m
make[2]: Leaving directory '/home/tbr/friendup/authmods/php'
make[1]: Leaving directory '/home/tbr/friendup/authmods'
rm -fr /home/tbr/friendup/build/libs/*
rm -fr /home/tbr/friendup/build/fsys/*
rm -fr /home/tbr/friendup/build/emod/*
rm -fr /home/tbr/friendup/build/authmods/*
mkdir -p /home/tbr/friendup/build/autostart /home/tbr/friendup/build/resources /home/tbr/friendup/build/resources/webclient /home/tbr/friendup/build/resources/repository /home/tbr/friendup/build/sqlupdatescripts
make -C libs-ext setup CYGWIN_BUILD=0 FRIEND_PATH=/home/tbr/friendup/build
make[1]: Entering directory '/home/tbr/friendup/libs-ext'
@dm8tbr
dm8tbr / gist:bc86fb98c439c9b66014537b75e43f87
Created September 6, 2017 14:11
Friend compile error on AArgh64
gcc -DAPPDATE=\"20170906_215148\" -DAPPVERSION=\""v1.0.0"\" -DAPPGITVERSION=\"d3f185c-dirty\" -D_XOPEN_SOURCE=600 --std=c99 -Wall -W -D_FILE_OFFSET_BITS=64 -g -ggdb -Ofast -funroll-loops -fPIC -I. -Wno-unused -Wno-unused-parameter -I../libs/ -I../libs-ext/libwebsockets/lib/ -I../libs-ext/libwebsockets/ -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/include/libxml2/ -D__USE_POSIX -DENABLE_SSH -DENABLE_SSL -DENABLE_WEBSOCKETS_THREADS -c -o obj/machine_info.o hardware/machine_info.c
hardware/machine_info.c: In function ‘GetCpuHash’:
hardware/machine_info.c:256:5: error: impossible constraint in ‘asm’
__asm __volatile
^
Makefile:85: recipe for target 'obj/machine_info.o' failed
make[1]: *** [obj/machine_info.o] Error 1
make[1]: Leaving directory '/home/ubuntu/friendup/core'
Makefile:82: recipe for target 'release' failed
make: *** [release] Error 2
@dm8tbr
dm8tbr / gist:945097579173125e373ce0a81b2fad65
Created August 23, 2017 08:53
today's friend core crash - 2017-08-23
140164112070400: WS Call, reason: 6, length: 58, message: {"type":"con","data":{"type":"ping","data":1503411792684}}
(system/systembase.c:1847) 140163926509312 [LibraryMYSQLGet] We found mysql library on slot 20.
(system/systembase.c:1920) 140163926509312 [SystemBase] MYSQL slot 20 was closed properly.
(system/systembase.c:1847) 140163926509312 [LibraryMYSQLGet] We found mysql library on slot 21.
(system/systembase.c:1920) 140163926509312 [SystemBase] MYSQL slot 21 was closed properly.
(communication/comm_service.c:568) 140164103677696 -=================RECEIVED========================-
(communication/comm_service.c:568) 140164103677696 -=================RECEIVED========================-
(communication/comm_service_remote.c:851) 140164095284992 -=================RECEIVED========================-
(communication/comm_service_remote.c:851) 140164095284992 -=================RECEIVED========================-
tbr@friend:~/friendup/build/services/FriendChat$ npm rebuild
> gc-profiler@1.4.0 install /home/tbr/friendup/build/services/FriendChat/node_modules/gc-profiler
> node-gyp rebuild
make: Entering directory '/home/tbr/friendup/build/services/FriendChat/node_modules/gc-profiler/build'
CXX(target) Release/obj.target/GcProfiler/src/GcProfiler.o
SOLINK_MODULE(target) Release/obj.target/GcProfiler.node
COPY Release/GcProfiler.node
make: Leaving directory '/home/tbr/friendup/build/services/FriendChat/node_modules/gc-profiler/build'
@dm8tbr
dm8tbr / gist:1a287b271851a593dec63ea1732f985a
Created August 21, 2017 06:53
FriendChat fails to start due to missing bcrypt?
139945539540864: (core/friend_core.c 1451) =========================================
139945539540864: (core/friend_core.c 1452) ==========Starting FriendCore.===========
139945539540864: (core/friend_core.c 1453) =========================================
(network/socket.c:100) 139945539540864 SSL Connection enabled
module.js:491
throw err;
^
Error: Cannot find module 'bcrypt'
at Function.Module._resolveFilename (module.js:489:15)
140346775394048: WS Call, reason: 6, length: 58, message: {"type":"con","data":{"type":"ping","data":1503247106182}}
(network/socket.c:1167) 140347736733440 [SocketAcceptPair] SSL_ERROR_SSL: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request.
(network/socket.c:1167) 140347703170816 [SocketAcceptPair] SSL_ERROR_SSL: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol.
(network/socket.c:1167) 140347669608192 [SocketAcceptPair] SSL_ERROR_SSL: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol.
(network/socket.c:1167) 140347636045568 [SocketAcceptPair] SSL_ERROR_SSL: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol.
(network/socket.c:1167) 140347602482944 [SocketAcceptPair] SSL_ERROR_SSL: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol.
(network/socket.c:1167) 140347568920320 [SocketAcceptPair] SSL_ERROR_SSL: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol.
140346775394048: WS Call, reason: 6, leng
tbr@friend:~/friendup$ export
declare -x HOME="/home/tbr"
declare -x LANG="en_US.UTF-8"
declare -x LANGUAGE="en_US:en"
declare -x LC_MEASUREMENT="fi_FI.UTF-8"
declare -x LC_MONETARY="fi_FI.UTF-8"
declare -x LC_TIME="C"
declare -x LESSCLOSE="/usr/bin/lesspipe %s %s"
declare -x LESSOPEN="| /usr/bin/lesspipe %s"
declare -x LOGNAME="tbr"