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

java.lang.illegalArgumentException: illegal character in authority at index 7: http://localhost:9090 /api/uploadHar #688

Open
Ravikm941 opened this issue Oct 25, 2023 · 5 comments

Comments

@Ravikm941
Copy link

Ravikm941 commented Oct 25, 2023

Hi Team,

I'm facing this error

java.lang.illegalArgumentException: illegal character in authority at index 7: http://localhost:9090 /api/uploadHar

@ayushaga14
Copy link
Contributor

Hey @Ravikm941, thanks for trying out Akto. I can see there is a space between 9090 and /api, which is causing the issue here. Can you provide a little more context on this. Are you trying out Akto via Local Deploy?

@Ravikm941
Copy link
Author

Hey @ayushaga14 , yes, I'm using Akto for local deployment on Docker and using the Burp Suite extension. However, in my localhost portal, the project is not showing. When I tried to refresh the URL, it displayed an error. I also attempted to access the URL without spaces, but it resulted in a 404 forbidden error in the browser.

@Ravikm941
Copy link
Author

Any update on this issue?

@avneesh-akto
Copy link
Contributor

avneesh-akto commented Nov 1, 2023

Hi @Ravikm941. Update the AKTO_IP variable in akto burp extension without leading spaces and try again. To access dashboard just go to localhost:9090/

@ayushaga14
Copy link
Contributor

@Ravikm941 can you try the above once ^ and let us know if it works. Else we can connect over a call and sort this

ayushaga14 pushed a commit that referenced this issue Jan 3, 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

3 participants