Auth fail with SSH Key and SSH Tunnel

When trying to use an SSH Tunnel, I get the following error: Auth fail

DBeaver version: 21.3.0
MacOS 12.0.1
DBeaver SSHJ 1.0.91

My SSH key looks like this:
-----BEGIN OPENSSH PRIVATE KEY-----

[...]

-----END OPENSSH PRIVATE KEY-----

I can ssh into the server using the same SSH Key.
Error log:
!ENTRY org.jkiss.dbeaver.model 4 0 2021-12-01 16:39:31.264
!MESSAGE Cannot establish tunnel to <IP_ADDRESS>:22
!SUBENTRY 1 org.jkiss.dbeaver.model 4 0 2021-12-01 16:39:31.264
!MESSAGE Cannot establish tunnel to <IP_ADDRESS>:22
!SUBENTRY 2 org.jkiss.dbeaver.model 4 0 2021-12-01 16:39:31.264
!MESSAGE Auth fail
!STACK 0
com.jcraft.jsch.JSchException: Auth fail
	at com.jcraft.jsch.Session.connect(Session.java:519)
	at com.jcraft.jsch.Session.connect(Session.java:183)
	at org.jkiss.dbeaver.model.net.ssh.SSHImplementationJsch.setupTunnel(SSHImplementationJsch.java:111)
	at org.jkiss.dbeaver.model.net.ssh.SSHImplementationAbstract.initTunnel(SSHImplementationAbstract.java:134)
	at org.jkiss.dbeaver.model.net.ssh.SSHTunnelImpl.initializeHandler(SSHTunnelImpl.java:75)
	at org.jkiss.dbeaver.registry.DataSourceDescriptor.connect(DataSourceDescriptor.java:886)
	at org.jkiss.dbeaver.runtime.jobs.ConnectJob.run(ConnectJob.java:70)
	at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:105)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Thanks in advance.

Do you have the correct username in your connection settings by any chance? This threw me off.
Also double check your authentication method is "Public Key" and the private key field points to the correct location.

Do you have the correct username in your connection settings by any chance? This threw me off.
Also double check your authentication method is "Public Key" and the private key field points to the correct location.

Hi there.
Yes, I've checked the username and also the "Public Key" method. The private key is the same I use to connect via SSH.

@lpossamai, sorry for the late response.
Could you provide a full error log?

@lpossamai What implementation are you using? From the error log it looks like you didn't change it from Jsch

@lpossamai What implementation are you using? From the error log it looks like you didn't change it from Jsch

You are right, I did not change the implementation.
After changing it to SSHJ, I get the following error:
Can't initialize tunnel
  Cannot establish tunnel
  Cannot establish tunnel
    Exhausted available authentication methods
    Exhausted available authentication methods

@lpossamai, sorry for the late response.
Could you provide a [full error log](https://github.com/dbeaver/db

dbeaver-debug.log
eaver/wiki/Log-files)?
Sure. Hope that helps.

Stripped down log:
Uploading dbeaver-debug.log…

Hi @lpossamai. I see that you use DBeaver's build for m1. Could you please try using the x86_64 build under Rosetta and see if it helps?

Hi @lpossamai. I see that you use DBeaver's build for m1. Could you please try using the x86_64 build under Rosetta and see if it helps?

I have a Macbook PRO M1.
I asked my friend to test in a Windows machine and he confirms it works. So it's on my mac only that isn't working.

I think this is because some encryption protocol needed in your particular SSH setup is disabled in Java 17. We need to repack our macOS AArch64 package.

I'll do it simultaneously with this issue: https://github.com/dbeaver/dbeaver/issues/14771

@lpossamai Can you check if it was fixed for you in the latest version?

@lpossamai Can you check if it was fixed for you in the latest version?

Updated to the <IP_ADDRESS>112271055 version. Same issue.
Can't initialize tunnel
  Cannot establish tunnel
  Cannot establish tunnel
    Exhausted available authentication methods
    Exhausted available authentication methods

@lpossamai Sorry for waiting. Can I ask if this issue is reproducible on the x86-64 version of DBeaver?

@lpossamai Sorry for waiting. Can I ask if this issue is reproducible on the x86-64 version of DBeaver?

Hi @Destrolaric . On a PC running Windows it works. Also tested on a normal MacOS with an Intel chipset, works fine!

Thank you for the information. We will look more closely into m1 java packaging

hello, i have the same issue in windows 10, using last dbeaver version, how do you solve this?

@Jsalazar-P Could you please send me the log files? You can find instructions here: https://dbeaver.com/docs/wiki/Log-files/. Thank you.

I too am experiencing this problem.
Version <IP_ADDRESS>202200327
Ubuntu 20.04.4 LTS

These settings work from normal ssh connection:
$ ssh -i ~/.ssh/username.pem<EMAIL_ADDRESS>Welcome to Ubuntu 16.04.7 LTS (GNU/Linux 4.4.0-210-generic x86_64)
.....

I'm suspicious of the presence of the Passphrase input box when this private key does not have a pass phrase (no encrypted).
Click Test tunnel configuration.
2022-02-25 16:27:53.205 - Adding identity key
2022-02-25 16:27:53.206 - Configure tunnel
2022-02-25 16:27:53.211 - Connect to tunnel host
2022-02-25 16:27:53.211 - SSH INFO: Connecting to host.address.org port 22
2022-02-25 16:27:53.237 - SSH INFO: Connection established
2022-02-25 16:27:53.269 - SSH INFO: Remote version string: SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.10
2022-02-25 16:27:53.269 - SSH INFO: Local version string: SSH-2.0-JSCH-0.1.54
2022-02-25 16:27:53.269 - SSH INFO: CheckCiphers: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
2022-02-25 16:27:53.270 - SSH INFO: CheckKexes: diffie-hellman-group14-sha1,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
2022-02-25 16:27:53.293 - SSH INFO: CheckSignatures: ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
2022-02-25 16:27:53.294 - SSH INFO: SSH_MSG_KEXINIT sent
2022-02-25 16:27:53.295 - SSH INFO: SSH_MSG_KEXINIT received
2022-02-25 16:27:53.295 - SSH INFO: kex: server: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
2022-02-25 16:27:53.295 - SSH INFO: kex: server: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
2022-02-25 16:27:53.295 - SSH INFO: kex: server: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm<EMAIL_ADDRESS>2022-02-25 16:27:53.295 - SSH INFO: kex: server: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm<EMAIL_ADDRESS>2022-02-25 16:27:53.295 - SSH INFO: kex: server: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
2022-02-25 16:27:53.295 - SSH INFO: kex: server: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
2022-02-25 16:27:53.295 - SSH INFO: kex: server<EMAIL_ADDRESS>2022-02-25 16:27:53.295 - SSH INFO: kex: server<EMAIL_ADDRESS>2022-02-25 16:27:53.295 - SSH INFO: kex: server:
2022-02-25 16:27:53.295 - SSH INFO: kex: server:
2022-02-25 16:27:53.295 - SSH INFO: kex: client: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
2022-02-25 16:27:53.295 - SSH INFO: kex: client: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
2022-02-25 16:27:53.295 - SSH INFO: kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
2022-02-25 16:27:53.295 - SSH INFO: kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
2022-02-25 16:27:53.295 - SSH INFO: kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
2022-02-25 16:27:53.295 - SSH INFO: kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
2022-02-25 16:27:53.295 - SSH INFO: kex: client: none
2022-02-25 16:27:53.295 - SSH INFO: kex: client: none
2022-02-25 16:27:53.295 - SSH INFO: kex: client:
2022-02-25 16:27:53.295 - SSH INFO: kex: client:
2022-02-25 16:27:53.295 - SSH INFO: kex: server->client aes128-ctr hmac-sha1 none
2022-02-25 16:27:53.295 - SSH INFO: kex: client->server aes128-ctr hmac-sha1 none
2022-02-25 16:27:53.297 - SSH INFO: SSH_MSG_KEX_ECDH_INIT sent
2022-02-25 16:27:53.297 - SSH INFO: expecting SSH_MSG_KEX_ECDH_REPLY
2022-02-25 16:27:53.326 - SSH INFO: ssh_rsa_verify: signature true
2022-02-25 16:27:53.327 - SSH INFO: Host 'host.address.org' is known and matches the RSA host key
2022-02-25 16:27:53.327 - SSH INFO: SSH_MSG_NEWKEYS sent
2022-02-25 16:27:53.327 - SSH INFO: SSH_MSG_NEWKEYS received
2022-02-25 16:27:53.328 - SSH INFO: SSH_MSG_SERVICE_REQUEST sent
2022-02-25 16:27:53.353 - SSH INFO: SSH_MSG_SERVICE_ACCEPT received
2022-02-25 16:27:53.380 - SSH INFO: Authentications that can continue: publickey,keyboard-interactive,password
2022-02-25 16:27:53.380 - SSH INFO: Next authentication method: publickey
2022-02-25 16:27:53.407 - SSH INFO: Disconnecting from host.address.org port 22
2022-02-25 16:27:53.515 - Auth fail
com.jcraft.jsch.JSchException: Auth fail
	at com.jcraft.jsch.Session.connect(Session.java:519)
	at com.jcraft.jsch.Session.connect(Session.java:183)
	at org.jkiss.dbeaver.model.net.ssh.SSHImplementationJsch.setupTunnel(SSHImplementationJsch.java:126)
	at org.jkiss.dbeaver.model.net.ssh.SSHImplementationAbstract.initTunnel(SSHImplementationAbstract.java:134)
	at org.jkiss.dbeaver.model.net.ssh.SSHTunnelImpl.initializeHandler(SSHTunnelImpl.java:76)
	at org.jkiss.dbeaver.ui.net.ssh.SSHTunnelConfiguratorUI$7.execute(SSHTunnelConfiguratorUI.java:241)
	at org.jkiss.dbeaver.ui.net.ssh.SSHTunnelConfiguratorUI$TunnelConnectionTestJob.run(SSHTunnelConfiguratorUI.java:580)
	at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:105)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

This works on Windows 11. Still facing issues on MAC M1 chips

@lpossamai I think your issue is somehow related to our AArch64 packaging. The first suspect is JRE 17 we ship with this dmg. On all other packages, we use JRE 11. I think it's worth trying JRE 11 from Liberica. Unfortunately, I don't have a mac at hand at the moment, so I'll give you instructions a bit later, hopefully today or tomorrow.

@lpossamai You can try JDK 11. Liberico JDK is supplying JDK 11 for ARM M1. It may help to determine if the issue is related to the newer version of Java or the M1 version itself.
You can download it here: https://bell-sw.com/pages/downloads/.
You need to Show Package Contents on DBeaver and find Info.plist file. In this file you need to add:
<string>vm</string><string><Path to JDK></string>

Sorry @Destrolaric , but I don't have time to troubleshoot. I'm using PGADMIN 4 while you guys fix the problem. :(

Hi guys. Sorry, but any updates here?

@lpossamai Hi, it's pretty hard to reproduce this issue without knowing the algorithm that created the key. If anyone can provide us with more information about it, it will be helpful.

I tried to reproduce this, but I can't. I have generated a new ssh key with the command below and it's working now. I'll close this issue as it can't be reproduced.
ssh-keygen -t rsa -b 4096

I think it's better to convert it to the discussion there is a chance that someone with this issue can help to reproduce.

Same error ("Exhausted available authentication methods") with DBeaver 22.0.2 on Windows 11, using JSch and SSHJ. The key was generated with:
ssh-keygen -t rsa -C xxx

Hi @NeutrinoXY.  Can you please share a bit more info with us?

Log files: https://dbeaver.com/docs/wiki/Log-files/
Your OS, computer architecture, and Java version (if you use smth non-bundled)

Thank you.

Hi @akilovich, sure:
!ENTRY org.jkiss.dbeaver.model 4 0 2022-05-03 12:28:35.507 !MESSAGE Exhausted available authentication methods !SUBENTRY 1 org.jkiss.dbeaver.model 4 0 2022-05-03 12:28:35.507 !MESSAGE Exhausted available authentication methods !STACK 0 net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods 	at net.schmizz.sshj.SSHClient.auth(SSHClient.java:230) 	at net.schmizz.sshj.SSHClient.authPublickey(SSHClient.java:345) 	at net.schmizz.sshj.SSHClient.authPublickey(SSHClient.java:393) 	at org.jkiss.dbeaver.model.net.ssh.SSHImplementationSshj.setupTunnel(SSHImplementationSshj.java:95) 	at org.jkiss.dbeaver.model.net.ssh.SSHImplementationAbstract.initTunnel(SSHImplementationAbstract.java:134) 	at org.jkiss.dbeaver.model.net.ssh.SSHTunnelImpl.initializeHandler(SSHTunnelImpl.java:76) 	at org.jkiss.dbeaver.ui.net.ssh.SSHTunnelConfiguratorUI$7.execute(SSHTunnelConfiguratorUI.java:247) 	at org.jkiss.dbeaver.ui.net.ssh.SSHTunnelConfiguratorUI$TunnelConnectionTestJob.run(SSHTunnelConfiguratorUI.java:590) 	at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:105) 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
OS: Windows 11
Processor: x86
Java version: bundled with DBeaver (11.0.12).

I am having the same issue.
Yesterday everything was working fine, but today I can't connect to the database.
OS: Ubuntu 20.04
DBeaver: 22.0.4
dbeaver.log

Same problem here.
When I SSH directly (ssh@ip) to one of my Ubuntu 20 servers it works fine. And so does SSH tunnel trough DBeaver.
SSH'ing directly to my Ubuntu 22 server also works perfectly but with DBeaver and a SSH tunnel it gives a "Auth fail":
com.jcraft.jsch.JSchException: Auth fail
	at com.jcraft.jsch.Session.connect(Session.java:519)
	at com.jcraft.jsch.Session.connect(Session.java:183)
	at org.jkiss.dbeaver.model.net.ssh.SSHImplementationJsch.setupTunnel(SSHImplementationJsch.java:116)
	at org.jkiss.dbeaver.model.net.ssh.SSHImplementationAbstract.initTunnel(SSHImplementationAbstract.java:134)
	at org.jkiss.dbeaver.model.net.ssh.SSHTunnelImpl.initializeHandler(SSHTunnelImpl.java:76)
	at org.jkiss.dbeaver.ui.net.ssh.SSHTunnelConfiguratorUI$7.execute(SSHTunnelConfiguratorUI.java:247)
	at org.jkiss.dbeaver.ui.net.ssh.SSHTunnelConfiguratorUI$TunnelConnectionTestJob.run(SSHTunnelConfiguratorUI.java:593)
	at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:105)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Have the same issue. "Auth fail".
Using Windows 11 Pro, trying to connect to Ubuntu 22.04 box, using <IP_ADDRESS>206051253 Dbeaver CE
I can ssh in the servers using windows command line, powershell, from WSL2 also.
Dbeaver can't use my ssh-agent (it is up and running, tested with other apps like VSCode including in remote more, containers.
Can't use private/public key.
Also, seems not to accept ED25519 keys at all.
Probably the ssh dependency used by Eclipse needs a big update, as I can't see this as a Dbeaver issue. I'll try also using a clean Eclipse and adding a ssh connection using same addon for ssh.

Same here Windows 11
Version: 21.3.5
exhausted available authentication methods

Hi, I've just hit this problem and I managed to capture an error from the server that I wanted to connect to:
sshd[25203]: userauth_pubkey: signature algorithm ssh-rsa not in PubkeyAcceptedAlgorithms [preauth] sshd[25203]: error: Received disconnect from ***.***.***.*** port 55402:3: com.jcraft.jsch.JSchException: Auth fail [preauth]
Looks like both DBeaver ssh implementations (JSch and SSHJ) present a deprecated signature algorithm to the server when connecting.
More info about that can be found here:
https://levelup.gitconnected.com/demystifying-ssh-rsa-in-openssh-deprecation-notice-22feb1b52acd
https://security.stackexchange.com/questions/226131/openssh-declares-ssh-rsa-deprecated-what-do-i-do-next

Hi @devvick, thanks for the insight! We will dig in that direction

Team, I ran into this same error when I tried a new bastion host running Ubuntu 22.04. Things had been working (tunneling with DBeaver) when my bastion host was running 20.04. I rolled back to 20.04 and things started working again.
To be clear 22.04 works in every other way for tunneling. So, at the CLI I was able to connect to and tunnel through my bastion host. It was only DBeaver which had the issue with 22.04.
I believe this problem may stem from the ssh binaries included in Ubuntu 22.04 (running on the bastion host) and not actually from the Mac or Windows workstations where DBeaver is installed.
You could confirm you are seeing the error I reproduced by running lsb_release -a on your Ubuntu bastion host. If you see 22.04 then try an Ubuntu 20.04 to see if that resolves your issue.
If you are run RHEL/Centos or another Linux OS then I would still try different versions of OS for your bastion host to see if that resolves the issue.

Recently two client machines (Ubuntu 22.04 and Mac OS) are able to SSH but unable to use dbeaver Jsch to connect to an Ubuntu 22.04 server.
The Ubuntu 22.04 client is able to use SSHJ in dbeaver and connect.
The Mac OS client fails for both SSHJ and Jsch.
I found a bit more which seems to back up what @devvick reported:

It's indeed quite likely that the server requires rsa-sha2. JSch does not support it. And as JSch seems not to be updated anymore, it quite likely never will.
There's a fork of JSch that does though:
https://github.com/mwiede/jsch
https://stackoverflow.com/questions/73135640/jschexception-auth-fail-on-ubuntu-22-04

I would love to help resolve the issue, but am unsure what might constitute help here.

Also facing same problem, unable to connect from my Dbeaver to Ubuntu 22.04 , but I am able to to ssh into the Ubuntu machine directly.

Hey I am also facing this error:

@lpossamai What implementation are you using? From the error log it looks like you didn't change it from Jsch

You are right, I did not change the implementation.
After changing it to SSHJ, I get the following error:
Can't initialize tunnel
  Cannot establish tunnel
  Cannot establish tunnel
    Exhausted available authentication methods
    Exhausted available authentication methods

I am running on Mac M1 and I can connect directly with shh but not with Dbeaver

Colleague of mine had the same issue. Even with the same credentials and Pem keys, it failed with exhausted all authentication methods for client dbeaver Only difference was that I am on a intel Mac and he's on a M1 Mac.
The issue was resolved when he downloaded the M1/Silicon version of Dbeaver

The problem is due that ssh-keygen generated an openssh format private key, buy DBeaver expects an older PEM format.
You can convert the existing private key. But it will overwrite the original one. The commando for doing that is: ssh-keygen -t rsa -b 2048 -m PEM
Source:
https://stackoverflow.com/questions/56979849/dbeaver-ssh-tunnel-invalid-private-key

Same problem with new version Ubuntu server. But by PowerShell I connecting with same private key without any error
SSH configuration DBeaver

dbeaver-debug.log
2022-12-04 19:36:48.866 - DBeaver <IP_ADDRESS>211202223 is starting
2022-12-04 19:36:48.866 - OS: Windows 10 10.0 (amd64)
2022-12-04 19:36:48.866 - Java version: 11.0.12 by Eclipse Foundation (64bit)
2022-12-04 19:36:48.866 - Install path: 'C:\Users\salty\AppData\Local\DBeaver'
2022-12-04 19:36:48.866 - Instance path: 'file:/C:/Users/salty/AppData/Roaming/DBeaverData/workspace6/'
2022-12-04 19:36:48.866 - Memory available 474Mb/1024Mb
2022-12-04 19:36:48.866 - Create display
2022-12-04 19:36:49.076 - Initializing DBeaver 22.2.5
2022-12-04 19:36:49.086 - Host plugin: org.jkiss.dbeaver.ui.app.standalone <IP_ADDRESS>211202223
2022-12-04 19:36:49.086 - Initialize desktop platform...
2022-12-04 19:36:49.306 - BounceCastle bundle found. Use JCE provider BC
> Start Core File Systems [org.eclipse.core.filesystem 1.9.500.v20220817-1539]
> Start Core Resource Management [org.eclipse.core.resources 3.18.0.v20220828-0546]
> Start DBeaver UI Navigator [org.jkiss.dbeaver.ui.navigator <IP_ADDRESS>211202223]
> Start ���� ��������� ���������� ������ [org.eclipse.team.core 3.9.500.v20220817-1539]
2022-12-04 19:36:49.716 - Initialize base platform...
> Start Expression Language [org.eclipse.core.expressions 3.8.200.v20220613-1047]
2022-12-04 19:36:49.736 - Platform initialized (650ms)
> Start DBeaver UI Editors - Base [org.jkiss.dbeaver.ui.editors.base <IP_ADDRESS>211202223]
2022-12-04 19:36:49.746 - Starting RMI server at 35930
2022-12-04 19:36:50.716 - Run workbench
> Start Eclipse e4 SWT ������� ����� [org.eclipse.e4.ui.workbench.swt 0.16.600.v20220607-1204]
> Start Eclipse Application Services [org.eclipse.e4.core.services 2.3.300.v20220613-1047]
> Start Eclipse UI Application Services [org.eclipse.e4.ui.services 1.5.0.v20210115-1333]
> Start Eclipse e4 Progress View [org.eclipse.e4.ui.progress 0.3.500.v20220717-1456]
> Start EMF XML/XMI Persistence [org.eclipse.emf.ecore.xmi 2.17.0.v20220817-1334]
> Start Eclipse CSS SWT Theme Support [org.eclipse.e4.ui.css.swt.theme 0.13.100.v20220310-1056]
> Start Eclipse e4 ���������� ������� ����� [org.eclipse.e4.ui.workbench.addons.swt 1.4.400.v20211102-0453]
Warning: NLS unused message: WorkbenchPreference_showMultipleEditorTabsButton in: org.eclipse.ui.internal.messages
Warning: NLS unused message: Workbench_zoomChangedRestart in: org.eclipse.ui.internal.messages
> Start Eclipse e4 SWT ������������ ������� ����� [org.eclipse.e4.ui.workbench.renderers.swt 0.15.600.v20220715-1400]
> Start Eclipse Bindings Support [org.eclipse.e4.ui.bindings 0.13.100.v20210722-1426]
> Start Eclipse Dependency Injection Extensions [org.eclipse.e4.core.di.extensions 0.17.200.v20220613-1008]
> Start Eclipse CSS SWT Support [org.eclipse.e4.ui.css.swt 0.14.600.v20220621-1327]
> Start DBeaver UI [org.jkiss.dbeaver.ui <IP_ADDRESS>211202223]
Warning: NLS unused message: BlockedJobsDialog_UserInterfaceTreeElement in: org.eclipse.ui.internal.progress.messages
> Start Eclipse SDK Themes [org.eclipse.ui.themes 1.2.2000.v20220614-2134]
2022-12-04 19:36:52.835 - Configure workbench window
> Start ���� ���������� ������� [org.eclipse.help 3.9.100.v20210721-0601]
2022-12-04 19:36:52.935 - Create actions
2022-12-04 19:36:52.935 - Disable Eclipse action set 'org.eclipse.ui.edit.text.actionSet.annotationNavigation'
2022-12-04 19:36:52.945 - Disable Eclipse action set 'org.eclipse.ui.WorkingSetActionSet'
2022-12-04 19:36:52.945 - Disable Eclipse action set 'org.eclipse.ui.actionSet.openFiles'
2022-12-04 19:36:53.871 - Initialize workbench window
2022-12-04 19:36:53.881 - Finish initialization
> Start DBeaver UI Editors - Data [org.jkiss.dbeaver.ui.editors.data <IP_ADDRESS>211202223]
> Start Equinox Java Authentication and Authorization Service (JAAS) [org.eclipse.equinox.security 1.3.1000.v20220801-1135]
> Start Internet Connection Management UI [org.eclipse.ui.net 1.4.100.v20220812-1406]
> Start Internet Connection Management [org.eclipse.core.net 1.4.0.v20220813-1037]
> Start DBeaver SQL Model [org.jkiss.dbeaver.model.sql <IP_ADDRESS>211202223]
2022-12-04 19:36:55.511 - Total database drivers: 101 (101)
> Start DBeaver Sample Database [org.jkiss.dbeaver.ext.sample.database <IP_ADDRESS>211202223]
> Start DBeaver Tip of the day [org.jkiss.dbeaver.ext.ui.tipoftheday <IP_ADDRESS>211202223]
> Start DBeaver UI Editors - SQL [org.jkiss.dbeaver.ui.editors.sql <IP_ADDRESS>211202223]
> Start Draw2d [org.eclipse.draw2dl <IP_ADDRESS>21014131737]
> Start GEF3 GEF (MVC) [org.eclipse.gef3 <IP_ADDRESS>21014131737]
> Start DBeaver ERD UI [org.jkiss.dbeaver.erd.ui <IP_ADDRESS>211202223]
> Start DBeaver ERD Model [org.jkiss.dbeaver.erd.model <IP_ADDRESS>211202223]
> Start ��������� �������� �� ��������� [org.eclipse.ui.editors 3.14.400.v20220730-1844]
> Start ��������� ���������� ��������� [org.eclipse.ui.workbench.texteditor 3.16.600.v20220809-1658]
> Start DBeaver UI Editors - Connections [org.jkiss.dbeaver.ui.editors.connection <IP_ADDRESS>211202223]
> Start DBeaver PostgreSQL Support UI [org.jkiss.dbeaver.ext.postgresql.ui <IP_ADDRESS>211202223]
> Start DBeaver PostgreSQL Support [org.jkiss.dbeaver.ext.postgresql <IP_ADDRESS>211202223]
> Start DBeaver SSH tunnels UI [org.jkiss.dbeaver.net.ssh.ui <IP_ADDRESS>211202223]
> Start DBeaver SSH ������ [org.jkiss.dbeaver.net.ssh <IP_ADDRESS>211202223]
2022-12-04 19:37:07.464 - Service 'org.jkiss.dbeaver.runtime.ui.UIServiceSecurity' not found
> Start jna [com.sun.jna 5.8.0]
> Start DBeaver SSH implementation (JSch) [org.jkiss.dbeaver.net.ssh.jsch <IP_ADDRESS>211202223]
2022-12-04 19:37:11.054 - Adding identity key
2022-12-04 19:37:11.074 - Configure tunnel
> Start ���� JSch [org.eclipse.jsch.core 1.4.0.v20220813-1037]
> Start JSch UI [org.eclipse.jsch.ui 1.4.200.v20220812-1406]
2022-12-04 19:37:11.094 - Connect to tunnel host
2022-12-04 19:37:11.104 - SSH INFO: Connecting to HOST_LINK port PORT
2022-12-04 19:37:11.194 - SSH INFO: Connection established
2022-12-04 19:37:11.284 - SSH INFO: Remote version string: SSH-2.0-OpenSSH_8.9p1 Ubuntu-3
2022-12-04 19:37:11.284 - SSH INFO: Local version string: SSH-2.0-JSCH-0.1.54
2022-12-04 19:37:11.284 - SSH INFO: CheckCiphers: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
2022-12-04 19:37:11.294 - SSH INFO: CheckKexes: diffie-hellman-group14-sha1,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
2022-12-04 19:37:11.384 - SSH INFO: CheckSignatures: ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
2022-12-04 19:37:11.394 - SSH INFO: SSH_MSG_KEXINIT sent
2022-12-04 19:37:11.404 - SSH INFO: SSH_MSG_KEXINIT received
2022-12-04 19:37:11.404 - SSH INFO: kex: server: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,sntrup761x25519-sha512@openssh.com,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256
2022-12-04 19:37:11.404 - SSH INFO: kex: server: rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
2022-12-04 19:37:11.404 - SSH INFO: kex: server: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm<EMAIL_ADDRESS>2022-12-04 19:37:11.404 - SSH INFO: kex: server: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm<EMAIL_ADDRESS>2022-12-04 19:37:11.404 - SSH INFO: kex: server: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
2022-12-04 19:37:11.404 - SSH INFO: kex: server: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
2022-12-04 19:37:11.404 - SSH INFO: kex: server<EMAIL_ADDRESS>2022-12-04 19:37:11.404 - SSH INFO: kex: server<EMAIL_ADDRESS>2022-12-04 19:37:11.404 - SSH INFO: kex: server:
2022-12-04 19:37:11.404 - SSH INFO: kex: server:
2022-12-04 19:37:11.404 - SSH INFO: kex: client: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
2022-12-04 19:37:11.404 - SSH INFO: kex: client: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
2022-12-04 19:37:11.404 - SSH INFO: kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
2022-12-04 19:37:11.404 - SSH INFO: kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
2022-12-04 19:37:11.404 - SSH INFO: kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
2022-12-04 19:37:11.404 - SSH INFO: kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
2022-12-04 19:37:11.404 - SSH INFO: kex: client: none
2022-12-04 19:37:11.404 - SSH INFO: kex: client: none
2022-12-04 19:37:11.404 - SSH INFO: kex: client:
2022-12-04 19:37:11.404 - SSH INFO: kex: client:
2022-12-04 19:37:11.404 - SSH INFO: kex: server->client aes128-ctr hmac-sha1 none
2022-12-04 19:37:11.414 - SSH INFO: kex: client->server aes128-ctr hmac-sha1 none
2022-12-04 19:37:11.414 - SSH INFO: SSH_MSG_KEX_ECDH_INIT sent
2022-12-04 19:37:11.414 - SSH INFO: expecting SSH_MSG_KEX_ECDH_REPLY
2022-12-04 19:37:11.504 - SSH INFO: Host 'HOST_LINK' is known and matches the ECDSA host key
2022-12-04 19:37:11.504 - SSH INFO: SSH_MSG_NEWKEYS sent
2022-12-04 19:37:11.504 - SSH INFO: SSH_MSG_NEWKEYS received
2022-12-04 19:37:11.504 - SSH INFO: SSH_MSG_SERVICE_REQUEST sent
2022-12-04 19:37:11.584 - SSH INFO: SSH_MSG_SERVICE_ACCEPT received
2022-12-04 19:37:11.664 - SSH INFO: Authentications that can continue: publickey,keyboard-interactive,password
2022-12-04 19:37:11.664 - SSH INFO: Next authentication method: publickey
2022-12-04 19:37:11.744 - SSH INFO: Disconnecting from HOST_LINK port PORT
2022-12-04 19:37:11.894 - Auth fail
com.jcraft.jsch.JSchException: Auth fail
	at com.jcraft.jsch.Session.connect(Session.java:519)
	at com.jcraft.jsch.Session.connect(Session.java:183)
	at org.jkiss.dbeaver.model.net.ssh.SSHImplementationJsch.setupTunnel(SSHImplementationJsch.java:120)
	at org.jkiss.dbeaver.model.net.ssh.SSHImplementationAbstract.initTunnel(SSHImplementationAbstract.java:134)
	at org.jkiss.dbeaver.model.net.ssh.SSHTunnelImpl.initializeHandler(SSHTunnelImpl.java:77)
	at org.jkiss.dbeaver.ui.net.ssh.SSHTunnelConfiguratorUI$8.execute(SSHTunnelConfiguratorUI.java:307)
	at org.jkiss.dbeaver.ui.net.ssh.SSHTunnelConfiguratorUI$TunnelConnectionTestJob.run(SSHTunnelConfiguratorUI.java:732)
	at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:105)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Any movement/workaround on this

Workaround which helped me: create ECDSA key and add it to authorised_keys on Ubuntu 22.04 server.
Found here: https://www.nme.one/blog/ubuntu-22-04-mariadb-dbeaver-and-auth-fail-error/

Not sure if this helps, but if you're using Ubuntu and installed DBeaver via snap, then snap doesn't have access to ~/.ssh/ where private key is stored. So one workaround would be to copy .ssh for specific app, so to ~/snap/dbeaver-ce/current

I am using mac M1,
and I downloaded m1 build today from the dbeaver,
but getting same error while trying to connect SSH tunnel with jsch and sshj.
does anyone find the solution of this ?

Same here.

If anyone comes here trying to use ec2 instances as tunnels, please make sure that you are using the Amazon Linux 2 AMI and not the newer Amazon 2023 AMI (which is now selected by default). The latter does not work, haven't had the change to figure out why tho.
I am on version 22.2.4 of dbeaver on M1. Latest versions may change this.
Also, mongodb compass also stops working with AMI 2023 (Version 1.36.1)

well the older image enables  ssh-rsa in sshd. This is not recommended anymore thats why its disabled in the newer images

Update:
I'm no longer using MacOS therefore, cannot test this anymore. I'm currently using Fedora 38 and it works both with the OPENSSH and RSA private keys.
Dbeaver version: Version <IP_ADDRESS>305071722
Since I am not facing this issue anymore and can no longer replicate it, I'm closing this. Cheers!

Thank you for the update, @lpossamai !

Just downloaded the most recent version (23.2.4) from homebrew on a M1 Mac and faced the same problem.

Workaround which helped me: create ECDSA key and add it to authorised_keys on Ubuntu 22.04 server.
ssh-keygen -t ecdsa

Found here: https://www.nme.one/blog/ubuntu-22-04-mariadb-dbeaver-and-auth-fail-error/

I tried everything else, but this was the only solution that worked.
DBeaver version: <IP_ADDRESS>206261508
Ubuntu version: 22.04

Hi All,
The solution for this issue is to update your JDBC drivers for MariaDB if you are using MariaDB .This can be achieved by Going to Dbeaver->Database->Driver Manager and then Double click on MariaDB in the list which will open a dialog window with tabs including Settings, Libraries etc, go to the Libraries tab and then click on Download/Update in the right-hand side. Then please download the update by checking the message 'MariaDB driver files are missing' in the dialog box. Don't forget to tick the Force download/overwrite checkbox, Click on the download botton and you will get the latest update of JDBC driver. Restart the Dbeaver and Just delete your DB connection in the Dbeaver. and re add the DB connection with the warden SSH details and connection setting by deleting the older connection settings. Click on the test connection it will work fine. Refer the screenshots for easier fix.

The problem is due that ssh-keygen generated an openssh format private key, buy DBeaver expects an older PEM format.
You can convert the existing private key. But it will overwrite the original one. The commando for doing that is: ssh-keygen -t rsa -b 2048 -m PEM
Source: https://stackoverflow.com/questions/56979849/dbeaver-ssh-tunnel-invalid-private-key

Worked to me!


release/v1.7.8

Changelog
[1.7.8] (Aug 16, 2024)
Fix:

Fixed a bug where session not being reset on unauthorized error during channel fetch
Fixed a bug where browser cached messages are not being cleared on refreshing the channel

Chore:

Added enableWidgetExpandButton in Constant. Refer to Available props section in README.md file for details
WidgetWindowFullScreen no longer disconnects when widget is closed
Texts in user message that start with tel:, mailto:, or sms: are now being considered as url

/bot create ticket

[Creating Ticket] 🔖 Done https://sendbird.atlassian.net/browse/SDKRLSD-1383


H1 and H2 accuracy by class

@jlema Fixed the alignment issue in ModelComparison.

@ilmarinen your last commit is 14 days ago - could you please check if you committed the fix to the issue mentioned? Thanks!

@jlema I don't see any misalignment. Maybe do a shift refresh? I think some old CSS might be in your cache.


Maybe it would be nice to split your sdk in some modules?

Maybe it would be nice to split your sdk in some modules? The first candidates: firebase and GCM push messages. Usually only one type of push is used in one application.

This is actually something we discussed internally. We will definitely split some of the SDK features into separate modules, though there is no ETA on that.

Released in 4.0.0.


The image on Docker Hub is not multi-arch.

But the GitHub Actions workflow appears to be attempting to build and push a multi-arch image.

Perhaps the config is building both platforms with the same tag and overwriting the arm64 image with the amd64 image, instead of pushing two separate images with a multi-arch manifest?

I see now. The GitHub Action is pushing to GHCR, not Docker Hub. But the repo still exists and appears to be up-to-date (even if only amd64) on Docker Hub, and the README links to Docker Hub.
Is GHCR the canonical repository? If so, perhaps update the README and delete the Docker Hub mirror, or reconfigure the mirror to host the multi-arch image.
Cheers.

Docker hub will still be updated but README will be based on GHCR

Will Docker Hub still be amd64 only?

Yes. Docker Hub is still updated on new tag, but the legacy build process that pushes to docker hub will not be changed anymore, which is amd64 only.


Remove all the remaining occurences of SurfaceHeightFacet

This finishes the update that started with https://github.com/MovingBlocks/Terasology/pull/4237 by removing the deprecated SurfaceHeightFacet and the compatibility providers. It should only be merged once all of the remaining module PRs referencing that initial PR are merged.

In the first commit, I forgot to actually remove SurfaceHeightFacet. In the second one, I accidentally made some other incorrect changes, so I reverted that before removing just SurfaceHeightFacet in the third one. It should all be correct now.

Fails compilation in omega with
> Task :modules:AlchemyPlantGenerator:compileJava FAILED
/media/jdr/Development/Git/Terasology-omega/modules/AlchemyPlantGenerator/src/main/java/org/terasology/AlchemyPlantProvider.java:17: error: cannot find symbol
import org.terasology.world.generation.facets.SurfaceHeightFacet;
                                             ^
  symbol:   class SurfaceHeightFacet
  location: package org.terasology.world.generation.facets
/media/jdr/Development/Git/Terasology-omega/modules/AlchemyPlantGenerator/src/main/java/org/terasology/AlchemyPlantProvider.java:24: error: cannot find symbol
@Requires(@Facet(SurfaceHeightFacet.class))
                 ^
  symbol: class SurfaceHeightFacet
/media/jdr/Development/Git/Terasology-omega/modules/AlchemyPlantGenerator/src/main/java/org/terasology/AlchemyPlantProvider.java:57: error: cannot find symbol
        SurfaceHeightFacet surfaceHeightFacet = region.getRegionFacet(SurfaceHeightFacet.class);
        ^
  symbol:   class SurfaceHeightFacet
  location: class AlchemyPlantProvider
/media/jdr/Development/Git/Terasology-omega/modules/AlchemyPlantGenerator/src/main/java/org/terasology/AlchemyPlantProvider.java:57: error: cannot find symbol
        SurfaceHeightFacet surfaceHeightFacet = region.getRegionFacet(SurfaceHeightFacet.class);
                                                                      ^
  symbol:   class SurfaceHeightFacet
  location: class AlchemyPlantProvider
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
4 errors

Huh, odd. That didn't show up in my search for occurrences of "SurfaceHeightFacet" in the Terasology organisation.


ExportToNewSyntax Bug with TestPages

Exporting test objects using ExportToNewSyntax flag leads to the issues. All TestPage variables starts referencing TableData objects instead of Testpage objects.
See the screenshot. On the left it's exported withouth ExportToNewSyntax flag, on the right with ExportToNewSyntax  flag.

Same issue reported long time ago twice. In both cases it was closed but not solved...
#3037 , #2418

AL Langauge: 2.0.48254
Using NAV Model Tools from NAV 2018 build 23572

Best Regards,
Gintautas

Hi @gintuoklis ! Could you please provide a repro?

Here it is:
Create new object
OBJECT Codeunit 50000 ExportToNewSyntax Bug
{
  OBJECT-PROPERTIES
  {
    Date=29-10-18;
    Time=13:07:31;
    Modified=Yes;
    Version List=;
  }
  PROPERTIES
  {
    Subtype=Test;
    OnRun=BEGIN
          END;

  }
  CODE
  {

    [Test]
    PROCEDURE Foo@10014500();
    VAR
      CompanyInformationTestPage@10014500 : TestPage 1;
    BEGIN
      CompanyInformationTestPage.OPENVIEW;
    END;

    BEGIN
    END.
  }
}

Export it using newsyntax:
Export-NAVApplicationObject -DatabaseName $dbName -Path c:\temp\COD50000-newsyntax.txt -DatabaseServer $dbServer -LogPath $logFilePath -ExportToNewSyntax -Filter 'ID=50000;Type=Codeunit'

Export using NAV Model Tools from NAV 2018 build 23572.

The issue has been fixed in the latest release. Requests for backporting a bug fix should go through customer support.

Well, I will report it through support system. It's not a problem. The problem I see here is your strategy how to handle the bugs and manage releases in general.
I'm pretty sure many partners started or will start their (like we are doing as well) upgrade journey to AL using 2018 version. During our attempt, we stumbled so many bugs that we lost count already. Most of the bugs were already reported that shows that community works. But it really does not add any trust using AL and gives really bad first impression...


Deselect multiple cursors

When you use multiple cursors using Alt + Click, you can add multiple cursors, but you can't deselect a cursor. Once you clicked, you can't unclick it, other than Ctrl + u, which undoes the last cursor action.
Can you add a deselect feature, where you Alt + Click on an added cursor to deselect it?

Duplicate of #16486


@Supabase/SSR still showing user and cookie despite using signOut() in nextjs 14

Bug report

[x] I confirm this is a bug with Supabase, not with my own application.
[x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
I have set up middleware, client and server clients according to Nextjs and Supabase Docs but when i sign out, i still get user and session.
I am using supabase.auth.getSession() on a server component to get session and pass it to a client component. When i click "sign out" , i await supabase.auth.signOut() and then reload the page using window object. I still get to see the session and user objects which should not be the case. I have checked, cookies are CLEARED.
To Reproduce
Fetch Session on a server component. Login using oAuth and then sign out and lastly reload page.
Expected behavior
Session and user Objects should not exist considering that cookies are cleared.
Screenshots
If applicable, add screenshots to help explain your problem.
System information

OS: Mac OS
Browser: Vivaldi
Version of supabase-ssr: latest
Version of Node.js: latest stable

If anyone encounters this issue, here is the solution: https://www.youtube.com/watch?v=PdmKlne1gRY
and Supabase, PLEASE, before you ask devs to migrate to new packages, make sure you have COMPLETE documentation and resources laid out.

Also came across this issue and was confused as to why this wasn't working. I also tried the above solution without any luck.
Originally defined the signout function in the component with the "user server" like in the above video
something like the following
export default async function LoginPage() {
  const cookieStore = cookies()
  const supabase = createClient(cookieStore)

  const { data, error } = await supabase.auth.getUser()

  async function logout(event: Event) {
    "user server"
    await supabase.auth.signOut()
  }

  return data?.user ? (
    <>

Hello {data.user.email}

      <form action={logout}>
        <button>Logout yall</button>
      </form>
    </>
  ) : (
    <form>
      Email:
      <input id='email' name='email' type='email' required />
      Password:
      <input id='password' name='password' type='password' required />
      <button formAction={login}>Log in</button>
      <button formAction={signup}>Sign up</button>
    </form>
  )
}

This still confused Next. I think problem is you can't define a server running function within a server component. All I had to do was move my logout function outside the component.
If you're following along with the SSR next auth tutorial here, I just added it to the app/login/actions.ts page

...

export async function signup(formData: FormData) {
  const cookieStore = cookies()
  const supabase = createClient(cookieStore)

  // type-casting here for convenience
  // in practice, you should validate your inputs
  const data = {
    email: formData.get('email') as string,
    password: formData.get('password') as string,
  }

  const { error } = await supabase.auth.signUp(data)

  if (error) {
    redirect('/error')
  }

  revalidatePath('/', 'layout')
  redirect('/')
}

export async function logout() {
  const cookieStore = cookies()
  const supabase = createClient(cookieStore)

  await supabase.auth.signOut()

  revalidatePath('/', 'layout')
  redirect('/auth')
}

And then in my auth/page.tsx

import { login, signup, logout } from './actions'
import { cookies } from 'next/headers'
import { createClient } from '@/utils/supabase/server'

export default async function LoginPage() {
  const cookieStore = cookies()
  const supabase = createClient(cookieStore)

  const { data, error } = await supabase.auth.getUser()

  return data?.user ? (
    <>

Hello {data.user.email}

      <form action={logout}>
        <button>Logout yall</button>
      </form>
    </>
  ) : (
    <form>
      Email:
      <input id='email' name='email' type='email' required />
      Password:
      <input id='password' name='password' type='password' required />
      <button formAction={login}>Log in</button>
      <button formAction={signup}>Sign up</button>
    </form>
  )
}

Maybe super obvious in hindsight, but I didn't find it clear why the above wasn't working for me originally. Maybe this is helpful to someone.

@hydenp I just followed the same Server-Side Auth Next.js instruction from Supabase but am having an issue that my sb-localhost-auth-token cookie is not being set. This means that even though I authenticate without issue, because the cookie is never set, I can't getUser or getSession successfully any of the places that they do in the tutorial.
I notice that you are doing something different from the tutorial, which is that you are passing the cookies into createClient instead of doing that in utils/supabase/server like they do in the tutorial. Is there a reason for that?
I've literally copy and pasted from the tutorial and am having this major problem, so wondering if you had to do anything else to get this to work for you?

@jj0b , I'm not sure if this will be helpful, but I'd like to share my experience. Initially, I was creating a constant outside and calling it in every function to simplify the code. The constant was defined as follows ( as a global variable) :
const supabase = createClient();
However, I realized that this approach was incorrect. It seems that you need to create it every time you create an action. This solution fixed the issue for me. It’s possible that this information was included in the documentation, but I may have overlooked it. I hope you find this information useful.

@DAGGE3R thank you. Yes, I did see it in the docs here that you need to create the client anew for every request to the server because it needs the cookies for the request.

I think this explains why @hydenp was passing the cookieStore to createClient, but in the Supabase tutorial I linked they just create the client from scratch in multiple different places.
Turns out my issue was simply that I was using the domain <IP_ADDRESS> in my callback url instead of localhost which is where I was running my app. Even though that IP resolves to the same thing, it meant that my cookie was being written to the wrong domain. Once I updated my callback url to be at localhost everything worked.

I'm seeing the same issue after following the Supabase Auth + Next.js guide here: https://supabase.com/docs/guides/auth/server-side/nextjs
I have a /logout route that just calls signOut but none of the cookies are getting removed so the user is effectively never logged out:
import { createClient } from "@/utils/supabase/server";
import { revalidatePath } from "next/cache";
import { redirect } from "next/navigation";

export default async function Logout() {
  const supabase = createClient();

  await supabase.auth.signOut();

  revalidatePath("/", "layout");
  return redirect('/');
}

Navigating to /logout and the user is not logged out


feat(template-compiler): add set_inline_script and export_all_scripts

Several changes are included in this PR:

add TmplTree::set_inline_script and TmplGroup::set_inline_script to allow overwriting inline scripts externally with wrapped or compiled version of script
(TmplGroup) changed return type of get_inline_script from Result<Option<&str>, TmplError> to Result<&str, TmplError>, and turn Ok(None()) into an TmplError
(TmplGroup) extract codes from write_group_global_content to implement write_all_scripts, and add export_all_scripts, for exporting all scripts and process them in a different way with procGens
(TmplGroup) add export_globals to export all global runtime requirements, this can help to prevent repeating them in different target code chunks
add new and missing interfaces for C binding and JS binding
(JS binding) drop mut from self in get_tmpl_gen_object, get_tmpl_gen_object_groups, get_wx_gen_object_groups, since they seems do not need to be mutable
(C binding) update header with cbindgen

All requested changes resolved


[FAB-18145] Implement CLI commands to submit/cancel/list snapshot requests

Signed-off-by: Wenjian Qiao<EMAIL_ADDRESS>Type of change

New feature

Description

peer snapshot submitrequest
peer snapshot cancelrequest
peer snapshot listpending

Related issues
story: https://jira.hyperledger.org/browse/FAB-17690
subtask: https://jira.hyperledger.org/browse/FAB-18145

/ci-run

/ci-run

/ci-run

@manish-sethi Thank you. I have addressed your comments and pushed a new commit.


[wip] feat: update dependencies

Closes #19

[x] Update dependencies
[x] Update bloc code
[x] Add unit tests

@leonardo2204 I only added a few tests to get the ball rolling.

Hey @chimon2000 ,thanks for your effort! Later the Day I'll check your PR!

LGTM, thanks for the effort!!

Added one more fix for #22 which I discovered while trying to run locally.

Thanks!

@leonardo2204 I don't think I have permissions to merge.

Sorry, just merged it! Thanks again!


Compatibility with Ruby 1.8.x

In Ruby 1.8, we have to use the old way to describe hash. Moreover,
destructuring doesn't work in function signatures.
I am unable to run tests with Ruby 1.8 as newer versions of Bundle are not compatible with it anymore and older versions take forever to pull stuff from rubygems. I have tested manually the main functions (healthcheck, certificate renewal).
It would be totally OK for me to not merge this PR. If people are still using older installations of Ruby with Puppet, they should find this PR.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Refactor API Users Controller #update tests

Trello card
Changes in this PR
Refactors the API Users Permissions Controller tests for the #update action to make things a bit easier to read and ensure we're testing the right things to prevent false positives. It also attempts to bring tests in line with the other Permissions Controller tests.
Like #3110, this is a rework of #3107, in which I felt I tried to change too much in one go, was difficult to review and modify.
This application is owned by the publishing platform team. Please let us know in #govuk-publishing-platform when you raise any PRs.
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠
Follow these steps if you are doing a Rails upgrade.

Thanks for the review @yndajas. Going to merge this because rebasing has become a bit of a nightmare with the moving around of contexts etc but do let me know if there's anything you'd like me to address in a subsequent PR.


origins:hotblooded

What does origins:hotblooded mean?
Also what is the power type used for the scare_creepers because I want to make one called scare_skeletons?

Hotblooded makes you immune to Poison and Hunger status effects.
Scare Creepers doesn't have a power type but is hardcoded, thus can't be generalized to other mobs.
I added an issue as a feature request for this: #144


Apple Safari WebKit Selections Use-After-Free Vulnerability in tui-editor-Editor-full.js

I'm one of the lead developers of the ABP Framework.
We are using Tui Editor and Tui Code Snippet in some modules of the framework. See https://www.npmjs.com/package/@abp/tui-editor
One of our clients reported that, their security team doesn't allow downloading Tui Editor packages because of a vulnerability in the source-code.
I'm not fully aware what's the under hood of this vulnerability.
But it's called Apple Safari WebKit Selections Use-After-Free Vulnerability and reported in tui-editor-Editor-full.js
Can you please check out this issue?

Related links:

https://support.abp.io/QA/Questions/1517/Corporate-firewall-blocking-template-download-due-to-tui-editor-Editor-fulljs
https://nvd.nist.gov/vuln/detail/CVE-2010-1812

@ebicoglu
We do not provide 'tui-editor-Editor-full.js' after v2.x.
v1.x is currently in a difficult situation to maintain, so upgrade is recommended if possible.

This was in a WebKit. Good security team. If those kids could read they'd be very upset.

@davidskuza
Yes, that's right, Webkit is a great security team, but we may not be able to respond well to it.
I want to respond to all errors in the legacy version, but it is difficult to respond realistically.
How about you? What did you contribute here before you criticized it? We are doing our best for our open source quality. Please respect the open source community before making this blind criticism.

You also do not understand what you read. The reported bug (CVE) is a bug in WebKit's HTTP response parser. This has nothing even to do with JavaScript. You cannot access or modify WebKit's parser from JS. You cannot trigger it from frontend (maybe today with web services, idk). It's not tui.editor bug, it was WebKit's. This company has missconfigured their software which detects JS, frontend code as a bug in WebKit's HTTP response parser from 2010... If this would be a bug in tui.editor that would mean every developer could craft such JS code to take over your device which is obviously not the case. I guess tui.editor has some parts of code which were also used 11 years ago in some exploit for WebKit so their firewall thinks tui is a malware. This is classic false positive.

@davidskuza
Well, I see. I misunderstood because there was no clear subject to talk about. I'm sorry.


float16 argmax breaks on negative inputs

Description
float16 implementation of argmax seems to treat negative numbers as if they were zero.
Environment info (Required)
----------Python Info----------
Version      : 3.6.1
Compiler     : GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)
Build        : ('default', 'May 11 2017 13:04:09')
Arch         : ('64bit', '')
------------Pip Info-----------
Version      : 9.0.1
Directory    : /Users/taliesinb/.anaconda3/lib/python3.6/site-packages/pip
----------MXNet Info-----------
Version      : 0.12.1
Directory    : /Users/taliesinb/.anaconda3/lib/python3.6/site-packages/mxnet-0.12.1-py3.6.egg/mxnet
Hashtag not found. Not installed from pre-built package.
----------System Info----------
Platform     : Darwin-17.3.0-x86_64-i386-64bit
system       : Darwin
node         : T-Book.local
release      : 17.3.0
version      : Darwin Kernel Version 17.3.0: Thu Nov  9 18:09:22 PST 2017; root:xnu-4570.31.3~1/RELEASE_X86_64
----------Hardware Info----------
machine      : x86_64
processor    : i386
b'machdep.cpu.brand_string: Intel(R) Core(TM) i7-7567U CPU @ 3.50GHz'
b'machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ DTES64 MON DSCPL VMX EST TM2 SSSE3 FMA CX16 TPR PDCM SSE4.1 SSE4.2 x2APIC MOVBE POPCNT AES PCID XSAVE OSXSAVE SEGLIM64 TSCTMR AVX1.0 RDRAND F16C'
b'machdep.cpu.leaf7_features: SMEP ERMS RDWRFSGS TSC_THREAD_OFFSET BMI1 AVX2 BMI2 INVPCID SMAP RDSEED ADX IPT SGX FPU_CSDS MPX CLFSOPT'
b'machdep.cpu.extfeatures: SYSCALL XD 1GBPAGE EM64T LAHF LZCNT PREFETCHW RDTSCP TSCI'
----------Network Test----------
Setting timeout: 10
Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.2516 sec, LOAD: 1.4235 sec.
Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.3097 sec, LOAD: 0.5009 sec.
Timing for Gluon Tutorial(cn): https://zh.gluon.ai, DNS: 0.4425 sec, LOAD: 1.4291 sec.
Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.2759 sec, LOAD: 1.3082 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.2479 sec, LOAD: 1.0078 sec.
Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.2734 sec, LOAD: 0.7072 sec.

Package used (Python/R/Scala/Julia):
I'm using Python.
Minimum reproducible example
This code will calculate the argmax on two three-vectors, returning two integers. The first integer is  correct, the second, which corresponds to the negative inputs, is incorrect. Seems to happen on both CPU and GPU.
import mxnet as mx
import numpy as np
data = mx.symbol.Variable('data')
argmax = mx.symbol.argmax(data, axis=-1)
exec = argmax.simple_bind(ctx=mx.cpu(), data=(2, 3), type_dict={'data':np.float16})
exec.forward(is_train=True, data=np.asarray([[1,2,3],[-4,-3,-2]], dtype=np.float16))
exec.outputs

This messes up accuracy metrics, for example, when doing half-precision training. You can work around it by adding a large constant offset before taking the argmax, but its obviously a horrible hack that isn't always going to work.

@reminisce

Looks like a bug of the argmax operator itself, not about simple_bind, because the following test on maximum op could generate correct result. Will dig deeper.
data1 = mx.sym.Variable('data1')
data2 = mx.sym.Variable('data2')
sym = mx.sym.maximum(data1, data2)
exe = sym.simple_bind(ctx=mx.cpu(), data1=(1,), type_dict={'data1': np.float16, 'data2': np.float16})
exe.forward(is_train=True, data1=np.array([-3], dtype=np.float16), data2=np.array([-4], dtype=np.float16))
print(exe.arg_dict['data1'].dtype)
print(exe.arg_dict['data2'].dtype)
print(exe.outputs[0])

Unary reduce ops have the problem of handling float16 correctly. For example,
a = mx.nd.array([-2, 0], dtype=np.float16)
print(mx.nd.max(a))
[  6.10351562e-05]
<NDArray 1 @cpu(0)>

I'm guessing it might be related to setting initial minimum value for float16 type.
https://github.com/dmlc/mshadow/blob/2d7780c3f2eefe4453fa419862d1b2089bedb8d5/mshadow/extension/reduce_with_axis.h#L121

The predefined max/min values in the format of float16 are wrong. The largest float16 is 65504, while the following code gives 57312.
>>> a = mx.nd.array([65504, 65504], dtype='float16')
>>> mx.nd.min(a)
[ 57312.]
<NDArray 1 @cpu(0)>


Search results should only show results for pages in the same language

Currently, it appears that results from a search are not restricted to the language the site is currently being viewed in but show results across languages. The search results should only show pages in the language the site is currently in.
@ehmadzubair Could you look into this?

Will do


Add LooksRare API Polling

What's New
LooksRare API Polling!

Artbot will poll LooksRare API every 20 seconds (tentative number, just felt like a happy medium)
Polls the 25 most recent Sales/Listings for OG/V2 contracts
-- 4 endpoints
For each endpoint, it keeps track of the latest event timestamp-wise, and will only report events to Discord if they are newer than the last batch of events it saw

Also added infrastructure to make it easier to add other API Polling bots in the future!
Screenshots!
Visually the embeds are identical to the current OS ones - just with an added "LooksRare" note in the seller field
Listings:

Sales:

Apologies for some of these whitespace changes - changes my local Prettier config made that the eslint did not convert back

LGTM to merge–this is really exciting work.
Reminder that we have to do these deployments manually for now, a'la the convo here: https://discord.com/channels/822311470133542912/930922401808670780/968562463366848513


Add cypress support for the integration use cases

The plugin repo should have a cypress suite focused on the integration scenarios.
This effort is different from the regular functional test effort that happens in the main Kiali repo, it shouldn't overlap/duplicate areas of testing.
The scope should be the links between pages and some specific special rendering that happens in the plugin context.
To make it easier, we could follow what other plugins are doing like the KubeVirt one:
https://github.com/kubevirt-ui/kubevirt-plugin/tree/main/cypress
Also, it's out of the scope of this work to include them in any automation system (yet), the ideal would be to have something similar to other plugins, a local script that can launch these tests pointing them to a local cluster with OpenShift + Kiali + Plugin deployed.

I can start this task by adding a skeleton setup that allows adding initial coverage to the integration.
It would be out of the scope to "automate" it, this first step would help to run tests in a development scenario to avoid manual testing.

I've started an investigation on this task, and it seems that cypress has known limitations with cross-origin iframes
, which is the current design that the plugin uses
https://docs.cypress.io/guides/guides/web-security#Cross-origin-iframes
https://github.com/cypress-io/cypress/issues/136
I did some experiments based on those workarounds and comments from cypress users but don't work well on my tests (too many flaky tests).
So, this task may be put on hold until it can be dedicated more time and the cypress community show some progress.
I hit what most of the users reported in that thread.

I crated this draft https://github.com/kiali/kiali/pull/6892
Please lets discuss what is optimal way how to authorize into OCP web console. Preserving/triggering regular authorization for Kiali web app or a backed might be vital for overall testing.

Updated list of PR's, resolving this epic as done :tada:


Installation of oxuva==0.0.1

Hello,
Quick questions:
The Oxuva package in the file: environment.yml is supposed to be the long term tracking benchmark? Or is there another package with the same name?
Also when executing the cmd pip install oxuva==0.0.1, I get an ERROR indicating that there is no matching distribution for oxuva. Do you have any clues on how to install the package and is the package mandatory for THOR?
Thank you for your time and consideration!

hey,
it is actually not necessary, I deleted it from the requirements. Thanks for noticing :)


Animation Delay

What is the default animation delay and how can we reduce it further ?

There's no delay in any of the animations of this library by default, but you can of course, change the animations duration. Just change the default value of 1s to your needs in the .animated class.

Thanks . that helped.


Update CHANGELOG for v0.11.1 release

Local validation using staticcheck v0.4.0 and golangci-lint v1.51.1 are succeeding.
It looks like the CI failures are related to atc0005/go-ci image updates from earlier this AM. Will file a separate GH issue for that and resolve there.


Fix trivy entrypoint command

Trivy v0.23.0 removed the deprecated root command for trivy [image-name]. The old command has been replaced by trivy image [command options] image_name.
Fixes #122

🙏

Can I help? I'd like to get builds running again.

Yeah, currently builds are impacted. Do we know when this fix be available?

@koushdey - would you be able to review/approve this PR?  (sorry for being pushy but this action is currently broken and needs a fix ASAP.)

@ajinkya599 it looks like you recently contributed to this repo. Any chance you can help out?

Bump!  @shigupt202 @microsoftopensource Can we get approval of this or #125 to remedy this regression?  Actions are failing across GitHub since  trivy lastest has deprecated the call without the image command.

Scanning for vulnerabilties in image: <image name>
Error: An error occurred while scanning container image: <image name> for vulnerabilities.


2: <IP_ADDRESS>.3 suggested Improvement - Case 2

Section Number  2: <IP_ADDRESS>.3
Issue *clarify Case 2... there's one matching record...
Proposed Change
Case 2: The Patient Demographics Supplier finds at least one patient record matching the criteria sent in the query parameters. One or more patient identifier domains are requested via the mechanism specified in Section <IP_ADDRESS>.2.4, and Patient Demographics Supplier recognizes all domains.
HTTP 200 (OK) is returned as the HTTP status code.
The Patient Demographics Supplier performs its matching and returns a bundle as described in Case 1. The Patient Demographics Supplier eliminates identifiers from the result set which do not exist in the list specified per Section <IP_ADDRESS>.2.4 (domains to be returned). If all entries in the list of patient identifiers are eliminated, which would leave the patient identifiers list empty, then the entry shall not be present in the response bundle.
Delete the last sentence, right???  the beginning of the case says there is at least one matching record
Priority:

Medium: Significant issue or clarification. Requires discussion, but should not lead to long debate.

correct. Given that Case 2 is specifically one or more are found, then the last sentence is never applicable. Further the sentence structure is problematic. So agree to remove the sentence


Negating a previous capture with "not" in rewrites

It could just be that I am misunderstanding how this works. But I've tried every combination I can think of. My goal is to direct all routes without /dp to index, and everything with /dp to it's html file. Is this possible?
      rewrites: [
        { source: '!/dp', destination: '/index.html' },
        { source: '/dp/:id', destination: '/dp/:id.html' }
      ],

Edit: This is NOT related to #77 ... I've rolled back to 5.0.7 and tested on that version as well.

      rewrites: [
        { source: '!/dp/**', destination: '/index.html' },
        { source: '/dp/:id', destination: '/dp/:id.html' }
      ],

