Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when show workspaces #496

Closed
abdoqaidhaidar opened this issue Jun 8, 2024 · 1 comment
Closed

error when show workspaces #496

abdoqaidhaidar opened this issue Jun 8, 2024 · 1 comment

Comments

@abdoqaidhaidar
Copy link

Hi

i have this error

Faraday> workspace select mhsinj
EXCEPTION of type 'Exception' occurred with message: Unknown error: <class 'Exception'> - Unknown error: <class 'TypeError'> - string indices must be integers, not 'str'

Faraday> workspace dashboard
EXCEPTION of type 'RequestError' occurred with message: ("operation=client_error, response=Response(url='http://127.0.0.1:5985/_api/v3/ws/filter?q=%7B%22filters%22%3A%20%5B%7B%22name%22%3A%20%22active%22%2C%20%22op%22%3A%20%22eq%22%2C%20%22val%22%3A%20%22true%22%7D%5D%7D', method='GET', body='<!doctype html>\n\n<title>400 Bad Request</title>\n

Bad Request

\n

Foreign field active not found in submodel

\n', headers=Headers({'content-type': 'text/html; charset=utf-8', 'content-length': '133', 'date': 'Sat, 08 Jun 2024 16:59:17 GMT'}), status_code=400, client_response=<Response [400 BAD REQUEST]>)", Response(url='http://127.0.0.1:5985/_api/v3/ws/filter?q=%7B%22filters%22%3A%20%5B%7B%22name%22%3A%20%22active%22%2C%20%22op%22%3A%20%22eq%22%2C%20%22val%22%3A%20%22true%22%7D%5D%7D', method='GET', body='<!doctype html>\n\n<title>400 Bad Request</title>\n

Bad Request

\n

Foreign field active not found in submodel

\n', headers=Headers({'content-type': 'text/html; charset=utf-8', 'content-length': '133', 'date': 'Sat, 08 Jun 2024 16:59:17 GMT'}), status_code=400, client_response=<Response [400 BAD REQUEST]>))

my workspaces

image

faraday-agent-dispatcher==3.2.1
faraday-agent-parameters-types==1.5.1
faraday-cli==2.1.11
faraday-plugins==1.18.0
faradaysec==5.2.2

Linux root 6.6.9-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.6.9-1kali1 (2024-01-08) x86_64 GNU/Linux

@ezk06eer
Copy link

ezk06eer commented Jun 9, 2024

@abdoqaidhaidar if you want to submit a but greport there is a template for it.
we will appreciate you follow the rules for reporting a bug.

Before submiting a bug please update all of the components to the latest, as it is the only way to prepare the scenario, plase next time upgrade all of the components to the latest version.

faraday-agent-dispatcher 3.4.1
faraday-agent-parameters-types 1.6.0
faraday-cli 2.1.11
faraday-plugins 1.18.0
faradaysec 5.3.0

We know dashboard command is not available. it will be fixed soon, but for compatibility upgrade all of the software to latest.

Proper project to send the bug report to: faraday-cli

closing the issue as invalid.

Regards!

@ezk06eer ezk06eer closed this as completed Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants