workspaces-issues icon indicating copy to clipboard operation
workspaces-issues copied to clipboard

kasm_agent&kasm_api(error)

Open hassanhashem22 opened this issue 2 years ago • 7 comments

i need any solution for these errors

Create Kasm An Unexpected Error occurred creating the Kasm. Please contact an Administrator

Exception creating Kasm: Traceback (most recent call last): File "init.py", line 538, in post File "provision.py", line 1199, in provision File "provision.py", line 1351, in generate_nginx_config Exception: Nginx failed to reload after generating config for container (ee012629b176626465daa94cd5226c2b2c20844b36d4c650702a6a057a7a6261) Traceback (most recent call last): File "init.py", line 538, in post File "provision.py", line 1199, in provision File "provision.py", line 1351, in generate_nginx_config Exception: Nginx failed to reload after generating config for container (ee012629b176626465daa94cd5226c2b2c20844b36d4c650702a6a057a7a6261)

An Unexpected Error occurred creating the Kasm. Please contact an Administrator : Error during Create request for Server(9a5e35cd-aa47-45f5-8070-4b42679323ef) : (Exception creating Kasm: Traceback (most recent call last): File "init.py", line 538, in post File "provision.py", line 1199, in provision File "provision.py", line 1351, in generate_nginx_config Exception: Nginx failed to reload after generating config for container (ee012629b176626465daa94cd5226c2b2c20844b36d4c650702a6a057a7a6261) )

Error during Create request for Server(9a5e35cd-aa47-45f5-8070-4b42679323ef) : (Exception creating Kasm: Traceback (most recent call last): File "init.py", line 538, in post File "provision.py", line 1199, in provision File "provision.py", line 1351, in generate_nginx_config Exception: Nginx failed to reload after generating config for container (ee012629b176626465daa94cd5226c2b2c20844b36d4c650702a6a057a7a6261) )

Nginx reload failed (2023/05/21 22:43:41 [emerg] 95#95: host not found in upstream "kasm_guac" in /etc/nginx/conf.d/services.d/kasmguac.conf:10 nginx: [emerg] host not found in upstream "kasm_guac" in /etc/nginx/conf.d/services.d/kasmguac.conf:10 )

Nginx failed to reload after generating config for container (ee012629b176626465daa94cd5226c2b2c20844b36d4c650702a6a057a7a6261)

hassanhashem22 avatar May 21 '23 22:05 hassanhashem22

When opening a bug ticket we ask for a number of items that help orient us on your setup. Can you please complete them: https://github.com/kasmtech/workspaces-issues/issues/new?assignees=&labels=bug&projects=&template=bug_report.md&title=%5BBug%5D+-+Example

The first thing I'd do is try restarting the services

sudo /opt/kasm/bin/stop
sudo /opt/kasm/bin/start

j-travis avatar May 22 '23 20:05 j-travis

When opening a bug ticket we ask for a number of items that help orient us on your setup. Can you please complete them: https://github.com/kasmtech/workspaces-issues/issues/new?assignees=&labels=bug&projects=&template=bug_report.md&title=%5BBug%5D+-+Example

The first thing I'd do is try restarting the services

sudo /opt/kasm/bin/stop
sudo /opt/kasm/bin/start

the problems still exist

hassanhashem22 avatar May 24 '23 14:05 hassanhashem22

Now i am getting that error only "No resources are available to create the requested Kasm. Please try again later or contact an Administrator : No Agent slots available. No Agent can be contacted with enough available resources to provision the image" how to solve it, i am using kasm 1.13.1

hassanhashem22 avatar May 24 '23 15:05 hassanhashem22

Please review the following documentation: https://kasmweb.com/docs/latest/guide/troubleshooting.html#no-resources-available

j-travis avatar May 24 '23 15:05 j-travis

Please review the following documentation: https://kasmweb.com/docs/latest/guide/troubleshooting.html#no-resources-available

i Have already tried this but no change the problem still exist

hassanhashem22 avatar May 24 '23 15:05 hassanhashem22

When opening a bug ticket we ask for a number of items that help orient us on your setup. Can you please complete them and paste them in the ticket: https://github.com/kasmtech/workspaces-issues/issues/new?assignees=&labels=bug&projects=&template=bug_report.md&title=%5BBug%5D+-+Example

j-travis avatar May 24 '23 15:05 j-travis

When opening a bug ticket we ask for a number of items that help orient us on your setup. Can you please complete them and paste them in the ticket: https://github.com/kasmtech/workspaces-issues/issues/new?assignees=&labels=bug&projects=&template=bug_report.md&title=%5BBug%5D+-+Example

i don't know if this is bug or not i am not reporting a bug right now i am just reporting an issue i just want to solve the issue of no resources available

hassanhashem22 avatar May 24 '23 15:05 hassanhashem22