videogular won't play mp3 only ogg

Hy there, i have a problem with videogular, won't play mp3 only ogg in android 6.0 using ionicframework.
In android 4.x play mp3 files.
No errors, nothing in console. After pause and hit play again this show's on console "Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause()." and apears 00:00 - null into "timeLeft".
Thanks for helping and sorry for my bad english
canPlay = API.mediaElement[0].canPlayType(sources[i].type);  if (canPlay == "maybe" || canPlay == "probably") {     API.mediaElement.attr("src", sources[i].src);     API.mediaElement.attr("type", sources[i].type);     //Trigger vgChangeSource($source) API callback in vgController     API.changeSource(sources[i]);     break;  }
After debuging, canPlay is empty

Commented the line if (canPlay == "maybe" || canPlay == "probably") the player work's fine

It's simply using the native can play test for the type you've input. Not sure what you used, but it's quite easy to experiment with a video element to see what it supports. Then adjust your input accordingly.


RemoveSpheres migration fails on heroku

I think this is more related to heroku and how locked down the databases are, but I'll report this to you guys so anyone else with this problem can see what's going on.
Running rake db:migrate on heroku fails at the removeSpheres migration, specifically drop_table :spheres. This does not error out locally. I'm thinking it's a permissions thing, heroku is not letting the migration drop a table, even if that table doesn't exist.
I did manage to get it to load up correctly on heroku, by deleting the "removeSpheres" migration. I'm not sure if this is a relic from older code?, that is no longer used?.
Hope that helps somebody at least.

Yes, that is a relic from older code. Old migrations should be cleaned up


[proxy] add --rewrite-inspect flag

To return the weave ip/mac for docker inspect calls.
Blocked on a pr to go-dockerclient being merged: https://github.com/fsouza/go-dockerclient/pull/336
@errordeveloper, Could you see if this works for you?
Possibly, fixes #1199?

Note, need to check this works with inspecting images..

Closed while being tried out. Needs testing for the USR2 change, if it works.

Yeah, looks like it does, just testing from scratch now. Will update.

Ok, so just for the record, this appears to work, however I am seeing a strange issue which looks like only some /w/w processes get SIGUSR2. I am not quite sure, but due to the signal having to go via Docker and my overcomited VMs might struggle and hit some edge case where Docker does't end-up sending those signals. To confirm, I will have to trace whether Docker calls signal() or what not, as well as read the code. According to the logs, it's supposed to, but I am not entirely convinced with that being a guarantee. I've checked with David, and he say that signals cannot just get dropped, although they may get blocked.


Code completion not working correctly on VSCode

I just installed clangd for vscode on Ubuntu 22.04. As soon as the installation completed I able to use code completion to create my new classes. I would go into an empty header file, for example "DisplayBuffers.h", then I would start typing "class", press tab, and I would get code completion as follows:
class DisplayBuffers
{
private:
    /* data */
public:
    DisplayBuffers(/* args */);
    ~DisplayBuffers();
};

DisplayBuffers::DisplayBuffers(/* args */)
{
}

DisplayBuffers::~DisplayBuffers()
{
}

This is really nice, and what I wanted.
However, I also had the Microsoft C++ extension installed, and I was told I should either disable Intellisense from these extensions, or remove them entirely so there is no conflict with clangd.
I accepted two suggestions within VSCode, first to disable Intellisense from the Microsoft C++ Extension, second I installed the clangd language server. After accepting these suggestions, the code completion I described above no longer functions.
Instead, when I start typing "class", and press tab, only the keyword "class" is auto completed without any of the handy boilerplate code.
Logs
This is the output log when I open VSCode open the file "InstrSettings.h", start typing "class", and press tab to accept the auto complete suggestion.
I[11:59:35.213] clangd version 16.0.2 (https://github.com/llvm/llvm-project 18ddebe1a1a9bde349441631365f0472e9693520)
I[11:59:35.213] Features: linux+grpc
I[11:59:35.213] PID: 43773
I[11:59:35.213] Working directory: /home/dev/rndeqt/Workspace/EasyLogMC
I[11:59:35.213] argv[0]: /home/dev/.config/Code/User/globalStorage/llvm-vs-code-extensions.vscode-clangd/install/16.0.2/clangd_16.0.2/bin/clangd
I[11:59:35.213] Starting LSP over stdin/stdout
I[11:59:35.214] <-- initialize(0)
I[11:59:35.215] --> reply:initialize(0) 0 ms
I[11:59:35.223] <-- initialized
I[11:59:35.226] <-- textDocument/didOpen
I[11:59:35.227] Loaded compilation database from /home/dev/rndeqt/Workspace/EasyLogMC/build/compile_commands.json
I[11:59:35.227] ASTWorker building file /home/dev/rndeqt/Workspace/EasyLogMC/src/Core/Settings/InstrSettings.h version 1 with command inferred from /home/dev/rndeqt/Workspace/EasyLogMC/src/Core/Settings/InstrSettings.cpp
[/home/dev/rndeqt/Workspace/EasyLogMC/build]
/usr/bin/c++ --driver-mode=g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -I/home/dev/rndeqt/Workspace/EasyLogMC/build -I/home/dev/rndeqt/Workspace/EasyLogMC -I/home/dev/rndeqt/Workspace/EasyLogMC/build/rndeqt_lib_autogen/include -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGLWidgets -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -fPIC -c -x c++-header -std=gnu++17 -resource-dir=/home/dev/.config/Code/User/globalStorage/llvm-vs-code-extensions.vscode-clangd/install/16.0.2/clangd_16.0.2/lib/clang/16 -- /home/dev/rndeqt/Workspace/EasyLogMC/src/Core/Settings/InstrSettings.h
I[11:59:35.227] Loaded compilation database from /home/dev/rndeqt/Workspace/EasyLogMC/build/compile_commands.json
I[11:59:35.228] --> window/workDoneProgress/create(0)
I[11:59:35.228] Enqueueing 17 commands for indexing
I[11:59:35.228] --> textDocument/clangd.fileStatus
I[11:59:35.228] <-- reply(0)
I[11:59:35.228] --> $/progress
I[11:59:35.228] --> $/progress
I[11:59:35.234] Built preamble of size 218368 for file /home/dev/rndeqt/Workspace/EasyLogMC/src/Core/Settings/InstrSettings.h version 1 in 0.01 seconds
I[11:59:35.234] --> workspace/semanticTokens/refresh(1)
I[11:59:35.235] <-- reply(1)
I[11:59:35.238] --> textDocument/publishDiagnostics
I[11:59:35.238] --> textDocument/clangd.fileStatus
I[11:59:35.240] <-- textDocument/documentLink(1)
I[11:59:35.240] --> reply:textDocument/documentLink(1) 0 ms
I[11:59:35.240] --> textDocument/clangd.fileStatus
I[11:59:35.243] <-- textDocument/inlayHint(2)
I[11:59:35.243] --> reply:textDocument/inlayHint(2) 0 ms
I[11:59:35.243] --> textDocument/clangd.fileStatus
I[11:59:35.290] <-- textDocument/semanticTokens/full(3)
I[11:59:35.290] --> reply:textDocument/semanticTokens/full(3) 0 ms
I[11:59:35.290] --> textDocument/clangd.fileStatus
I[11:59:35.328] <-- textDocument/documentLink(4)
I[11:59:35.328] --> reply:textDocument/documentLink(4) 0 ms
I[11:59:35.328] --> textDocument/clangd.fileStatus
I[11:59:35.339] --> $/progress
I[11:59:35.339] --> $/progress
I[11:59:35.504] <-- $/setTrace
I[11:59:35.504] unhandled notification $/setTrace
I[11:59:35.523] <-- $/setTrace
I[11:59:35.523] unhandled notification $/setTrace
I[11:59:35.546] <-- textDocument/foldingRange(5)
I[11:59:35.546] --> reply:textDocument/foldingRange(5) 0 ms
I[11:59:35.592] <-- $/setTrace
I[11:59:35.592] unhandled notification $/setTrace
I[11:59:35.603] <-- $/setTrace
I[11:59:35.603] unhandled notification $/setTrace
I[11:59:35.762] <-- $/setTrace
I[11:59:35.762] unhandled notification $/setTrace
I[11:59:37.421] <-- textDocument/documentSymbol(6)
I[11:59:37.422] --> reply:textDocument/documentSymbol(6) 0 ms
I[11:59:37.422] --> textDocument/clangd.fileStatus
I[11:59:42.670] <-- textDocument/didChange
I[11:59:42.670] --> textDocument/clangd.fileStatus
I[11:59:42.683] <-- textDocument/completion(7)
I[11:59:42.690] Code complete: sema context TopLevel, query scopes [] (AnyScope=true), expected type <none>
I[11:59:42.690] Code complete: 6 results from Sema, 97 from Index, 0 matched, 0 from identifiers, 100 returned (incomplete).
I[11:59:42.693] --> reply:textDocument/completion(7) 10 ms
I[11:59:42.720] ASTWorker building file /home/dev/rndeqt/Workspace/EasyLogMC/src/Core/Settings/InstrSettings.h version 2 with command inferred from /home/dev/rndeqt/Workspace/EasyLogMC/src/Core/Settings/InstrSettings.cpp
[/home/dev/rndeqt/Workspace/EasyLogMC/build]
/usr/bin/c++ --driver-mode=g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -I/home/dev/rndeqt/Workspace/EasyLogMC/build -I/home/dev/rndeqt/Workspace/EasyLogMC -I/home/dev/rndeqt/Workspace/EasyLogMC/build/rndeqt_lib_autogen/include -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGLWidgets -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -fPIC -c -x c++-header -std=gnu++17 -resource-dir=/home/dev/.config/Code/User/globalStorage/llvm-vs-code-extensions.vscode-clangd/install/16.0.2/clangd_16.0.2/lib/clang/16 -- /home/dev/rndeqt/Workspace/EasyLogMC/src/Core/Settings/InstrSettings.h
I[11:59:42.721] --> textDocument/clangd.fileStatus
I[11:59:42.721] --> textDocument/clangd.fileStatus
I[11:59:42.726] Built preamble of size 218368 for file /home/dev/rndeqt/Workspace/EasyLogMC/src/Core/Settings/InstrSettings.h version 2 in 0.00 seconds
I[11:59:42.726] --> workspace/semanticTokens/refresh(2)
I[11:59:42.726] --> textDocument/clangd.fileStatus
I[11:59:42.727] <-- reply(2)
I[11:59:42.729] --> textDocument/publishDiagnostics
I[11:59:42.729] --> textDocument/clangd.fileStatus
I[11:59:42.741] <-- textDocument/semanticTokens/full/delta(8)
I[11:59:42.741] --> reply:textDocument/semanticTokens/full/delta(8) 0 ms
I[11:59:42.741] --> textDocument/clangd.fileStatus
I[11:59:42.924] <-- textDocument/didChange
I[11:59:42.924] --> textDocument/clangd.fileStatus
I[11:59:42.926] <-- textDocument/completion(9)
I[11:59:42.933] Code complete: sema context TopLevel, query scopes [] (AnyScope=true), expected type <none>
I[11:59:42.933] Code complete: 1 results from Sema, 53 from Index, 0 matched, 0 from identifiers, 54 returned (incomplete).
I[11:59:42.934] --> reply:textDocument/completion(9) 7 ms
I[11:59:42.974] ASTWorker building file /home/dev/rndeqt/Workspace/EasyLogMC/src/Core/Settings/InstrSettings.h version 3 with command inferred from /home/dev/rndeqt/Workspace/EasyLogMC/src/Core/Settings/InstrSettings.cpp
[/home/dev/rndeqt/Workspace/EasyLogMC/build]
/usr/bin/c++ --driver-mode=g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -I/home/dev/rndeqt/Workspace/EasyLogMC/build -I/home/dev/rndeqt/Workspace/EasyLogMC -I/home/dev/rndeqt/Workspace/EasyLogMC/build/rndeqt_lib_autogen/include -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGLWidgets -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -fPIC -c -x c++-header -std=gnu++17 -resource-dir=/home/dev/.config/Code/User/globalStorage/llvm-vs-code-extensions.vscode-clangd/install/16.0.2/clangd_16.0.2/lib/clang/16 -- /home/dev/rndeqt/Workspace/EasyLogMC/src/Core/Settings/InstrSettings.h
I[11:59:42.975] --> textDocument/clangd.fileStatus
I[11:59:42.975] --> textDocument/clangd.fileStatus
I[11:59:42.975] --> textDocument/clangd.fileStatus
I[11:59:42.980] --> textDocument/publishDiagnostics
I[11:59:42.980] --> textDocument/clangd.fileStatus
I[11:59:43.226] <-- textDocument/foldingRange(10)
I[11:59:43.226] --> reply:textDocument/foldingRange(10) 0 ms
I[11:59:43.243] <-- textDocument/codeAction(11)
I[11:59:43.243] --> reply:textDocument/codeAction(11) 0 ms
I[11:59:43.243] --> textDocument/clangd.fileStatus
I[11:59:43.374] <-- textDocument/semanticTokens/full/delta(12)
I[11:59:43.374] --> reply:textDocument/semanticTokens/full/delta(12) 0 ms
I[11:59:43.374] --> textDocument/clangd.fileStatus
I[11:59:43.452] <-- textDocument/documentSymbol(13)
I[11:59:43.452] --> reply:textDocument/documentSymbol(13) 0 ms
I[11:59:43.452] --> textDocument/clangd.fileStatus
I[11:59:44.176] <-- textDocument/inlayHint(14)
I[11:59:44.176] --> reply:textDocument/inlayHint(14) 0 ms
I[11:59:44.176] --> textDocument/clangd.fileStatus
I[11:59:44.426] <-- textDocument/documentLink(15)
I[11:59:44.426] --> reply:textDocument/documentLink(15) 0 ms
I[11:59:44.426] --> textDocument/clangd.fileStatus
I[11:59:44.491] <-- textDocument/didChange
I[11:59:44.491] --> textDocument/clangd.fileStatus
I[11:59:44.541] ASTWorker building file /home/dev/rndeqt/Workspace/EasyLogMC/src/Core/Settings/InstrSettings.h version 4 with command inferred from /home/dev/rndeqt/Workspace/EasyLogMC/src/Core/Settings/InstrSettings.cpp
[/home/dev/rndeqt/Workspace/EasyLogMC/build]
/usr/bin/c++ --driver-mode=g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -I/home/dev/rndeqt/Workspace/EasyLogMC/build -I/home/dev/rndeqt/Workspace/EasyLogMC -I/home/dev/rndeqt/Workspace/EasyLogMC/build/rndeqt_lib_autogen/include -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGLWidgets -isystem /usr/include/x86_64-linux-gnu/qt6/QtOpenGL -fPIC -c -x c++-header -std=gnu++17 -resource-dir=/home/dev/.config/Code/User/globalStorage/llvm-vs-code-extensions.vscode-clangd/install/16.0.2/clangd_16.0.2/lib/clang/16 -- /home/dev/rndeqt/Workspace/EasyLogMC/src/Core/Settings/InstrSettings.h
I[11:59:44.543] --> textDocument/clangd.fileStatus
I[11:59:44.543] --> textDocument/clangd.fileStatus
I[11:59:44.543] --> textDocument/clangd.fileStatus
I[11:59:44.550] --> textDocument/publishDiagnostics
I[11:59:44.550] --> textDocument/clangd.fileStatus
I[11:59:44.792] <-- textDocument/foldingRange(16)
I[11:59:44.792] --> reply:textDocument/foldingRange(16) 0 ms
I[11:59:44.807] <-- textDocument/codeAction(17)
I[11:59:44.807] --> reply:textDocument/codeAction(17) 0 ms
I[11:59:44.807] --> textDocument/clangd.fileStatus
I[11:59:44.941] <-- textDocument/semanticTokens/full/delta(18)
I[11:59:44.941] --> reply:textDocument/semanticTokens/full/delta(18) 0 ms
I[11:59:44.941] --> textDocument/clangd.fileStatus
I[11:59:45.017] <-- textDocument/documentSymbol(19)
I[11:59:45.017] --> reply:textDocument/documentSymbol(19) 0 ms
I[11:59:45.017] --> textDocument/clangd.fileStatus
I[11:59:45.742] <-- textDocument/inlayHint(20)
I[11:59:45.742] --> reply:textDocument/inlayHint(20) 0 ms
I[11:59:45.742] --> textDocument/clangd.fileStatus
I[11:59:45.992] <-- textDocument/documentLink(21)
I[11:59:45.992] --> reply:textDocument/documentLink(21) 0 ms
I[11:59:45.992] --> textDocument/clangd.fileStatus

System information
Output of clangd --version:
clangd 16.0.2 installed by VSCode in /home//.config/Code/
Not added to my system path
Editor/LSP plugin:
VSCode
Operating system:
Ubuntu 22.04

It sounds like what you were getting before is some sort of code snippet completion, and clangd does not implement this particular one (a class outline like that for the class keyword). I agree it would be useful to add.

Hmm that must something that the Microsoft C++ Extensions were providing. Thanks!


Llama.cpp usage does not work with the latest v2-1.7B model

Same error in this issue: https://github.com/Meituan-AutoML/MobileVLM/issues/14
Followed exact steps from https://github.com/ggerganov/llama.cpp/blob/master/examples/llava/MobileVLM-README.md
The exact steps work for MobileVLM_1.7B, but not for v2

Tested with MobileVLM_1.4B-Chat, the above conversion process fails with the same error.

The latest version of llama.cpp will be released soon. I will inform you once it is ready. 😸

The latest version of customized llama.cpp: https://github.com/XiaotaoChen/llama.cpp/tree/MobileVLM-PEG.
While converting the projector, set the --projector-type to peg for MobileVLM v2. Any problem while using please inform us.


[BUG]: "drizzle-orm/pg-core" has no exported member 'sql'

What version of drizzle-orm are you using?
0.23.6
Describe the Bug
After installing all dependencies, and copy pasting the exaple in the Readme, this error is shown:
module '"drizzle-orm/pg-core"' has no exported member 'sql'

That's because drizzle-orm/pg-core doesn't export sql. It should be imported from drizzle-orm.

Cool thanks. Readme should maybe be updated then :D?


docs: update nodejs to >= 16.15.0

Signed-off-by: ibotdotout<EMAIL_ADDRESS>Updated document for ui development to use node >= 16.15.0,
There is an issue: --no-experimental-fetch is not allowed in NODE_OPTIONS  when run yarn --cwd ui start with node < 16.15.0 and the yarn --cwd ui start is using on makefile (make start UI=true).
FYI: There is no issue when run cd ui && yarn start it worked well with node >= v16.0.0.
Tested:

if node is < v16.15.0, node will get --no-experimental-fetch is not allowed in NODE_OPTIONS.

if it node >= v16.16.0 node will ignore this config

References:

node18: docs
node17: docs (optional is not available)
node16: docs (optional is not available)

Thanks, @tczhao for the context.
I checked it worked well as you said.
I think something weird on my setup at beginning that why I can't use node16.

I updated my context, please reconsider.
Let me know if you have another suggestion.

I updated my context, please reconsider.
Let me know if you have another suggestion.


Paper selection for catalog UI

Papers selected after search operations can be added to catalog.

[ ] Papers will be added to catalog by selecting them via selection icon.
[ ] Catalog view will show the papers selected.

Deadline: 05.12.2022 12.00
Reviewer: @yusuferdemnacar

This issue is deprecated and will be replaced by new UI issues.


SP.RequestContext.current/web/sitecollectionappcatalog 404 not found error when running spo app add

Description
I get a 404 error when I run:
m365 spo app add -p sharepoint/solution/spfx-nho-webpart.sppkg --appCatalogScope sitecollection --appCatalogUrl https://parsons365tst.sharepoint.com/sites/msodev --overwrite --debug
I have verified that site collection exists, along with permissions for my account. Debug error:
"url": "https://parsons365tst.sharepoint.com/sites/msodev/_api/web/sitecollectionappcatalog/Add(overwrite=true, url='spfx-nho-webpart.sppkg')",   "status": 404,   "statusText": "Not Found",    ...   "error": "{\"odata.error\":{\"code\":\"-1, Microsoft.SharePoint.Client.ResourceNotFoundException\",\"message\":{\"lang\":\"en-US\",\"value\":\"Cannot find resource for the request SP.RequestContext.current/web/sitecollectionappcatalog/.\"}}}"
When I do
m365 spo site get --url https://parsons365tst.sharepoint.com/sites/msodev I get data:
Steps to reproduce
Run:
m365 spo app add -p sharepoint/solution/spfx-nho-webpart.sppkg --appCatalogScope sitecollection --appCatalogUrl https://parsons365tst.sharepoint.com/sites/msodev --overwrite --debug
Expected results
successful package deployment to site collection
Actual results
Result as shown below:

Diagnostics
"url": "https://parsons365tst.sharepoint.com/sites/msodev/_api/web/sitecollectionappcatalog/Add(overwrite=true, url='spfx-nho-webpart.sppkg')",   "status": 404,   "statusText": "Not Found",    ...   "error": "{\"odata.error\":{\"code\":\"-1, Microsoft.SharePoint.Client.ResourceNotFoundException\",\"message\":{\"lang\":\"en-US\",\"value\":\"Cannot find resource for the request SP.RequestContext.current/web/sitecollectionappcatalog/.\"}}}"
CLI for Microsoft 365 version
v6.0.0
nodejs version
v16.18.1
Operating system (environment)
macOS
Shell
zsh
cli doctor
{
"os": {
"platform": "darwin",
"version": "Darwin Kernel Version 21.6.0: Thu Sep 29 20:13:56 PDT 2022; root:xnu-8020.240.7~1/RELEASE_ARM64_T6000",
"release": "21.6.0"
},
"cliVersion": "6.0.0",
"nodeVersion": "v16.18.1",
"cliAadAppId": "31359c7f-bd7e-475c-86db-fdb8c937548e",
"cliAadAppTenant": "common",
"authMode": "DeviceCode",
"cliEnvironment": "",
"cliConfig": {},
"roles": [],
"scopes": [
"AllSites.FullControl",
"AppCatalog.ReadWrite.All",
"ChannelMember.ReadWrite.All",
"ChannelMessage.Send",
"ChannelSettings.ReadWrite.All",
"Directory.AccessAsUser.All",
"Directory.ReadWrite.All",
"Group.ReadWrite.All",
"IdentityProvider.ReadWrite.All",
"Mail.ReadWrite",
"Mail.Send",
"Policy.Read.All",
"Reports.Read.All",
"Tasks.ReadWrite",
"Team.Create",
"TeamMember.ReadWrite.All",
"TeamsApp.ReadWrite.All",
"TeamsAppInstallation.ReadWriteForUser",
"TeamSettings.ReadWrite.All",
"TeamsTab.ReadWrite.All",
"TermStore.ReadWrite.All",
"User.Invite.All",
"User.ReadWrite.All",
"profile",
"openid",
"email",
"AllSites.FullControl",
"AppCatalog.ReadWrite.All",
"ChannelMember.ReadWrite.All",
"ChannelMessage.Send",
"ChannelSettings.ReadWrite.All",
"Directory.AccessAsUser.All",
"Directory.ReadWrite.All",
"Group.ReadWrite.All",
"IdentityProvider.ReadWrite.All",
"Mail.ReadWrite",
"Mail.Send",
"Policy.Read.All",
"Reports.Read.All",
"Tasks.ReadWrite",
"Team.Create",
"TeamMember.ReadWrite.All",
"TeamsApp.ReadWrite.All",
"TeamsAppInstallation.ReadWriteForUser",
"TeamSettings.ReadWrite.All",
"TeamsTab.ReadWrite.All",
"TermStore.ReadWrite.All",
"User.Invite.All",
"User.ReadWrite.All"
]
}
Additional Info
No response

Thank you for reporting this @michaelsoriano . I have tried to reproduce the error but I'm not getting an error when following above steps.
There is a topic in the PnP-PowerShell repo stating that this error is a sporadically issue. @VelinGeorgiev implemented a solution there with a retry function but it looks like it didn't got solved with that? #1640

Hi @michaelsoriano thank you for reporting this issue.
Could you verify some things?

Go to your tenant app catalog site
Browse to the site collection app catalog list (e.g. https://tenant.sharepoint.com/sites/apps/Lists/SiteCollectionAppCatalogs/AllItems.aspx)
Verify that your site is present in the list.

Another thing you could do is running the following command: m365 request --method get --url https://parsons365tst.sharepoint.com/sites/msodev/_api/web/sitecollectionappcatalog and see what the output is there.

Thanks @milanholemans and @nicodecleyre.
I am trying to remove / re-add site collection app catalog as described in #1640 - by running:
m365 spo site appcatalog add --siteUrl https://parsons365tst.sharepoint.com/sites/msodev
And getting this:
Error: Must have Manage Web Site permissions or be a tenant admin in order to add or remove sites from the site collection app catalog allow list
So I'm getting an admin to give me more access.
Also - ran the following
m365 request --method get --url https://parsons365tst.sharepoint.com/sites/msodev/_api/web/sitecollectionappcatalog
and got:
{   "odata.metadata": "https://parsons365tst.sharepoint.com/sites/msodev/_api/$metadata#Edm.Null",   "odata.null": true }
Sorry but I'm not sure how what you mean by "Browse to the site collection app catalog list (e.g. https://tenant.sharepoint.com/sites/apps/Lists/SiteCollectionAppCatalogs/AllItems.aspx)"
The tenant is https://parsons365tst.sharepoint.com/ - I'm getting 404 when I go to the following:

https://parsons365tst.sharepoint.com/sites/apps/Lists/SiteCollectionAppCatalogs/AllItems.aspx
https://parsons365tst.sharepoint.com/sites/msodev/Lists/SiteCollectionAppCatalogs/AllItems.aspx

Sorry but I'm not sure how what you mean by "Browse to the site collection app catalog list (e.g. https://tenant.sharepoint.com/sites/apps/Lists/SiteCollectionAppCatalogs/AllItems.aspx)"

Sorry I meant the tenant app catalog site. Can be found under SP Admin center --> More features --> Apps

It looked like it was permissions after all. I was added to site collection admin on the /sites/appcatalog/ site (which is not the site I was deploying to) - and it now works as expected.
Thank you @milanholemans / @nicodecleyre
Closing this issue.


Updated to latest cats-effect, http4s, etc. and updated sbt infrastru…

…cture. Also updated to include laws testing for the trace TCs.
I have a companion PR for  cedi-build to update the sbt infrastructure to sbt 1.1.6 (and assoc plugins) - this depends on that before it can be merged.

fyi, this is failing because it depends on the changes in the pending PR for cedi-build.


persist-state: simple way to exclude keys from persistance

Which @ngneat/elf-* package(s) are relevant/releated to the feature request?
persist-state
Description
Right now to exclude some keys from being saved, you have to do sth like the following:
persistState(store, {
        storage: myStateStorage,
        source: () => store
            .pipe(
                map(value => {
                    const {entities, ids, ...toSave} = value;
                    return toSave;
                })
            )
    }
);

It would be nice if there was a simpler way to specify keys to exclude.
Proposed solution
A simple exclude config would be nice:
persistState(store, {
    storage: myStateStorage,
    exclude: ['entities', 'ids']
});

Alternatives considered
Some custom RxJS operator similar to pluck but taking multiple keys:
persistState(store, {
        storage: myStateStorage,
        source: () => store
            .pipe(
                excludeKeys(['entities', 'ids'])
            )
    }
);

PS: I could create a PR but might need some suggestions for the simplest way to achieve this.
Do you want to create a pull request?
Yes

On unrelated note: would be nice to have better source config documentation. Right now I had to take a look at the spec file to figure out how to use it.

It was like that in Akita, and I decided to give the consumer complete control.


instance handler map once

Thank you for the PR, @shootercheng .
Those node handlers are non-static nested classes (=inner classes), so we should not reuse them like this.

Thank you for the PR, @shootercheng .
Those node handlers are non-static nested classes (=inner classes), so we should not reuse them like this.

What should we do？Now parsing an XML file requires instantiate NodeHandlerMap the same number of times as the number of configuration methods.Should some handelr classes be created outside of XMLScriptBuilder?

I am OK with optimizing that code, but would like to verify the effect.
What makes you think we should 'fix' this code?
Do you have any data that proves this particular map is causing a memory or performance issue?

Do you have any data that proves this particular map is causing a memory or performance issue?
No, It does not cause memory or performance issue, but it can speed up XML parsing

What makes you think we should 'fix' this code?
Do you have any data that proves this particular map is causing a memory or performance issue?

No, It does not cause memory or performance issue, but it can speed up XML parsing

But you cannot be sure, right?
To avoid premature optimization, I usually ask contributors to measure the effect (i.e. benchmark or profile) when there is no actual problem.
I hope you would understand.

Assuming my reply was satisfactory.


(Resolved) 6x Slower than FluxGYM?

For the same training settings on both trainer:
512x512
Adamw8bit
4 batch size
FluxGym : 1.19s/it
ComfyUI FluxTrainer: 7.31s/it
About 6 times faster on FluxGym, on FluxTrainer my gpu utilisation is going up and down as well with my power draw, the vram usage doen't go above 55% with this training setting, I run this on a 4090
I hope that I'm missing something
Using these arguments : --use-pytorch-cross-attention --fast --highvram --dont-upcast-attention
Eveything up to date, comfyUI + dependencies

Pytorch version? You'll want 2.4.1.
Those are definitely not normal speeds.

Can you show the settings you are using?

Sure,

Split_mode is a memory saving feature that slows it down a lot as it offloads half of the mode tom RAM and back constantly.

I got  3.94s/it after a 10min of training, so it's definitely faster, and my power draw stays around 410w, it dosen't spike as before, nice. I would like to how what settings are set on FluxGym to get around 1.2s/it, i'm still searching how to update it to edit the script before the run, https://x.com/cocktailpeanut/status/1832787205774786710 I didn't find this update button yet

This is my iteration rate on FluxGym atm

This is my iteration rate on FluxGym atm

Are you absolutely certain that's using batch_size 4? Seems too fast for that, what would the speed be with batch_size 1?

No it's a mistake I made on my first post, But I previously compaired both with batch size 1 with the same settings and noticed a huge difference 6s/it on comfy, 1.2s/it on flux, but I didn't tried to compair this again with the split mode to false, and yes both are running at the same speed, this was the culprit. Thank you for the help appreciate

At the end, I thought that I could increase the batch size until I reach the vram limit, I didn't knew that this could have such an impact on the speed of the training. Since I'm moslty working on styles I think I will keep using 3 or 4 batch size, if it's making sense

No it's a mistake I made on my first post, But I previously compaired both with batch size 1 with the same settings and noticed a huge difference 6s/it on comfy, 1.2s/it on flux, but I didn't tried to compair this again with the split mode to false, and yes both are running at the same speed, this was the culprit. Thank you for the help appreciate

Ok, that explains it then. For reference this is what I get with batch_size 1, note it's iterations / second, so it can be even faster, not sure where the difference is from now though:

Yeah, got 1.07s/it after a minute with AdamW, so for 20 images, I completed 1200 steps in about 20min. I still have to understand why increasing the batch size is increasing the training time, this should be the other way around right? Maybe I do need to divide the number of steps by the batch size value, I don't really know, cuz until now I used to set the number of repeats, the batch size and epoch to get the number of steps. Now the batch size
seems to be automatically set insted of steps, I like that.
So do I have to use gradiant type bf16, and save dtype as bf16 also? Or should I save dtype as fp8_e4m3fn in order to use it with a fp8 flux model, are there any incompatibilities we need to be aware of?

The first one was saved in BF16 but was full of noise, the second one succeeded I guess
https://www.youtube.com/watch?v=8yrKXZJQPbE

For the same training settings on both trainer: 512x512 Adamw8bit 4 batch size
FluxGym : 1.19s/it ComfyUI FluxTrainer: 7.31s/it
About 6 times faster on FluxGym, on FluxTrainer my gpu utilisation is going up and down as well with my power draw, the vram usage doen't go above 55% with this training setting, I run this on a 4090
I hope that I'm missing something
Using these arguments : --use-pytorch-cross-attention --fast --highvram --dont-upcast-attention Eveything up to date, comfyUI + dependencies

in my case, only --highvram works. Do these command lines work in your training? my average speed in FluxTrain is quite slower than your speed, 4.5 s/it for batch size 1.

No it's a mistake I made on my first post, But I previously compaired both with batch size 1 with the same settings and noticed a huge difference 6s/it on comfy, 1.2s/it on flux, but I didn't tried to compair this again with the split mode to false, and yes both are running at the same speed, this was the culprit. Thank you for the help appreciate

Ok, that explains it then. For reference this is what I get with batch_size 1, note it's iterations / second, so it can be even faster, not sure where the difference is from now though:

you are so fast ! How can I speed up training?

CRT_LoRATraining.json
Trained two LoRA's with this, got around 1s/it at 512 batch 1, using adamw
Still have to understand better the network dim and alpha, and do some tests, but this is working fine
The learning rate is pretty high but I guess It would gives better results on a low steps training
Cat Woman (Zoe Kravitz)
Helios 44-2

@kijai May I ask if it's possible to train a single transformer block?

@kijai May I ask if it's possible to train a single transformer block?

Yes, it is. There's the block_args input to the unit node and block select node connects to that, for now it's just text about field but it has an example of the syntax as default.

I have told that these ones could be affecting the style: 20, 22 - 7, 20 - 13, 15, and 25-27.
Have to do some testings on that, thank you +1
https://ostris.com/2024/09/07/skipping-flux-1-dev-blocks/

CRT_LoRATraining.json
Trained two LoRA's with this, got around 1s/it at 512 batch 1, using adamw
Still have to understand better the network dim and alpha, and do some tests, but this is working fine The learning rate is pretty high but I guess It would gives better results on a low steps training
Cat Woman (Zoe Kravitz) https://civitai.com/models/739617/cat-woman-zoe-kravitz?modelVersionId=827119 Helios 44-2 https://civitai.com/models/742089/helios-44-2?modelVersionId=829866

Thanks! It means a lot for me! I will try it today!


[SPARK-11150][SQL][FOLLOWUP] We should drop all tables after testing dynamic partition pruning.

What changes were proposed in this pull request?
Drop all tables after testing dynamic partition pruning.

Why are the changes needed?
We should drop all tables after testing dynamic partition pruning.
Does this PR introduce any user-facing change?

No
How was this patch tested?

Exist unittests

Can one of the admins verify this patch?

ok to test

@weixiuli can you file a new JIRA instead of reusing the old one? It should have different properties for, for example, fixed versions.

Test build #145868 has started for PR 34768 at commit 717d9c4.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50343/

@weixiuli can you file a new JIRA instead of reusing the old one? It should have different properties for, for example, fixed versions.

Done, thanks.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50343/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50343/

Test build #145875 has started for PR 34768 at commit 79fa174.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50350/

Tests already got passed with the same change before.
Merged to master.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50350/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50350/

Test build #145868 has finished for PR 34768 at commit 717d9c4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145868/

Test build #145875 has finished for PR 34768 at commit 79fa174.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145875/

+1, LGTM.

Thank you @HyukjinKwon @dongjoon-hyun


Fast membrane current calculation

Related to https://github.com/BlueBrain/mod2c/pull/32 and https://github.com/neuronsimulator/nrn/pull/272

retest

Please retest


Page numbers

Would be good to have page numbers for printed documents.

Probably worth adding to the docs somewhere also?

For now, just the README would suffice. Eventually, we'll have a proper manual for Asciidoctor PDF, but this will remind us not to forget to document it ;)


Js test

All tests pass in IntelliJ.  Current code passes in Gradle.  If there was no operator error then enabling one of the disabled tests fails in Gradle.  Seems to be related to the number of enabled tests and not which ones.  Don't think there is a spill over between tests and wonder if it is the Gradle threading?

I copied JavaScriptRuntime from 135 and am running locally.  I added a test for Kolmafia,getLastmessage() to be null and it is Not enough mana to cast Experience Safari.  Now what I am expecting.  Pondering.


Leave a gap behind when reordering relation members.

It would be nice if a small gap or other indication could be left behind when you start dragging a relation member to a new spot - once you start dragging the member, it is pretty much impossible to tell where it was before. This would make returning the member to the right place easy if you had accidentally started dragging it, and it would also make it easier to keep track of how many places you have shifted the member.

@BjornRasmussen Has this been a problem for you in practice? We'd have to switch to "list style" drag-and-drop where we show a placement indicator between items when dragging instead of moving items as you drag. This would be a bit of a pain if people don't actually need it.


Oracle, BigQuery, Redshift on CI

Currently we test those locally since they run in the Cloud and in Oracle & Redshift's case require a bastion host to be accessible from our local machines. BigQuery also has its own config. We'd love to get those running in CI (https://github.com/datafold/data-diff/pull/135). We have Snowflake, MySQL, Presto, and Postgres as of https://github.com/datafold/data-diff/pull/135
@cfernhout you able to take this on? ❤

Duplicated of #112


lib.es2015.core.d.ts: Some parameters of functions of Number is not completely right

For example, We can use the following in es2015:
Number.isInteger(undefined); // false
but in lib.es2015.core.d.ts:
interface NumberConstructor {
// some defination codes....
 isInteger(number: number): boolean;
// some other def codes...
}
thx

Duplicate of https://github.com/microsoft/TypeScript/issues/34931

thanks, i will colse it.


Mouse and keyboard still don't react to my pushing

Please help, i changed in cfg. file input string , launched the launcher to activate the mouse axis but the M+K don't work still, what can it be?? I can activate mod menu by pressing F11, but controls don't work, what can be the reason?

Maybe it's because i don't have controller plugged in?

Controller needs to be emulated, how to adjust sensitivity?

Sensitivity and Y axis inversion added in 1.0.


Proxies are NOT working

Proxies are not being used by any of the methods, checked on my Cloudflare.

same trouble

fixed


PROD-540 Upgrade @solana/web3.js dependency

Description
Bump @solana/web3.js version to 1.95.8 for security reasons raised recently

What are the steps to test that this code is working?
NA

Screen shots or recordings for UI changes
NA

The tests seem to be failing because of a build error.


Setup Gerrit instance for testing

Setup Gerrit instance for testing

The gerrit instance is setup for testing

Tested the setup on the dev site & found that it is fixed as expected.
Refer to the video clip: GerritiCLA.webm


better toast types naming

A toast can have max 3 lines of text, but there're misleading templates ImageWithFourLines and TextFourLines.
Other templates can also be named better to reflect their purpose.

I used names based on the Microsoft documentation (https://docs.microsoft.com/en-us/uwp/api/Windows.UI.Notifications.ToastTemplateType). Probably, preserve the same names is the better solution to maintain consistency.

Using the official Microsoft template's names: https://github.com/mohabouje/WinToast/commit/62cc13818f2987f1b38095aa900146c97feb8871


Add reverse circle

Hi there,
thanks for this handy library.
i think it would be cool if we can do reverse circle so for example for light to dark we have regular circle, and for dark to light reverse circle would be nice.

hello @arasrezaei  this is already included in the library here is an example
switchTheme({
 switchThemeFunction: () => {
   setTheme(theme === 'light' ? 'dark' : 'light'); // your switch theme function
 },
 animationConfig: {
   type: theme === 'light' ?  'circular' : 'inverted-circular',
   duration: 900,
   startingPoint: {
     cxRatio: 0.5,
     cyRatio: 0.5
   }
 },
});


regd. TLS version option and its use

https://ec.haxx.se/usingcurl-tls.html
Original:
--tlsv1.0    TLS >= version 1.0
--tlsv1.1    TLS >= version 1.1
--tlsv1.2    TLS >= version 1.2
--tlsv1.3    TLS >= version 1.3

If I am not wrong, it should be:
--tlsv1.0       Use TLSv1.0
--tlsv1.1       Use TLSv1.1
--tlsv1.2       Use TLSv1.2
--tlsv1.3       Use TLSv1.3

Reference:
$ curl -h | grep -e '--tlsv1'
 -1, --tlsv1         Use TLSv1.0 or greater
     --tlsv1.0       Use TLSv1.0
     --tlsv1.1       Use TLSv1.1
     --tlsv1.2       Use TLSv1.2
     --tlsv1.3       Use TLSv1.3

The book is actually correct here and this has been fixed in the help output in recent curl versions.

The book is actually correct here and this has been fixed in the help output in recent curl versions.

In that case, if a user really want to use a particular TLS version (for pen testing) say TLSv1.2, how to do that?  It will be great, if we can have an example for it in the book since it is one of the most common use case in testing with TLS.


[Question] The condition node is not working.

The condition node is not working.
I have created a condition task but always run the success task. I'm not sure it's a bug or setting problem, please give some help.

There is a workflow instance, after condition node, it should running 前置处理认定不可以继续执行后的后置处理 node.
Here is the condition node configure.

After I deep into the code level, I found condition task node configure is not has the dependence content.
{
      "id": "tasks-31996",
      "name": "判定前置判断是否执行成功",
      "type": "CONDITIONS",
      "runFlag": "NORMAL",
      "maxRetryTimes": 0,
      "retryInterval": 1,
      "params": {},
      "preTasks": [
        "前置判断"
      ],
      "depList": [
        "前置判断"
      ],
      "dependence": {
        "relation": "AND",
        "dependTaskList": []
      },
      "conditionResult": {
        "successNode": [
          "启动业务任务"
        ],
        "failedNode": [
          "前置处理认定不可以继续执行后的后置处理"
        ]
      },
      "taskInstancePriority": "MEDIUM",
      "workerGroup": "default",
      "timeout": {
        "strategy": "",
        "enable": false
      },
      "delayTime": 0
    },

Which version of DolphinScheduler:

dev branch

You need to set custom parameters. The Condition node determines which branch to take according to the success or failure status of the front node

You need to set custom parameters. The Condition node determines which branch to take according to the success or failure status of the front node

Hi, Thanks for your quick response. It's working.


Laravel 11.x Compatibility

This is an automated pull request from Shift to update your package code and dependencies to be compatible with Laravel 11.x.
Before merging, you need to:

Checkout the l11-compatibility branch
Review all comments for additional changes
Thoroughly test your package

If you do find an issue, please report it by commenting on this PR to help improve future automation.

:warning: The latest version of Laravel has a dependency for phpunit/phpunit of ^10.5. If you would like to also upgrade your tests, you may run the PHPUnit 10 Shift for free.

:information_source: Shift detected you do not have a CI workflow using GitHub Actions. If you would like, Shift can help you get started with the CI Generator. Although the Shift is paid, GitHub Actions is free and having a CI workflow will improve the stability and review process for your package.

:alembic: Using this package? If you would like to help test these changes or believe them to be compatible, you may update your project to reference this branch.
To do so, temporarily add Shift's fork to the repositories property of your composer.json:
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/laravel-shift/livewire-calendar.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:
{
    "require": {
        "asantibanez/livewire-calendar": "dev-l11-compatibility",
    }
}

Finally, run: composer update

https://github.com/omnia-digital/livewire-calendar
closes #https://github.com/asantibanez/livewire-calendar/issues/59


Add option to modify the query

I needed an option to add a where clause so I can show data related to the user.
Before:
  protected function getStats(): array
  {
      $simpleStat = SimpleStat::make(MyModel::class);

      $simpleStat->trend = Trend::model(MyModel::class)->query(MyModel::where('user_id', auth()->id()));

      return [
          $simpleStat->last7Days()->dailyCount()->color('success'),
      ];
  }

Now:
  protected function getStats(): array
  {
      return [
          SimpleStat::make(MyModel::class)->where('user_id', auth()->id())->last7Days()->dailyCount()->color('success'),
      ];
  }

I just noticed there will be an issue with this code as $this->trend->query(...) returns a new instance of Trend.

Squashed all commits to just one, PR is ready.

Could you also add a test for this and add an example to the readme?

@freekmurze done. If there are any comments please let me know!

@KeizerDev looks good, thanks for the contribution!


Reversed UsagePage and UsageId in the examples

Hi! In the code snippets above, for gamepad and joystick, the UsagePage and UsageId should be reversed in the <Function> tag (so that to follow the format usage:"UsagePage UsageId"). More exactly, for a gamepad, the Type should be usage:"0x0001 0x0005" (or usage:"0x0001 *" if using the format from the examples).

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2ce31bbb-4767-a12d-d68b-2aa2e9ceafca
Version Independent ID: c43a6140-b635-46b6-3e7d-7a1e48e62ea3
Content: How to specify device capabilities for HID - UWP app developer
Content Source: winrt-related-src/schemas/appxpackage/how-to-specify-device-capabilities-for-hid.md
Product: windows
GitHub Login: @laurenhughes
Microsoft Alias: lahugh

Hi - Thanks for taking the time to let us know about this. Due to the sheer volume of feedback in our repo, we're currently prioritizing new issues. I'm going to close this but if it's still impacting you or others, feel free to leave a comment and we can keep it open and dig in. Alternatively, you can submit a new issue or pull request with the latest details. Thanks so much and apologies for the delayed communication here.


Update copyright year to 2022

We should update the copyright year at the footer

Resolved by https://github.com/cdklabs/construct-hub-webapp/pull/848


.help liqu says not found, even though it's the abbreviation for listquotes

listquotes uses liqu as a shortened form but the help command isn't accepting it.

Command aliases require prefix to work.
.h liqu will not work
.h .liqu will work

This can be closed


Upgrade dependencies and support React 16+

Upgraded all dependencies (And made sure that build and lib and tests still work) and added support for React 16.
Reason for change:
As stated in #25, This library does make use of react-dom/lib/HTMLDOMPropertyConfig and react-dom/lib/SVGDOMPropertyConfig . These config's is no longer included/exposed by React, starting at React 16.
We need these properties however, and others do to. So for now I've used this package:
https://github.com/remarkablemark/react-dom-core
that includes these properties to to be consumed from React 16 apps.
This package takes the old properties from 15 and includes them as an package.
In the future we might want to include this list in this package to have it aligned with React 16m or take a different approach. But for now, this works well in React 16.

Thanks for helping out, @olofd. Yea, I'd like to not depend on that package, but we can merge this and I will inline the attributes in a future release.

@Deschtex Fixed. Will you tag and release after merge?

Thanks. Yes, I will tag and publish after it's merged.


@emotion/styled injection order (v5)

Children styles in emotion/styled of MUI Components is being override by MUI Component styles.

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

My project is using @emotion/styled as the main styling system, along with material-ui. I want to add margin-top to every children in Container, so I wrapped it with @emotion/styled and expected this CSS to override the Typography's margin.
import styled from '@emotion/styled'
import Container from '@mui/material/Container'
import Typography from '@mui/material/Typography'
import * as React from 'react'

const StyledContainer = styled(Container)`
  & > * {
    margin-top: 1rem;
  }
`

export default function Index() {
  return (
    <StyledContainer maxWidth="sm">
      <Typography>Hello World</Typography>
      <Typography>Hello World</Typography>
      <Typography>Hello World</Typography>
    </StyledContainer>
  )
}

However, after upgrading to v5, styling MUI Components with @emotion/styled become overridden by the MUI Component itself.

As the image above, each Typography does not have margin-top of 1rem because it has been overridden by the MuiTypography-root styles.
Expected Behavior 🤔

Styling MUI Components with @emotion/styled should takes precedence over every styles.
Steps to Reproduce 🕹

Steps:

Clone the setup from https://github.com/mui-org/material-ui/blob/master/examples/nextjs-with-typescript
Wraps MUI Component with @emotion/styled and add child selector css

Context 🔦

The css order is a working correctly in v4, but while migrating to v5, the CSS order breaks the UI of my site.
Your Environment 🌎

`npx @mui/envinfo`
  System:
    OS: macOS 11.5.2
  Binaries:
    Node: 16.7.0 - /opt/homebrew/bin/node
    Yarn: 1.22.11 - /opt/homebrew/bin/yarn
    npm: 7.20.3 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 94.0.4606.61
    Edge: Not Found
    Firefox: 91.0.1
    Safari: 14.1.2
  npmPackages:
    @emotion/react: latest => 11.4.1
    @emotion/styled: latest => 11.3.0
    @mui/core:  5.0.0-alpha.49
    @mui/material: latest => 5.0.2
    @mui/private-theming:  5.0.1
    @mui/styled-engine:  5.0.1
    @mui/system:  5.0.2
    @mui/types:  7.0.0
    @mui/utils:  5.0.1
    @types/react: latest => 17.0.26
    react: latest => 17.0.2
    react-dom: latest => 17.0.2
    typescript: latest => 4.4.3

@kykungz the specificity of the styles added by the container and the typography are the same. The classes are not added on the same component, so it is not predictable which ones will be written first. I would recommend updating to: https://codesandbox.io/s/bold-colden-x2tio?file=/src/Demo.tsx
We use the same strategy in the Stack component, so that we can ensure that this is not happening. Also you may want to use the Stack component for this use-case. See https://mui.com/components/stack/#main-content


2.1.0 breaks TS build

2.0.0 works great but once updated to 2.1.0 I got strange errors from ts compiler.
Type '{ type: string; required: string[]; properties: { firstName: { type: string; }; lastName: { type: string; }; email: { type: string; }; phone: { type: string[]; }; password: { type: string; }; participantId: { type: string; }; }; }' is not assignable to type 'ValidateFunction'.
  Type '{ type: string; required: string[]; properties: { firstName: { type: string; }; lastName: { type: string; }; email: { type: string; }; phone: { type: string[]; }; password: { type: string; }; participantId: { type: string; }; }; }' is not assignable to type 'JSONSchema7'.
    Types of property 'type' are incompatible.
      Type 'string' is not assignable to type '"string" | "number" | "boolean" | "object" | "integer" | "null" | "array" | JSONSchema7TypeName[]'.

I will look into it ASAP.

Can you please provide a minimal reproduction repo or example?

sure https://github.com/mmouterde/bugDemo
import { Validator } from 'express-json-validator-middleware';
const UserParamSchemaForUpdate = {
    type: 'object',
    properties: {
        firstName: { type: 'string' }
    },
};
const validator = new Validator({
    allErrors: true,
    format: 'full',
    jsonPointers: true,
});
validator.validate({
    body: UserParamSchemaForUpdate,
});

Basically body is not compatible with objects unless explicitly specified such as:
app.post('/template', validate({ body: schemas.templateCreate as ValidateFunction }), templateController.create_template);

@vacekj I'm having the same problem. I'm not sure what @rmolinamir is referring to, but it doesn't appear to relate to the original issue.
The following example uses the schema from the README:
import { Validator } from 'express-json-validator-middleware'

const validator = new Validator({ allErrors: true })

const docsSchema = {
  type: 'object',
  required: ['number', 'name', 'type'],
  properties: {
    number: { type: 'number' },
    name: { type: 'string' },
    type: { type: 'string', enum: ['Street', 'Avenue', 'Boulevard'] },
  },
}

validator.validate({ body: docsSchema })

I experienced the same issue, what worked for me was to put as const after the type value, e.g.
{
  type: 'object' as const
 ...
}

unfortunately this meant not being able to use .json files anymore, had to migrate them to TS

Hi folks :wave: I'm the new maintainer of this project.
I've just started looking into this issue and will attempt to reproduce it. I'll let you know how I get on, but any further insights as to what the issue might be are very welcome in the meantime!

Hi folks :wave: I'm the new maintainer of this project.
I've just started looking into this issue and will attempt to reproduce it. I'll let you know how I get on, but any further insights as to what the issue might be are very welcome in the meantime!

It looks like this issue was actually introduced by adding types, period - 2.1.0 was the first package version to actually have type definitions.

@NGTOne That makes sense. I think this issue needs to be resolved as removing the types completely isn't a viable option. I'm hoping to have time to do some digging on this later this week.

I've been trying to resolve this issue, but it's proving tricky. I've created a minimal reproducible example demonstrating the problem: https://bit.ly/3oIwQ9z (thanks to @monooso for sharing their workaround above).

@simonplend  You need to use as const to make object a string literal:
It works good here: https://tsplay.dev/WJ96lm

@Beraliv That's great, thank you! It seems similar to the solution which @senorpedro mentioned above.
This raises a couple of questions for me:

Why does making object a string literal fix things?
Is it preferable to put as const after the object string, or after the whole object itself?

I really appreciate everyone's help with this issue. I only have a little experience with TypeScript, and I want to make sure I resolve this issue correctly, even if it just means adding a section to the README with some guidance on using this library with TypeScript.

Why does making object a string literal fix things?

I checked the validate function implementation and found string literals there:

Open https://github.com/simonplend/express-json-validator-middleware/blob/main/src/index.d.ts#L27
It uses ValidatorFunction – https://github.com/simonplend/express-json-validator-middleware/blob/main/src/index.d.ts#L18-L20
Inside it uses AllowedSchema – https://github.com/simonplend/express-json-validator-middleware/blob/main/src/index.d.ts#L13-L16
Inside JSONSchema7 you will find type – https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/json-schema/index.d.ts#L627
This type should be a string literal – https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/json-schema/index.d.ts#L570-L577

Check out the example here: https://tsplay.dev/wee2Ew

If you inline the code, it will infer string as a string literal (and you will have no error)
If you use as const either for object or for a string, it will convert the string to string literal and you will have no error too

You need as const because of the way how you declared the type:
type ValidateParameters = { type: 'object', parameters: Record<string, unknown> } | { type: 'string'; parameters: string; };

If you use 'object' in type or interface, it means you use string literals and you require to pass it from outside the same way (as string literal)

Is it preferable to put as const after the object string, or after the whole object itself?

It you call as const on the whole object, all strings inside will become string literals. But if you have at least one string literal inside you schema (e.g. JSONSchema7), as const for the whole object will be helpful and easy way to fix the problem:

If you have string in types, both string literal and string can be passed
If you have string literal in types, only this string literal can be passed

You can check examples here: https://tsplay.dev/wj53YW

@Beraliv Thank you so much for this detailed detective work, the thorough explanation, and for all of the examples too. They are really helpful.
I think I understand everything you've explained, but I'm going to read it all again with fresh eyes tomorrow.
I'm planning to add a short section to the project README with tips on usage with TypeScript. If you are happy to, I would really appreciate you looking over these documentation changes before I merge them. Would you mind me tagging you in the PR?

Would you mind me tagging you in the PR?

Not at all, I'm fine with it 👍

@simonplend do you still need help?

@Beraliv I've added a section to the README explaining how to define schemas in TypeScript. If you're still happy to, I'd be very grateful if you could review these changes for accuracy: https://github.com/simonplend/express-json-validator-middleware/pull/89

I was looking at the documentation for the json-schema-to-ts package recently. I noticed their documentation also mentions the need to use as const when defining JSON schemas in TypeScript: https://www.npmjs.com/package/json-schema-to-ts#fromschema

@Beraliv I've added a section to the README explaining how to define schemas in TypeScript. If you're still happy to, I'd be very grateful if you could review these changes for accuracy: https://github.com/simonplend/express-json-validator-middleware/pull/89

Sure, I can check it tomorrow

I'm planning to merge #89 tomorrow so that I can close this issue and get v2.2.0 released.
Thanks for your help everyone!


Support debugging with interperter arguments (experimental debugger)

@brettcannon
Considering the fact that we've never had this, and the fact that we don't support this when running other tools within the extension, I'd say we need to move this well past the March milestone.
I don't see the point in adding support for this if:

We don't already support this (there has been no request for such a feature, none that I can remember)
We don't support this for non-debugging scenarios (that needs to be done first - #941)

What do you think?

I agree. I just dropped it from the milestone.

To help manage our issues and to better communicate what the team plans to work on we are closing issues that we don't plan to work on but would accept a pull request from a volunteer for. To be clear, closing this issue does not mean we won't consider a pull request for this enhancement as outlined in our contributing guide, just that the development team has no plans to work on it themselves.


Certificate verify failed

Hi,
I have ibeam running on localhost:5000. For the last few days I've been trying to run ibind on my Linux server using self-signed certificates that I generated using openssl and certbot (from Lets Encrypt). Here is the last version of the code I've been trying to run:
import os
import signal
import time

from ibind import IbkrWsKey, IbkrClient, IbkrWsClient, ibind_logs_initialize

ibind_logs_initialize(log_to_file=False)

account_id = os.getenv('IBIND_ACCOUNT_ID', '[YOUR_ACCOUNT_ID]')
# cacert = os.getenv('IBIND_CACERT', False)  # insert your cacert path here
# cacert = False
cacert = 'fullchain.pem'

ws_client = IbkrWsClient(cacert=cacert, account_id=account_id)

ws_client.start()

requests = [
    {'channel': 'md+265598', 'data': {"fields": ['55', '71', '84', '86', '88', '85', '87', '7295', '7296', '70']}},
    {'channel': 'or'},
    {'channel': 'tr'},
    {'channel': f'sd+{account_id}'},
    {'channel': f'ld+{account_id}'},
    {'channel': 'pl'},
]

## Rest of the code follows

However, on both occasions I faced a "certificate verify failed" error as below:
2024-12-26 15:55:58,265|I| IbkrWsClient: Starting
2024-12-26 15:55:58,266|I| IbkrWsClient: Trying to connect
2024-12-26 15:55:58,278|W| Acquiring session cookie failed, connection to the Gateway may be broken.
2024-12-26 15:55:58,286|E| IbkrWsClient: on_error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1000)
2024-12-26 15:55:58,287|I| IbkrWsClient: on_close
2024-12-26 15:55:58,287|I| IbkrWsClient: on_close event while disconnected
2024-12-26 15:55:58,287|I| IbkrWsClient: Reconnecting
2024-12-26 15:56:03,297|E| IbkrWsClient: New WebSocketApp connection timeout
2024-12-26 15:56:03,297|I| IbkrWsClient: Connect reattempt 2/10
2024-12-26 15:56:03,313|W| Acquiring session cookie failed, connection to the Gateway may be broken.
2024-12-26 15:56:03,332|E| IbkrWsClient: on_error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1000)
2024-12-26 15:56:03,332|I| IbkrWsClient: on_close
2024-12-26 15:56:03,333|I| IbkrWsClient: on_close event while disconnected
2024-12-26 15:56:08,327|E| IbkrWsClient: New WebSocketApp connection timeout
2024-12-26 15:56:08,328|I| IbkrWsClient: Connect reattempt 3/10

If I set cacert to False, I can successfully pull market data. However, I end up with an insecure connection and receive an InsecureRequestWarning, which is not ideal.
Any ideas how to solve the certificate verification issue?
Much appreciated, thank you.

Hey @cpowr thanks for your post and for the detailed explanation 👍
Have you seen this guide: https://github.com/Voyz/ibeam/wiki/TLS-Certificates-and-HTTPS ?

Hey @Voyz, I had not seen that guide so thanks for bringing it to my attention! I have followed it to the dot to generate certificates (cacert.pem, etc.) and successfully integrated them with my ibeam container on docker.
On the ibind side, I have updated the cacert argument to point to the same certificate as follows:
from ibind import IbkrClient

# Construct the client
client = IbkrClient(cacert='/path/to/cacert.pem')

# Call some endpoints
print('\n#### check_health ####')
print(client.check_health())

print('\n\n#### tickle ####')
print(client.tickle().data)

print('\n\n#### get_accounts ####')
print(client.portfolio_accounts().data)

However, I have subsequently received the following error message:
Tickle request failed: IbkrClient: request error: HTTPSConnectionPool(host='localhost', port=5000):
Max retries exceeded with url: [/v1/api/tickle](https://vscode-remote+ssh-002dremote-002b192-002e168-002e1-002e19.vscode-resource.vscode-cdn.net/v1/api/tickle)
(Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1000)')))

Am I missing something?

@cpowr can you share your IBeam log? You should be able to see there in the first few lines if the new certificates are being used and if the modified conf.yaml is recognised.

Hi @Voyz, here is the log straight from docker:
(base) dev@research01:~/ibeam$ sudo docker service logs ibeam_stack_ibeam ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:16,155|I| ############ Starting IBeam version 0.5.6 ############ ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:16,158|I| Secrets source: fs ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:16,160|I| Health server started at port=5001 ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:16,160|I| Configuration: ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | {'INPUTS_DIR': '/home/dev/ibeam/config', 'OUTPUTS_DIR': '/srv/outputs', 'GATEWAY_DIR': '/srv/clientportal.gw', 'CHROME_DRIVER_PATH': '/usr/bin/chromedriver', 'GATEWAY_STARTUP': 20, 'GATEWAY_PROCESS_MATCH': 'ibgroup.web.core.clientportal.gw.GatewayStart', 'MAINTENANCE_INTERVAL': 60, 'SPAWN_NEW_PROCESSES': False, 'LOG_LEVEL': 'INFO', 'LOG_TO_FILE': True, 'LOG_FORMAT': '%(asctime)s|%(levelname)-.1s| %(message)s', 'REQUEST_RETRIES': 2, 'REQUEST_TIMEOUT': 15, 'RESTART_FAILED_SESSIONS': True, 'RESTART_WAIT': 15, 'REAUTHENTICATE_WAIT': 15, 'HEALTH_SERVER_PORT': 5001, 'SECRETS_SOURCE': 'fs', 'GCP_SECRETS_URL': None, 'START_ACTIVE': True, 'GATEWAY_BASE_URL': 'https://localhost:5000', 'ROUTE_AUTH': '/sso/Login?forwardTo=22&RL=1&ip2loc=on', 'ROUTE_VALIDATE': '/v1/portal/sso/validate', 'ROUTE_REAUTHENTICATE': '/v1/portal/iserver/reauthenticate?force=true', 'ROUTE_INITIALISE': '/v1/api/iserver/auth/ssodh/init', 'ROUTE_AUTH_STATUS': '/v1/api/iserver/auth/status', 'ROUTE_TICKLE': '/v1/api/tickle', 'ROUTE_LOGOUT': '/v1/api/logout', 'USER_NAME_EL': None, 'PASSWORD_EL': 'NAME@@password', 'SUBMIT_EL': 'CSS_SELECTOR@@.btn.btn-lg.btn-primary', 'ERROR_EL': None, 'SUCCESS_EL_TEXT': 'TAG_NAME@@Client login succeeds', 'OAUTH_TIMEOUT': 15, 'PAGE_LOAD_TIMEOUT': 15, 'ERROR_SCREENSHOTS': False, 'MAX_FAILED_AUTH': 5, 'MIN_PRESUBMIT_BUFFER': 5, 'MAX_PRESUBMIT_BUFFER': 30, 'MAX_IMMEDIATE_ATTEMPTS': 10, 'IBKEY_PROMO_EL_CLASS': 'CLASS_NAME@@ibkey-promo-skip', 'AUTHENTICATION_STRATEGY': 'B', 'MAX_STATUS_CHECK_RETRIES': 120, 'MAX_REAUTHENTICATE_RETRIES': 3, 'UI_SCALING': 1.0, 'TWO_FA_EL_ID': 'ID@@twofactbase', 'TWO_FA_NOTIFICATION_EL': 'CLASS_NAME@@login-step-notification', 'TWO_FA_INPUT_EL_ID': 'ID@@chlginput', 'TWO_FA_HANDLER': None, 'STRICT_TWO_FA_CODE': True, 'TWO_FA_SELECT_EL_ID': 'ID@@sf_select', 'TWO_FA_SELECT_TARGET': 'IB Key', 'CUSTOM_TWO_FA_HANDLER': 'custom_two_fa_handler.CustomTwoFaHandler'} ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:16,161|I| Gateway not found, starting new one... ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:16,161|I| Note that the Gateway log below may display "Open https://localhost:[PORT] to login" - ignore this command. ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:16,161|I| Starting Gateway as Linux process with params: ['bash', 'bin/run.sh', 'root/conf.yaml'] ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | running ibeam_stack_ibeam.1.h5vugytot1u4@dev01    |  runtime path : root:dist/ibgroup.web.core.iblink.router.clientportal.gw.jar:build/lib/runtime/* ibeam_stack_ibeam.1.h5vugytot1u4@dev01    |  config file  : root/conf.yaml ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:16,187|I| Gateway started with pids: [11] ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:16,191|I| Gateway running but not serving yet. Consider increasing IBEAM_GATEWAY_STARTUP timeout. Error: <urlopen error [Errno 111] Connection refused> ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:16,191|I| Gateway connection established ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:16,193|I| Gateway running but not serving yet. Consider increasing IBEAM_GATEWAY_STARTUP timeout. Error: <urlopen error [Errno 111] Connection refused> ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:16,194|I| NO SESSION Status(running=True, session=False, connected=False, authenticated=False, competing=False, collision=False, session_id=None, server_name=None, server_version=None, expires=None) ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:16,194|I| Authentication strategy: "B" ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:16,194|I| No active sessions, logging in... ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:16,194|I| Loading auth webpage at https://localhost:5000/sso/Login?forwardTo=22&RL=1&ip2loc=on ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | WARNING: An illegal reflective access operation has occurred ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | WARNING: Illegal reflective access by io.netty.util.internal.ReflectionUtil (file:/srv/clientportal.gw/build/lib/runtime/netty-common-4.1.15.Final.jar) to constructor java.nio.DirectByteBuffer(long,int) ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.ReflectionUtil ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | WARNING: All illegal access operations will be denied in a future release ibeam_stack_ibeam.1.h5vugytot1u4@dev01    |  -> mount demo on /demo ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | Java Version: 11.0.24 ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | **************************************************** ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | version: a27ed42161ad96c53e715ca5c5e3e3fa4cff5262 Mon, 24 Apr 2023 15:41:53 -0400 ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | **************************************************** ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | This is the Client Portal Gateway ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | for any issues, please contact<EMAIL_ADDRESS>ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | and include a copy of your logs ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | **************************************************** ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | https://www.interactivebrokers.com/api/doc.html ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | **************************************************** ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | Open https://localhost:5000 to login ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | App demo is available after you login under: https://localhost:5000/demo#/ ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:28,571|I| Gateway auth webpage loaded ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:28,572|I| Login attempt number 1 ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:34,236|I| Submitting the form ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:35,698|I| Webpage displayed "Client login succeeds" ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:36,699|I| Cleaning up the resources. Display: <pyvirtualdisplay.display.Display object at 0x7599e1f8a990> | Driver: <selenium.webdriver.chrome.webdriver.WebDriver (session="5ddb7ccc5b6c96fe80f5af11f18bb8f1")> ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:36,772|I| Logging in succeeded ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:37,935|I| Repeating status check attempts another 119 times ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:42,770|I| AUTHENTICATED Status(running=True, session=True, connected=True, authenticated=True, competing=False, collision=False, session_id='67b4e74ca657ca80df8259c0c8dbe55d', server_name='JifZ32024', server_version='Build 10.33.1b, Dec 18, 2024 4:33:20 PM', expires=593008) ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:42,908|I| Gateway running and authenticated, session id: 67b4e74ca657ca80df8259c0c8dbe55d, server name: JifZ32024 ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:38:42,919|I| Starting maintenance with interval 60 seconds ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:39:42,919|I| Maintenance ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:39:43,051|I| Gateway running and authenticated, session id: 67b4e74ca657ca80df8259c0c8dbe55d, server name: JifZ32024 ibeam_stack_ibeam.1.h5vugytot1u4@dev01    | 2024-12-27 18:40:42,919|I| Maintenance
The inputs directory is /home/dev/ibeam/config:
(base) dev@research01:~/ibeam/config$ ls
cacert.jks  cacert.p12  cacert.pem  cert.pem  conf.yaml  docker-compose.yml  key.pem  san.cnf

I define the credentials and the inputs directory in the docker-compose.yml as follows:
version: '3.8'

services:
  ibeam:
    image: voyz/ibeam:latest
    deploy:
      replicas: 1
      restart_policy:
        condition: on-failure
    network_mode: host
    ports:
      - "5000:5000"
      - "5001:5001"
    secrets:
      - ibkr_username
      - ibkr_password
    environment:
      IBEAM_SECRETS_SOURCE: fs
      IBEAM_ACCOUNT: /run/secrets/ibkr_username
      IBEAM_PASSWORD: /run/secrets/ibkr_password
      IBEAM_INPUTS_DIR: /home/dev/ibeam/config
    volumes:
      - /home/dev/ibeam/config:/srv/inputs:ro

secrets:
  ibkr_username:
    external: true
  ibkr_password:
    external: true

And the certificate details are defined in the conf.yaml as:
ip2loc: "EU"
proxyRemoteSsl: true
proxyRemoteHost: "https://api.ibkr.com"
listenPort: 5000
listenSsl: true
svcEnvironment: "v1"
sslCert: "cacert.jks"
sslPwd: [REDACTED]
authDelay: 3000
portalBaseURL: ""
serverOptions:
    blockedThreadCheckInterval: 1000000
    eventLoopPoolSize: 20
    workerPoolSize: 20
    maxWorkerExecuteTime: 100
    internalBlockingPoolSize: 20
cors:
    origin.allowed: "*"
    allowCredentials: false
webApps:
    - name: "demo"
      index: "index.html"
ips:
  allow:
    - <IP_ADDRESS>
  deny:
    - 0-255.*.*.*

I can't see from the log that the certificates are being used however. In addition, if I misdefine the inputs directory (as .../configg) and re-deploy the container, the gateway authenticates regardless. It is almost as if the conf.yaml is being ignored...
Thoughts?

Indeed, IBeam doesn't log that it found conf.yaml nor the cacerts.
I think this is the cause:
You're specifying:
IBEAM_INPUTS_DIR: /home/dev/ibeam/config

But then mounting the inputs as:
/srv/inputs

The IBEAM_INPUTS_DIR is a path within the Docker container, not on the host. Remove that IBEAM_INPUTS_DIR: /home/dev/ibeam/config line and see if it works.

Splendid, thank you! Removing the line starting with IBEAM_INPUTS_DIR from the config file did the trick. The log now shows that the certificates were recognized:
(base) dev@research01:~/ibeam/config$ sudo docker service logs -f ibeam_stack_ibeam
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:43:48,134|I| ############ Starting IBeam version 0.5.6 ############
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:43:48,135|I| TLS certificates found and will be used for verification
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:43:48,136|I| Custom conf.yaml found and will be used by the Gateway
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:43:48,139|I| Secrets source: fs
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:43:48,141|I| Health server started at port=5001
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:43:48,141|I| Configuration:
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | {'INPUTS_DIR': '/srv/inputs/', 'OUTPUTS_DIR': '/srv/outputs', 'GATEWAY_DIR': '/srv/clientportal.gw', 'CHROME_DRIVER_PATH': '/usr/bin/chromedriver', 'GATEWAY_STARTUP': 20, 'GATEWAY_PROCESS_MATCH': 'ibgroup.web.core.clientportal.gw.GatewayStart', 'MAINTENANCE_INTERVAL': 60, 'SPAWN_NEW_PROCESSES': False, 'LOG_LEVEL': 'INFO', 'LOG_TO_FILE': True, 'LOG_FORMAT': '%(asctime)s|%(levelname)-.1s| %(message)s', 'REQUEST_RETRIES': 2, 'REQUEST_TIMEOUT': 15, 'RESTART_FAILED_SESSIONS': True, 'RESTART_WAIT': 15, 'REAUTHENTICATE_WAIT': 15, 'HEALTH_SERVER_PORT': 5001, 'SECRETS_SOURCE': 'fs', 'GCP_SECRETS_URL': None, 'START_ACTIVE': True, 'GATEWAY_BASE_URL': 'https://localhost:5000', 'ROUTE_AUTH': '/sso/Login?forwardTo=22&RL=1&ip2loc=on', 'ROUTE_VALIDATE': '/v1/portal/sso/validate', 'ROUTE_REAUTHENTICATE': '/v1/portal/iserver/reauthenticate?force=true', 'ROUTE_INITIALISE': '/v1/api/iserver/auth/ssodh/init', 'ROUTE_AUTH_STATUS': '/v1/api/iserver/auth/status', 'ROUTE_TICKLE': '/v1/api/tickle', 'ROUTE_LOGOUT': '/v1/api/logout', 'USER_NAME_EL': None, 'PASSWORD_EL': 'NAME@@password', 'SUBMIT_EL': 'CSS_SELECTOR@@.btn.btn-lg.btn-primary', 'ERROR_EL': None, 'SUCCESS_EL_TEXT': 'TAG_NAME@@Client login succeeds', 'OAUTH_TIMEOUT': 15, 'PAGE_LOAD_TIMEOUT': 15, 'ERROR_SCREENSHOTS': False, 'MAX_FAILED_AUTH': 5, 'MIN_PRESUBMIT_BUFFER': 5, 'MAX_PRESUBMIT_BUFFER': 30, 'MAX_IMMEDIATE_ATTEMPTS': 10, 'IBKEY_PROMO_EL_CLASS': 'CLASS_NAME@@ibkey-promo-skip', 'AUTHENTICATION_STRATEGY': 'B', 'MAX_STATUS_CHECK_RETRIES': 120, 'MAX_REAUTHENTICATE_RETRIES': 3, 'UI_SCALING': 1.0, 'TWO_FA_EL_ID': 'ID@@twofactbase', 'TWO_FA_NOTIFICATION_EL': 'CLASS_NAME@@login-step-notification', 'TWO_FA_INPUT_EL_ID': 'ID@@chlginput', 'TWO_FA_HANDLER': None, 'STRICT_TWO_FA_CODE': True, 'TWO_FA_SELECT_EL_ID': 'ID@@sf_select', 'TWO_FA_SELECT_TARGET': 'IB Key', 'CUSTOM_TWO_FA_HANDLER': 'custom_two_fa_handler.CustomTwoFaHandler'}
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:43:48,142|I| Gateway not found, starting new one...
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:43:48,142|I| Note that the Gateway log below may display "Open https://localhost:[PORT] to login" - ignore this command.
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:43:48,142|I| Starting Gateway as Linux process with params: ['bash', 'bin/run.sh', 'root/conf.yaml']
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | running
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |  runtime path : root:dist/ibgroup.web.core.iblink.router.clientportal.gw.jar:build/lib/runtime/*
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |  config file  : root/conf.yaml
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:43:48,152|I| Gateway started with pids: [11]
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:43:48,154|I| Gateway running but not serving yet. Consider increasing IBEAM_GATEWAY_STARTUP timeout. Error: <urlopen error [Errno 111] Connection refused>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:43:48,154|I| Gateway connection established
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:43:48,156|I| Gateway running but not serving yet. Consider increasing IBEAM_GATEWAY_STARTUP timeout. Error: <urlopen error [Errno 111] Connection refused>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:43:48,156|I| NO SESSION Status(running=True, session=False, connected=False, authenticated=False, competing=False, collision=False, session_id=None, server_name=None, server_version=None, expires=None)
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:43:48,156|I| Authentication strategy: "B"
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:43:48,157|I| No active sessions, logging in...
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:43:48,157|I| Loading auth webpage at https://localhost:5000/sso/Login?forwardTo=22&RL=1&ip2loc=on
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | WARNING: An illegal reflective access operation has occurred
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | WARNING: Illegal reflective access by io.netty.util.internal.ReflectionUtil (file:/srv/clientportal.gw/build/lib/runtime/netty-common-4.1.15.Final.jar) to constructor java.nio.DirectByteBuffer(long,int)
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.ReflectionUtil
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | WARNING: All illegal access operations will be denied in a future release
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |  -> mount demo on /demo
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | Java Version: 11.0.24
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | ****************************************************
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | version: a27ed42161ad96c53e715ca5c5e3e3fa4cff5262 Mon, 24 Apr 2023 15:41:53 -0400
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | ****************************************************
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | This is the Client Portal Gateway
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | for any issues, please contact<EMAIL_ADDRESS>ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | and include a copy of your logs
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | ****************************************************
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | https://www.interactivebrokers.com/api/doc.html
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | ****************************************************
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | Open https://localhost:5000 to login
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | App demo is available after you login under: https://localhost:5000/demo#/
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:43:51,044|I| Cleaning up the resources. Display: <pyvirtualdisplay.display.Display object at 0x7841c3d25dd0> | Driver: <selenium.webdriver.chrome.webdriver.WebDriver (session="79f4b30eb58fe5b98b33e5d3bf39b208")>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:43:51,044|E| Error encountered during authentication
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | Exception:
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |   File "/srv/ibeam/ibeam_starter.py", line 180, in <module>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |     success, shutdown, status = client.start_and_authenticate()
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |   File "/srv/ibeam/src/gateway_client.py", line 62, in start_and_authenticate
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |     success, shutdown, status = self.strategy_handler.try_authenticating(request_retries=request_retries)
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |   File "/srv/ibeam/src/handlers/strategy_handler.py", line 85, in try_authenticating
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |     return self._authentication_strategy_B(status, request_retries)
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |   File "/srv/ibeam/src/handlers/strategy_handler.py", line 140, in _authentication_strategy_B
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |     return self._log_in(status)
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |   File "/srv/ibeam/src/handlers/strategy_handler.py", line 151, in _log_in
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |     success, shutdown = self.login_handler.login()
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |   File "/srv/ibeam/src/handlers/login_handler.py", line 432, in login
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |     wait_and_identify_trigger = self.load_page(targets, driver, self.base_url, self.route_auth)
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |   File "/srv/ibeam/src/handlers/login_handler.py", line 395, in load_page
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |     driver.get(base_url + route_auth)
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |   File "/opt/venv/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 353, in get
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |     self.execute(Command.GET, {"url": url})
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |   File "/opt/venv/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 344, in execute
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |     self.error_handler.check_response(response)
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |   File "/opt/venv/lib/python3.11/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |     raise exception_class(message, screen, stacktrace)
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |   <class 'selenium.common.exceptions.WebDriverException'> Message: unknown error: net::ERR_CONNECTION_REFUSED
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |   (Session info: chrome-headless-shell=120.0.6099.224)
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | Stacktrace:
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #0 0x634da0839233 <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #1 0x634da05030fe <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #2 0x634da04fbc66 <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #3 0x634da04edc05 <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #4 0x634da04ef660 <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #5 0x634da04ee12e <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #6 0x634da04ecfd7 <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #7 0x634da04ece6c <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #8 0x634da04eb943 <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #9 0x634da04ebd94 <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #10 0x634da0506662 <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #11 0x634da0597c56 <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #12 0x634da057a422 <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #13 0x634da0597680 <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #14 0x634da057a1a3 <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #15 0x634da053f13e <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #16 0x634da0540712 <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #17 0x634da080e534 <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #18 0x634da0811759 <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #19 0x634da0811238 <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #20 0x634da0811c05 <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #21 0x634da0800abf <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #22 0x634da0811f8e <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #23 0x634da07eac86 <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #24 0x634da082a3e5 <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #25 0x634da082a5cb <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #26 0x634da08387bf <unknown>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | #27 0x73baabe82ea7 start_thread
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    |
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:43:51,105|I| Logging in failed
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:43:51,112|I| Starting maintenance with interval 60 seconds
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:44:51,112|I| Maintenance
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:44:52,046|I| Attempt number 2
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:44:52,598|I| Max request retries reached after 2 attempts. Consider increasing the retries by setting IBEAM_REQUEST_RETRIES environment variable
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:44:52,598|I| NO SESSION Status(running=True, session=False, connected=False, authenticated=False, competing=False, collision=False, session_id=None, server_name=None, server_version=None, expires=None)
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:44:52,598|I| Authentication strategy: "B"
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:44:52,598|I| No active sessions, logging in...
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:44:52,598|I| Loading auth webpage at https://localhost:5000/sso/Login?forwardTo=22&RL=1&ip2loc=on
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:45:01,042|I| Gateway auth webpage loaded
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:45:01,042|I| Login attempt number 1
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:45:06,805|I| Submitting the form
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:45:07,977|I| Webpage displayed "Client login succeeds"
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:45:08,977|I| Cleaning up the resources. Display: <pyvirtualdisplay.display.Display object at 0x7841c3a30810> | Driver: <selenium.webdriver.chrome.webdriver.WebDriver (session="2a391112b2969921f736484adfb1fbaa")>
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:45:10,044|I| Logging in succeeded
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:45:11,165|I| Repeating status check attempts another 119 times
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:45:15,693|I| AUTHENTICATED Status(running=True, session=True, connected=True, authenticated=True, competing=False, collision=False, session_id='cd992beac765b3289f19f69020ee0aa1', server_name='JifZ28049', server_version='Build 10.33.1b, Dec 18, 2024 4:33:20 PM', expires=592537)
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:45:15,796|I| Gateway running and authenticated, session id: cd992beac765b3289f19f69020ee0aa1, server name: JifZ28049
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:45:51,112|I| Maintenance
ibeam_stack_ibeam.1.k4lwomivdfbp@dev01    | 2024-12-30 01:45:51,203|I| Gateway running and authenticated, session id: cd992beac765b3289f19f69020ee0aa1, server name: JifZ24019

selenium raises the ERR_CONNECTION_REFUSED error but the gateway eventually authenticates my machine.
On the IBind side, I can connect to the host, but this time get another version of the SSL: CERTIFICATE_VERIFY_FAILED error due to Hostname mismatch, certificate is not valid for 'localhost'. Probing the certificate for some details yields:
(base) dev@dev01:~/ibeam/config$ openssl x509 -in ~/ibeam/config/cacert.pem -noout -text
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            28:**:**
        Signature Algorithm: sha256WithRSAEncryption
        Issuer: C=**, ST=***, L=***, O=***, CN=localhost
		Validity
            Not Before: Dec 27 17:15:43 2024 GMT
            Not After : Dec 27 17:15:43 2026 GMT
        Subject: C=**, ST=***, L=***, O=***, CN=localhost
## More details follow

I am not sure how to proceed from here, as the certificate was meant for 'localhost' as above, but IBind does not think so.

Yay, glad to hear! 🚀
To provide localhost to the certificate you need to specify it as a SAN (or IP). Search for 'SAN' in this document: https://github.com/Voyz/ibeam/wiki/TLS-Certificates-and-HTTPS
Let me know that works for you 👍

That was it! Note that I had <IP_ADDRESS> specified as a SAN but because the connection was being made directly to localhost I had to add it as a DNS entry explicitly as a SAN. Also, I had to add 172.17.0.* as an allowed IP range in the conf.yaml.
Thanks for your help! Appreciate your time. Let's stay in touch.


CLOUD-42526 avoid account preferences' unique constraint violation

@schfeca75 or @akanto

Jenkins build failed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1734/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1735/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1736/


Saltpack.org SSL Cert Expired

I don't know if anyone monitors this still, but just letting you know that saltpack.org's SSL cert expired yesterday.

*.keybase.pub too. At the same time. :-/

Fixed!


Are demo results too slow ?

Hi,
Thanks a lot for your repo.
After testing, my demo results were

Demo for /home/alex/Desktop/RedCoast/TFFRCNN/data/demo/000022.png
Detection took 2.298s for 300 object proposals
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
Demo for /home/alex/Desktop/RedCoast/TFFRCNN/data/demo/000188.png
Detection took 2.373s for 300 object proposals

Demo for /home/alex/Desktop/RedCoast/TFFRCNN/data/demo/001150.jpg
Detection took 3.576s for 300 object proposals
Demo for /home/alex/Desktop/RedCoast/TFFRCNN/data/demo/001763.jpg
Detection took 3.410s for 272 object proposals

Demo for /home/alex/Desktop/RedCoast/TFFRCNN/data/demo/004545.jpg
Detection took 3.375s for 300 object proposals
Demo for /home/alex/Desktop/RedCoast/TFFRCNN/data/demo/000456.jpg
Detection took 3.504s for 300 object proposals

Demo for /home/alex/Desktop/RedCoast/TFFRCNN/data/demo/000542.jpg
Detection took 3.379s for 255 object proposals

It seems each image takes up to 3.5 seconds to compute. are there normal results? The paper indicates that the speed should be around 200/img.
Best,

Do you use CPU or GPU?


YouTube memberships

I am consider changing "Become a Patron" to "Become a Member" and having it link to YouTube memberships:
https://www.youtube.com/thecodingtrain/join
Then below at the bottom under support, both memberships and patreon can be linked?

How could we incorporate that into the three CTAs under "Support"? Any ideas?

Can we make a more general "Join The Coding Train" with links to both YouTube membership and Patreon?

We could also combine the "store" and have two links to DBH and Amazon in one CTA?

Sorry, I should have clarified that a little better. With "CTAs" I mean the three buttons. Having two buttons in one column or row (i. e. too close together) doesn't seem to "CTA-ish" anymore if that makes any sense... 🙃

Oh I see. Well maybe we add the YouTube member button along with "subscription" towards the top but keep Patreon in the CTA? Can the paragraph text include a link too? I did some rewriting in #799.

An extra button at the top should be OK. It might be possible to add links in the paragraph text as well. When I take a look at the PR, I'll try it out.


Permalink to latest bosh-init for a platform

The bosh-init documentation provides a helpful link to the latest version, but I would like to write a script that automatically gets the latest version and uses it. If there were a permalink that is always the latest version (e.g. http://bosh.io/bosh-init-latest-darwin-amd64 instead of https://s3.amazonaws.com/bosh-init-artifacts/bosh-init-0.0.81-darwin-amd64), that would be very helpful.
Thanks!

I've been opening a similar issue on the bbl and bosh cli v2 repos, and was about to do the same for bosh-init. Then I thought how bosh.io could provide permalinks so teams wouldn't have to.

Closing - bosh-init is no longer supported.