Re: Logs for API calls

2022-04-21 Thread Jim Rx
Matthieu,

 

The commands work independently...if I use the command "New-GuacUser -DataSource mysql -Parameters $GuacParameters" to create a single user, it works fine. I start getting the error when I put the command into a foreach loop and pull in names from a text file.

 

Other functions, like "Add-GuacUserConnection" in a foreach loop work just fine.

 

I will open an issue on github as you ask.

 

Still, if there is a log someplace that can show me these API calls, it might help reveal what the issue is.

 

Jim

 
 

Sent: Thursday, April 21, 2022 at 12:42 PM
From: "Matthieu Courtois" 
To: user@guacamole.apache.org
Subject: Re: Logs for API calls



Hello,

 

Please open an issue on Github, I will check what is going on

 

UpperM

 


Le jeu. 21 avr. 2022 à 15:36, Jim Rx  a écrit :




Hello,

 

I am using a powershell guacamole module from UpperM on GitHub that seems to work very well. However, I've been having trouble with adding groups of users. The server returns an HTTP 500 Internal Server Error. Does Guacamole keep logs specific to API cals? I'm hoping to see what is causing the error.

 

Thanks

 

Jim


- To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org For additional commands, e-mail: user-h...@guacamole.apache.org






-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org



Re: Logs for API calls

2022-04-21 Thread Matthieu Courtois
Hello,

Please open an issue on Github, I will check what is going on

UpperM

Le jeu. 21 avr. 2022 à 15:36, Jim Rx  a écrit :

> Hello,
>
> I am using a powershell guacamole module from UpperM on GitHub that seems
> to work very well. However, I've been having trouble with adding groups of
> users. The server returns an HTTP 500 Internal Server Error. Does Guacamole
> keep logs specific to API cals? I'm hoping to see what is causing the error.
>
> Thanks
>
> Jim
> - To
> unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org For additional
> commands, e-mail: user-h...@guacamole.apache.org


Logs for API calls

2022-04-21 Thread Jim Rx
Hello,

 

I am using a powershell guacamole module from UpperM on GitHub that seems to work very well. However, I've been having trouble with adding groups of users. The server returns an HTTP 500 Internal Server Error. Does Guacamole keep logs specific to API cals? I'm hoping to see what is causing the error.

 

Thanks

 

Jim

-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org



What is the right format to import ssh private key in user-mapping.xml (guacamole 1.4)

2022-04-21 Thread Willy Manga

Hello,

I certainly miss something, but I don't see what.

I want to use authentication via ssh key.

Here is what my user-mapping.xml looks like
http://paste.debian.net/1238561/ ( I have just removed the actual content)

When I try to connect to the remote host, I'm prompted to enter a key 
passphrase on the screen even though it was blank in my case. If I hit 
"ENTER", I have this message in the log: "Auth key import failed: (null)"


Are there spaces I should remove, carriage return?


--
Willy Manga
@ongolaboy
https://ongola.blogspot.com/


OpenPGP_signature
Description: OpenPGP digital signature


Re: How to allow "WebSocket | HTTP tunnel request" with IPv6?

2022-04-21 Thread Willy Manga

Hi Alves,

On 19/04/2022 15:32, Henri Alves de Godoy wrote:

Hi Willy,

Assuming that your server where the tomcat/guacd daemon is is dual-stack
and your internal environment is IPv6-only


What if I want to avoid any IPv4 config ..

Here's what I want


+--+
| Network of hosts |
| using IPv6-only  |
+--+
|
|
| (IPv6)
|
+-+
|Guacamole/Tomcat |
+-+
|
|
| (IPv6)
|
+-+
|  Nginx  |
+-+
|
|
(IPv4)  | (IPv6)
|
+-+
|   Internet  |
+-+




In the host configuration, put the IPv6 of the remote machine you want to
access.


I don't have any issue accessing v6 hosts provided by guacamole.


You can also change in guacd to bind the v6 address of localhost ::1


Here is my issue. By default, when you build from scratch guacamole 1.4 
on debian 11, it will listen to ::1 . That setup will not work unless I 
missed something.