The solution was to add /** afterwards. This seems like an odd requirement but it did what I wanted. Maybe it's still a bug? Not sure. I'm going caution on user error. Closing this issue. o/


Option to not store duplicate items

Would it be possible to have an option that I can use to make PSReadLine not to store duplicate entries?
Also, is there a limit on the history search? It seems like I can only go back about 1,000 history entries.
Thank you!

Sorry - I read the help file and found the options.


Add AWS OIDC config when used with environment

Why:
I spent time to figure out why I got this error: "Error: Not authorized to perform sts:AssumeRoleWithWebIdentity". I found an issue on the AWS Credentials Action repository: https://github.com/aws-actions/configure-aws-credentials/issues/511#issuecomment-1289602876.
What's being changed (if available, include any code snippets, screenshots, or gifs):
Add one more example of AWS trusted entity configuration corresponding to the case where environment is used in GitHub Actions.
Check off the following:

[x] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

@Prevole - Many thanks for raising this PR.
Unfortunately, content/actions/deployment/security-hardening-your-deployments/** is one of the areas of the docs we don't accept PRs for in this repository.
However, I've asked out OIDC experts to take a look at your suggested change and if they agree we will make this change internally.
I'll leave this PR open for now, until an SME has taken a look, then we'll close this out.
Thanks again for raising this. We really appreciate you taking time to do this. 👍

@paveliak - Many thanks for checking this. 👍
I've added an internal PR to make this change, so I'll close this PR.
@Prevole - Thank you for making this clarification to the docs. Much appreciated.

This change is now published:
https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services#configuring-the-role-and-trust-policy
@Prevole - Many thanks again for working to improve the GitHub docs. 👏

@hubwriter : Thanks for the change.


[Bug Report] Getting error: gym.error.NameNotFound: Environment doesn't exist.

Hi, I'm not sure if this is a bug or if I'm doing something wrong, but I'm trying to use this project with the gym interface. I'm getting the following error
gym.error.NameNotFound: Environment MiniWorld-CollectHealth doesn't exist.
Code example
import gym
import gym_miniworld

env = gym.make("MiniWorld-CollectHealth-v0")

System Info

miniworld installed from source
Running Manjaro (Linux)
Python v3.10.8

Additional context
I did some logging, the environments get registered and are in the registry immediately afterwards. But then later, when calling gym.make,  they are not in the registry anymore:

I've tried the exact same workflow on a similar project, where it does work. So, not sure if this is a bug or what else to do here?

Could you try
import gym
import gym_miniworld

print(gym.envs.registry.keys())
env = gym.make("MiniWorld-CollectHealth-v0")

On a fresh install, gym contains the environment for me but raises an error related to pyglet instead of NameNotFound

With installing via pip, I run into another problem. For running on a cluster, setting the PYOPENGL_PLATFORM environment does not seem to be working? (the alternative solution mentioned is not relevant for me)
PYOPENGL_PLATFORM=egl python3 your_script.py
I also tried this locally, and get the same error (in pyglet)
ValueError: Unknown OpenGL API: None

@BolunDai0216 Would you be able to help with this?

That solved most of the problems, thank you! I'm still seeing the ValueError: Unknown OpenGL API: None on my cluster, but I assume for pyglet to work the underlying OpenGL drivers etc. should be set up?

Yes, I think OpenGL should be setup.


[Minecraft Color Codes] Add support for changing section sign to '&'

Extension
https://www.raycast.com/lafkpages/minecraft-color-codes
Description
Since most servers use '&' as a replacement for the section sign, there could be a keybind to swap the '§'s in the copy menu for ampersand.
Who will benefit from this feature?
Anyone who plays on servers and needs to quickly copy a color code.
Anything else?
No response

@raycastbot assign me


Rewrite RaceConfig in C++

Pending testing.

[ ] Dolphin
[ ] Console

Closes #819.

Tested 2 ghosts on Dolphin; this patch works. Behavior should not be different on Console.


Migrate Otel contrib packages to separate plugins

Currently we add all otel contrib packages and start them whether the user intends to use them or not. We should move these packages into separate plugins at the agent level (instead of service) i.e. under plugins/agent directory.
We should also group them and enable them based on what they work with, e.g. all AWS contrib packages can be under plugins/agent/otel-aws and all k8s plugins can be under plugins/agent/otel-k8s.

This will be solved as part of #1510

This is done in b57dcf11ebef6c6908735ec05fbc0deadc2c725d


Error when serializing u128

Trying to serialize u128 integers results in:
Error("u128 is not supported", line: 0, column: 0)

I am very confused. I checked serde-yaml's Cargo manifest to see if there's a feature to enable serialization of u128 integers, then I checked serde's and serde_derive's Cargo manifests and I found nothing.
How do I enable the serialization for u128? It looks like it's not documented anywhere. I see that the serialization methods for u128 and i128 are behind s a serde_if_integer128 macro, which basically checks if the integer128 feature is enabled, but nowhere at all is specified how to enable it.
My Rust compiiler evidently supports u128 integers, as I use them in the code. The version is:
rustc 1.47.0 (18bf6b4f0 2020-10-07)

Sorry, I posted the issue in the wrong repository! This was meant for serde_json! Unbelievable. 🤦♂


check if the owner is the same as the pool owner

Description
The gateway pool is identified only by the farm name. This causes issues when switching identities, since the pool owner changes and the gateways available on mainnet are different from testnet. In this PR, a check is added for the owner and a new pool is created in case of mismatch.

We agreed to add the owner/explorer in the model to be easy in comparision and avoid duplication


for me

add to  https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fprabhasha2006%2FRed-Dragon.git&sa=D&sntz=1&usg=AOvVaw0BZWpPzowsS3GJ0JJa-cOR

done


Docker: Single command line install of NewsBlur

Let's fix the Dockerfile and make a single command line install of NewsBlur, complete with DB dependencies.

May I suggest adding automatically updated, pre-built Docker images to DockerHub, similar to tt-rss and FreshRSS?  It would make installation easier for users who prefer not to build locally.

What commands would you want to see in the README? I don't run NewsBlur containerized myself so I'd be interested to hear how you would expect it to be run?

I've never used NewsBlur so it would be great if some other users would comment.  I'm just here because I wanted to compare NewsBlur with tt-rss, and I was hoping for a quick simple docker install.  Since I couldn't find it, I figured I'd leave my +1 on this issue and check back later.
But my opinion:
Automated builds:
Have an automated build system that automatically sends an image to DockerHub with the tag "dev" every time any code change gets checked in.  Have another automated build that sends an image with the tag "latest" every time a tested release gets published, so the users who subscribe to that tag can always keep their docker container running your latest release.
Simple standalone pre-built docker image:
The automated build should be a docker image that just installs the plain NewsBlur app.  The image should let the users specify a hostname, database credentials, etc to point the NewsBlur app to any database we want.
Feature-complete docker-compose
Have a docker-compose.yml file that includes that standalone pre-built image, plus the database, plus all the other stuff NewsBlur needs.  Ideally, the optional pieces (redis and elasticsearch?) should be optional so if a user does not want redis, they can comment that out of the docker-compose file and NewsBlur will still run happily without it.  The current docker-compose file in your GitHub has a "build" section, which IMO should be removed and replaced with pre-built images.
You could check out what some other projects are doing on DockerHub.  LinuxServer is a popular organization that creates really good docker images. It takes some time to get everything set up initially, but the upkeep is mostly automated and having good Docker support will probably eliminate 90% of user confusion and questions about installation.  Even ongoing user support would be easier since every user will have exactly the same version of every component.  From the user perspective, it turns a system with 500 parts into a system with 10 parts.

Personally I'm looking to run it for a single user, so for myself, a Simple standalone pre-built docker image that I bind mount a data directory for the database would be ideal. I don't even care to configure anything beyond the basics as required.

While it's not the most thorough or vetted implementation, I have a Makefile here that will not only do a single-command standup of NewsBlur, but also enforces an e2e test that the instance will allow a user to sign up successfully. YMMV. Let me know if anyone finds this useful and/or has any questions or feedback.

Take a look at the docker_django3.0 branch which has the latest code. If you want to propose any changes, please submit a PR to that branch. We're actively working on it and would appreciate all the outside input we can get.

Could I migrate the DB of an existing setup to docker_django3.0 branch? Hopping it to be backward compatible.

Could I migrate the DB of an existing setup to docker_django3.0 branch? Hopping it to be backward compatible.

It will be backwards compatible. We're working this week and next on migration. We'll also document in the README how to accomplish that. cc @jmath1


What is the intuition behind all three keys inside action?

In the below function , what does world_vector , rotation_delta , gripper_closedness_action mean ??
def step_map_fn(step):
return {
'observation': {
'image': tf.image.resize(step['observation']['image'], (128, 128)),
},
'action': tf.concat([
step['action']['world_vector'],
step['action']['rotation_delta'],
step['action']['gripper_closedness_action'],
], axis=-1)
}

These are the descriptions I could find in the README of RT1 dataset:

world_vector - commanded end-effector displacement, in base-relative frame
rotation_delta - rpy commanded orientation displacement, in base-relative frame
gripper_closedness_action - continuous gripper position


The compiler accepts {{yield}} outside macros

I was experimenting with macros and came up with the following code that I think suspect should not compile. However, it does compile and prints nothing when run. Also, the call to nothing returns nil.
def nothing
  {{yield}}
end

nothing do
  puts "Hello"
end

In fact, it can be compiled:
p {{yield}}

It seems like a bug to me.


Remove empty .resx, Part 4

Same as Part 3.

@NextTurn Can you look at the build errors on this PR? Many of them are real errors introduced by removing controls declared in the XAML.

@BillWagner I think the "not declared/defined/found" errors are due to designer codes not being generated. IIUC specifying the host as Visual Studio may fix these.

Tagging @adegeo for review.

Microsoft.Ink.dll doesn't exist on the CI server. Everything else is OK.

We should revert the changes to WinformWPFInk as it doesn't work on .NET Core nor newer SDK style projects. It compiles fine on my machine only when in the old framework style project format.

We should revert the changes to WinformWPFInk as it doesn't work on .NET Core nor newer SDK style projects. It compiles fine on my machine only when in the old framework style project format.

I don't think so. I can successfully compile this project with Microsoft.Ink.dll downloaded from a third-party website.

There is something wrong with the vsmcustomcontrolvb2 project on my machine. I've added reference assemblies.

C:\Program Files\dotnet\sdk\3.1.300\Microsoft.Common.CurrentVersion.targets(1177,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.8 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [docs\samples\snippets\visualbasic\VS_Snippets_Wpf\vsmcustomcontrol\visualbasic\vsmcustomcontrolvb2_suh2x50y_wpftmp.vbproj]

Well yes, if I downloaded the DLL it would work too, but that doesn't help the CI system verify the code :)
The DLL is winforms specific. I looked around and I believe the DLL is from the XP era (Windows Tablet Edition SDK). Really the sample needs to be updated to use the latest ink tech for winforms. However, searching the docs here, only the SAVE/LOAD method snippets for WPF are used, which work fine. So this whole snippet should be rewritten or really all the winforms stuff ripped out of it. Why the snippet authors merged winforms + wpf into the same project and further into the same code file, I don't know.
Why (on my machine) the system can't find the DLL when using newer SDK projects that target .NET Framework, I have no idea. But if I revert the changes back to a .NET Framework project, it compiles fine on my machine.
To solve your compile problem, you probably just need to download the 4.8 developer pack: https://dotnet.microsoft.com/download/dotnet-framework/thank-you/net48-developer-pack-offline-installer
(Or don't target 4.8 on the project. I actually used 4.0 but it still wouldn't compile with the SDK-style project)

@adegeo I tweaked the path to Microsoft.Ink.dll according to Managed Library and Controls (Tablet PC) and the project compiles on CI now. 🚀

docs\samples\snippets\visualbasic\VS_Snippets_Wpf\vsmcustomcontrol\visualbasic\Window1.xaml(14,23): warning BC40004: WithEvents variable 'MouseLeave' conflicts with event 'MouseLeave' in the base class 'UIElement' and should be declared 'Shadows'. [docs\samples\snippets\visualbasic\VS_Snippets_Wpf\vsmcustomcontrol\visualbasic\vsmcustomcontrolvb2_z3g42gjw_wpftmp.vbproj]
docs\samples\snippets\visualbasic\VS_Snippets_Wpf\vsmcustomcontrol\visualbasic\Window1.xaml(15,23): warning BC40004: WithEvents variable 'MouseEnter' conflicts with event 'MouseEnter' in the base class 'UIElement' and should be declared 'Shadows'. [docs\samples\snippets\visualbasic\VS_Snippets_Wpf\vsmcustomcontrol\visualbasic\vsmcustomcontrolvb2_z3g42gjw_wpftmp.vbproj]

There are two warnings left.

@NextTurn  Thanks for all the hard work and adapting to our new processes!


Add info on GC type and expand README info

thanks

Were you planning to publish a new version to npm?


Why are you using not bounded thread pool by default?

https://github.com/square/okhttp/blob/878bde8fd6939b508adeb21e2911e390cfe27326/okhttp/src/main/java/okhttp3/Dispatcher.java#L65

There are separate tunable limits per client, but also ways to reuse clients that could cause additional connections and threads to be required.  So I think any sensible limit applied here would cause issues.  However the limits in place should stop a client instance used sensible from creating an unbounded number of threads in practice.

https://github.com/square/okhttp/blob/878bde8fd6939b508adeb21e2911e390cfe27326/okhttp/src/main/java/okhttp3/Dispatcher.java#L47-L48
Looks like the request cound queued up unlimited and could cause OOM, is there a way to config dispatcher to have a bounded ready queue? Otherwise I have to bound it outside.

If it's a concern you should bound it outside. Otherwise we'd need a mechanism to configure the limits and reject things and very few users benefit from that.

Thanks!

@swankjesse @mjsaber
By bounding the queue outside, do you mean doing something like the following? Will there be any performance impact for doing this check for every send request?
private void sendAsync(Request request) throws IOException {
      if (**(okHttpClient.dispatcher().queuedCallsCount())>=20000**){
                //log here say not sending anymore
                //rate limited
                logger.severe("Dropping the batch due to slower response time from server");
                failureCount.accept(1);
                return;
      }
     okHttpClient.newCall(request).enqueue(new Callback(){...});
}

Yep!

That looks reasonable!

Me ayudarían a configurar Docker Buildx gracias.sera de gran ayuda


Manual Job fails with Error: "A calculate job for rollup 'Next Available Appointment' is already executing. If you suspect it is not already running try clearing the Calculate Job ID field and try again."

Every morning I run a job, and it has been failing since 3 days ago. Upon clicking "Run Calculate Job" I get the error message, and the Jod ID field is populated with an ID. The job runs if I clear the field, but I suspect it is not completing as the next morning the issue is reoccurring.

This was a regression at one point, try upgrading to the latest version that should sort it. 👍


gradient issue

HI, @vinsis  Thanks for the pytorch implementation of the TTN.
I have an issue about the code. In quantionization.py line14:
should  full_precision_grad = a * full_precision_data * w_p_data + b * full_precision_data * w_n_data + c * full_precision_data * 1 be
 full_precision_grad = a * grad_data* w_p_data + b * grad_data* w_n_data + c * grad_data* 1?
It seems the original gradient not used if employing full_precision_data .

Thanks for pointing out @blueardour. Good catch! I fixed the issue and found that the model training is much more stable now. I was able to get an accuracy of 98.5% on quantized model.
I have added the updated code, logs and weight to the repo.


[ci skip] adding user @raybellwaves

Hi! This is the friendly automated conda-forge-webservice.
I've added user @raybellwaves as instructed in #3.
Merge this PR to add the user. Please do not rerender this PR or change it in any way. It has [ci skip] in the commit message to avoid pushing a new build and so the build configuration in the feedstock should not be changed.
Please contact conda-forge/core to have this PR merged, if the maintainer is unresponsive.
Fixes #3

Happy to help review PR's here if needed


[customer:money (g3)] [US] [<Platform: Android/iOS>] - Crash Signature: GrMtlGpu::insertFence-4e2ec500

https://b.corp.google.com/issues/173700659 for Google discussion. Conversation should occur there, please.
cc @zanderso.

There's now a screenshot on the upstream bug, but I'm not sure how useful it is.

Will bring this up with Skia in the sync later today.

Update: The Skia team is unable to reproduce this and looking for help with a reduced test case.

This should be fixed by https://github.com/google/skia/commit/f557aef55f5df1666920677e0b84ce5fef425033 in Skia.


Add a hard timeout to rsync processes.

This PR turns the already existing rsync-timeout config option into a hard timeout on the rsync process.
Because this can’t be done with just the std library, we are using a current-thread Tokio runtime to do this via a set of futures.
Resolves #367.

Really nice addition!
On Thu, 29 Apr 2021, 11:57 Martin Hoffmann, @.***>
wrote:

This PR turns the already existing rsync-timeout config option into a
hard timeout on the rsync process.
Because this can’t be done with just the std library, we are using a
current-thread Tokio runtime to do this via a set of futures.
Resolves #367 https://github.com/NLnetLabs/routinator/issues/367.
You can view, comment on, or merge this pull request online at:
https://github.com/NLnetLabs/routinator/pull/528
Commit Summary

Add a hard timeout to rsync processes.

File Changes

M Cargo.toml
https://github.com/NLnetLabs/routinator/pull/528/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
(2)
M src/collector/rsync.rs
https://github.com/NLnetLabs/routinator/pull/528/files#diff-e57d79ca1723d587fc04b15e683b1f41a82dc81824909dad52ff860d04e71bb2
(139)

Patch Links:

https://github.com/NLnetLabs/routinator/pull/528.patch
https://github.com/NLnetLabs/routinator/pull/528.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/NLnetLabs/routinator/pull/528, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABQTESOZKM27DXZ2TZDCU3TLEURLANCNFSM43ZR5KQA
.


Remove sinatra version dependency to allow for 2.0

Looks good to me! All tests pass locally with updated dependencies (just a few warnings about the existing use of raise_error without a specified error; I'll fix that separately).
Thanks, @evanboho!


CMYK roundtrip via pipelineColourspace should not convert to sRGB internally

Possible bug
With the code I provided in this repo https://github.com/Aminelahlou/sharpCmykTest we can see that color conversion happens even if I stated that pipelinecolorspace is cmyk and to colorspace is cmyk.
when I launch my script (as described below and in the git repo I made, I should get an image full of C:100 M:0 Y:0 K:0 values (same values than input image)
But here is the current behaviour:
When I launch node test-sharp.js I get a new image with values of C: 66 M: 18 Y:0 K:1
maybe I don't understand the docs but it seems sharp is doing a conversion here (either CMYK => (s)RGB => CMYK or CMYK=> CMYK) maybe there is also something I didn't understand in the docs but i have searched in issue 218 and did not found any answer.
Is this a possible bug in a feature of sharp, unrelated to installation?

[x] Running npm install sharp completes without error.
[x] Running node -e "require('sharp')" completes without error.

If you cannot confirm both of these, please open an installation issue instead.
Are you using the latest version of sharp?

[x] I am using the latest version of sharp as reported by npm view sharp dist-tags.latest.

npm view sharp dist-tags.latest gives me 0.32 and in package-lock:
"sharp": {
"version": "0.32.0"
...
}

If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of sharp that is not the latest, please open an issue against that package instead.
What is the output of running npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp?

npx: installed 1 in 3.391s

  System:
    OS: Windows 10 10.0.19044
    CPU: (8) x64 Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz
    Memory: 4.07 GB / 15.81 GB
  Binaries:
    Node: 14.15.1 - C:\Program Files\nodejs\node.EXE
    npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD

What are the steps to reproduce?

Code:
const sharp = require("sharp");

const sharpInstance = sharp("./input/test-sharp-input.tif")
  .pipelineColourspace("cmyk")
  .toColourspace("cmyk")
  .toFile("./output/test-sharp-output.tif");

"./input/test-sharp-input.tif" contains a tiff image without any profile and full of CMYK pixel with Cyan value of 100 (other values are 0)
I have made a public repository at https://github.com/Aminelahlou/sharpCmykTest
What is the expected behaviour?

I should not make any color conversion wether SRGB=> CMYK CMYK=> CMYK or CMYK => SRGB.
and when I launch npm i and then node test-sharp.js I should get a new image in the output folder with exact same value which are Cyan:100 M:0 Y:0 K:0
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem

https://github.com/Aminelahlou/sharpCmykTest
const sharp = require("sharp");

const sharpInstance = sharp("./input/test-sharp-input.tif")
  .pipelineColourspace("cmyk")
  .toColourspace("cmyk")
  .toFile("./output/test-sharp-output.tif");

Please provide sample image(s) that help explain this problem
sample image is in the github repo in the input  folder and is called test-sharp-input.tif

Thanks for reporting, commit b763801 fixes this and adds a unit test that would previously have failed.
It looks like the "This feature is experimental..." warning for pipelineColourspace() will stay in place for a bit longer ;)
https://sharp.pixelplumbing.com/api-colour#pipelinecolourspace

Hello,
Thanks for your very quick answer! I have other suggestions when it comes to colorSpace/pipelineColorspace:
1- Can I use modulate function on a cmyk image without converting to srgb?
2-Can I extract embedded data of the profile to better understand what the profile would do ? Taking into account the specification of ICC File format : https://www.color.org/icc32.pdf. It would really help many people I believe to better understand what a profile is actually doing. Extracting profile data (i.e. conversions matrices) and enabling to test colorspace conversions (not only CMYK) would really help.
3-Should'nt toColorSpace function always use explicit argument on what profile is actually used to make the conversion? I find it very weird that withMetadata is the actual function that controle what profile we use for conversion.
4-does pipeline colorspace work only with CMYK or all types of colorsspaces (lab for exemple)
Thanks again for your amazing work
If I may help to make any/all of these points work, please let me know. Even though I am no expert in c, I have come to get some understanding on profile conversion and nodejs.

Commit https://github.com/lovell/sharp/commit/5f8646d93779ae802a4f5e5a47ea1c60e817d9a4 adds support for this, which will also be in v0.32.1
You may be interested in https://github.com/lovell/icc
It might make sense to allow this for only the scenario where CMYK is either input or output colourspace, yes. If a CMYK input image has an embedded profile, which is highly recommended, then this will already be used.
It should work with any colourspace, but it is still experimental and there are likely to be some operations that don't yet work with it.

v0.32.1 now available with these fixes.

I have checked resize and modulate it works perfectly fine! thanks for your amazing work !

I have listened to you and checked the icc package. I started working on a pr on this package following this issue : https://github.com/lovell/icc/issues/2


[BUG Report + fix]: Saving after loading tf.keras model

Description
It seems that loading the model adds two KeyValuePair to Tensorflow.Train.AutoTrackable. Their keys are non_trainable_variables and layers. Their values are of type Tensorflow.Loader._UserObject.
So saving the model seems to get other KeyValuePair values from TrackableSavedModelSaver.trackable_children(cache) and concatenates them with the KeyValuePair values from Tensorflow.Train.AutoTrackable. This causes a conflict between two values with the same key names (non_trainable_variables and layers) and different values types (Tensorflow.Training.ListWrapper and Tensorflow.Loader._UserObject.)
Converting the concatenated KeyValuePair values to a dictionary will cause the error.
Reproduction Steps
            var layers = tf.keras.layers;

            Tensor input = tf.keras.Input((-1, 1), name: "input_place_holder");
            Tensor hiddenLayer1 = layers.Dense(7, activation: "linear").Apply(input);
            Tensor output = layers.Dense(2, activation: "linear").Apply(hiddenLayer1);
            var model = tf.keras.Model(input, output);

            Tensor results0 = model.predict(tf.constant(new float[,] { { -8 } }));

            model.save("./saved_model/");

            //___________________________________________________________________//
            //___________________________________________________________________//
            model = tf.keras.models.load_model("./saved_model/");

            Tensorflow.NumPy.NDArray inputs = new Tensorflow.NumPy.NDArray(new float[,] { { -5 }, { -4 }, { -3 }, { -2 }, { -1 }, { 0 }, { 1 }, { 2 }, { 3 }, { 4 }, { 5 } });
            Tensorflow.NumPy.NDArray outputs = new Tensorflow.NumPy.NDArray(new float[,] { { 0, 2 }, { 1, 4 }, { 2, 6 }, { 3, 8 }, { 4, 10 }, { 5, 12 }, { 6, 14 }, { 7, 16 }, { 8, 18 }, { 9, 20 }, { 10, 22 } });

            float learningRate = 0.01f;
            model.compile(optimizer: tf.keras.optimizers.SGD(learningRate), loss: tf.keras.losses.MeanSquaredError());

            model.fit(inputs, outputs, epochs: 1000);

            model.save("./saved_model/");

            Tensor results1 = model.predict(tf.constant(new float[,] { { -8 } }));

Known Workarounds
I have just removed the two KeyValuePair values of Tensorflow.Train.AutoTrackable before converting the concatenated KeyValuePair values to dictionary. And it seems to work just fine.
Fix:
In line 30 in the file Tensorflow.Keras/Engine/Layer.Serialize.cs:
return children.Concat(base._trackable_children(save_type, cache)).ToDictionary(x => x.Key, x => x.Value);
---> return children.Concat(base._trackable_children(save_type, cache)).GroupBy(x => x.Key).Select(g => g.First()).ToDictionary(x => x.Key, x => x.Value);
Configuration and Other Information
No response

Sorry for reply you so late. You can commit a PR to TensorFlow.NET. and your contributions are more than welcome. ^_^

That would be my pleasure. Thank you for the suggestion.


[android-client-build] - Add create android client build form.

Re-opened due to base branch change see https://github.com/aerogear/origin-web-console/pull/41

Create jenkins pipeline build config for android applications.
Enable "Create Build" option only when mobile CI/CD provisioned and client type is Android

Verification:

[ ] Create project with Mobile CI/CD provisioned and an android client
[ ] Select "Create Build" from the android clients action menu
[ ] Create a new build for a public repo, debug build type, start the pipeline and verify it completes
[ ] Create a new build for a private repo, debug build type, start the pipeline and verify it completes
[ ] Create a new build for a public repo, release build type, start the pipeline and verify it completes
[ ] Create a new build for a private repo, release build type, start the pipeline and verify it completes

To create a test keystore certificate, use the following:
keytool -genkey -v -keystore testcert.keystore -alias testcert -keyalg RSA -keysize 2048 -validity 10000
keytool -importkeystore -srckeystore testcert.keystore -destkeystore testcert.p12 -deststoretype PKCS12 -srcalias testcert

Notes:

Test application with a working Jenkinsfile can be found in this repo https://github.com/mikenairn/helloworld-android-gradle/tree/5xjenkinsfile

LGTM @mikenairn

Verified

[x] Verified that the Create Build option under the actions menu of a mobile client is only available when it is an android client and when mobile ci|cd is provisioned.
[x] Successfully completed a build for a public repo with a build type of debug.
[x] Successfully completed a build for a public repo with a build type of release.
[x] Successfully completed a build for a private repo with a build type of debug.
[x] Successfully completed a build for a private repo with a build type of release.

@sedroche @mikenairn I noticed that the Create Build option is available even when the mobile ci|cd provision hasn't finished yet. I think this should be disabled until the service has finished provision because builds created before that will fail. wdyt?
I've also noticed that when an error occurs during build creation, it seems that a build is still created. These errors mostly occur due to duplicate secret names for the git ssh key/keystore cert. The form doesn't exit out to the client view and stays on the same page. Is this a known behaviour?

@mikenairn There is a filter for isServiceInstanceReady to check for when the service is finished provisioning.
We will need to add some validation of secret and build config names

Thanks @JameelB

I noticed that the Create Build option is available even when the mobile ci|cd provision hasn't finished yet.

Yes you are right, had meant to come back to this. Will update the test to use the filter @sedroche described above.

I've also noticed that when an error occurs during build creation, it seems that a build is still created.

The way this form is working is a bit wrong tbh, in that it is creating multiple resources with one create action. Instead of doing this, we should be using an approach seen on other forms where we instead ask the user to select an existing secret, or they are moved off this form to another modal view to create a new secret. This way errors would be handled as expected and the user can deal with the errors at the correct time.
I think making these changes is probably better than trying to hack in validation as it currently is, so will create a follow on issue for that. This was deemed low priority before, but considering it can cause issues with resources being created when they shouldn't, we could maybe change that.

@mikenairn Creating a follow up issue for this sounds good to me. I'll review it again once the filter is used :+1:

Couple of follow on issues created:

https://issues.jboss.org/browse/AEROGEAR-2815
https://issues.jboss.org/browse/AEROGEAR-2814