I had to tell guacd to bind to 127.0.0.1 :(

Otherwise I got this


Apr 21 10:29:12 guac2 tomcat9[1811]: 10:29:12.870 [http-nio-8080-exec-6] 
INFO  o.a.g.r.auth.AuthenticationService - User "gogo" successfully 
authenticated from 2001:db8:43:cafe::1.


Apr 21 10:29:14 guac2 tomcat9[1811]: 10:29:14.423 [http-nio-8080-exec-9] 
ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket 
tunnel to guacd failed: java.net.ConnectException: Connection refused 
(Connection refused)


Apr 21 10:29:15 guac2 tomcat9[1811]: 10:29:15.369 [http-nio-8080-exec-1] 
ERROR o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request failed: 
java.net.ConnectException: Connection refused (Connection refused)



--
Willy Manga
@ongolaboy
https://ongola.blogspot.com/


OpenPGP_signature
Description: OpenPGP digital signature


Installation error with mvn in Archlinux

2022-04-21 Thread Joan Figueras

Hello.

I'm trying to build guacamole-client with "mvn package" in Archlinux. 
But it complains about a missing file:


[INFO] [webpack-cli] Error: ENOENT: no such file or directory, open 
'/home/figue/packages/figue/guacamole-client/src/guacamole-client-1.4.0/guacamole/src/main/frontend/dist/npm-dependencies.txt'

[INFO] at Object.openSync (fs.js:497:3)
[INFO] at Object.writeFileSync (fs.js:1528:35)
[INFO] at 
/home/figue/packages/figue/guacamole-client/src/guacamole-client-1.4.0/guacamole/src/main/frontend/plugins/dependency-list-plugin.js:137:16
[INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create 
(/home/figue/packages/figue/guacamole-client/src/guacamole-client-1.4.0/guacamole/src/main/frontend/node_modules/tapable/lib/HookCodeFactory.js:33:10), 
:36:1)
[INFO] at AsyncSeriesHook.lazyCompileHook 
(/home/figue/packages/figue/guacamole-client/src/guacamole-client-1.4.0/guacamole/src/main/frontend/node_modules/tapable/lib/Hook.js:154:20)
[INFO] at onCompiled 
(/home/figue/packages/figue/guacamole-client/src/guacamole-client-1.4.0/guacamole/src/main/frontend/node_modules/webpack/lib/Compiler.js:271:21)
[INFO] at 
/home/figue/packages/figue/guacamole-client/src/guacamole-client-1.4.0/guacamole/src/main/frontend/node_modules/webpack/lib/Compiler.js:681:15
[INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create 
(/home/figue/packages/figue/guacamole-client/src/guacamole-client-1.4.0/guacamole/src/main/frontend/node_modules/tapable/lib/HookCodeFactory.js:33:10), 
:6:1)
[INFO] at AsyncSeriesHook.lazyCompileHook 
(/home/figue/packages/figue/guacamole-client/src/guacamole-client-1.4.0/guacamole/src/main/frontend/node_modules/tapable/lib/Hook.js:154:20)
[INFO] at 
/home/figue/packages/figue/guacamole-client/src/guacamole-client-1.4.0/guacamole/src/main/frontend/node_modules/webpack/lib/Compiler.js:678:31
[INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create 
(/home/figue/packages/figue/guacamole-client/src/guacamole-client-1.4.0/guacamole/src/main/frontend/node_modules/tapable/lib/HookCodeFactory.js:33:10), 
:9:1)
[INFO] at AsyncSeriesHook.lazyCompileHook 
(/home/figue/packages/figue/guacamole-client/src/guacamole-client-1.4.0/guacamole/src/main/frontend/node_modules/tapable/lib/Hook.js:154:20)
[INFO] at 
/home/figue/packages/figue/guacamole-client/src/guacamole-client-1.4.0/guacamole/src/main/frontend/node_modules/webpack/lib/Compilation.js:1423:35
[INFO] at AsyncSeriesHook.eval [as callAsync] (eval at create 
(/home/figue/packages/figue/guacamole-client/src/guacamole-client-1.4.0/guacamole/src/main/frontend/node_modules/tapable/lib/HookCodeFactory.js:33:10), 
:9:1)
[INFO] at AsyncSeriesHook.lazyCompileHook 
(/home/figue/packages/figue/guacamole-client/src/guacamole-client-1.4.0/guacamole/src/main/frontend/node_modules/tapable/lib/Hook.js:154:20)
[INFO] at 
/home/figue/packages/figue/guacamole-client/src/guacamole-client-1.4.0/guacamole/src/main/frontend/node_modules/webpack/lib/Compilation.js:1414:32 
{

[INFO]   errno: -2,
[INFO]   syscall: 'open',
[INFO]   code: 'ENOENT',
[INFO]   path: 
'/home/figue/packages/figue/guacamole-client/src/guacamole-client-1.4.0/guacamole/src/main/frontend/dist/npm-dependencies.txt'

[INFO] }
[INFO] npm ERR! code ELIFECYCLE
[INFO] npm ERR! errno 2
[INFO] npm ERR! @ build: `webpack --progress`
[INFO] npm ERR! Exit status 2
[INFO] npm ERR!
[INFO] npm ERR! Failed at the @ build script.
[INFO] npm ERR! This is probably not a problem with npm. There is likely 
additional logging output above.

[INFO]
[INFO] npm ERR! A complete log of this run can be found in:
[INFO] npm ERR! /home/figue/.npm/_logs/2022-04-21T06_26_43_058Z-debug.log

I've pushed full log and npm logs here: 
https://mirror.lnx.im/archlinux/guacamole/


Thanks for your feedback.
Greetings
--
Joan


-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org