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

Experiencing "Error invoking remote method 'send-http-request`: TypeError: Invalid URL" in Bruno UI on Windows but not Mac. #2702

Open
2 tasks done
dave-stone-bah opened this issue Jul 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dave-stone-bah
Copy link

dave-stone-bah commented Jul 25, 2024

I have checked the following:

  • I use the newest version of bruno.
  • I've searched existing issues and found nothing related to my issue.

Describe the bug

Note: Our remote services require access via proxy. These have been set up globally in the Bruno settings for Proxy.

When attempting to send requests with the same collection and same proxy tunnel, our Windows users are experiencing the following error response, while requests are successful on Macs:

Error invoking remote method 'send-http-request`: TypeError: Invalid URL

Bruno UI Version: 1.22.0

Steps to Reproduce:

  1. Set up global Proxy in Bruno > Settings > Proxy.
    • Enabled: ✅
    • Protocol: HTTP
    • Hostname: 127.0.0.1
    • Port: 9443
    • Auth: ✅
    • Username/Password: confirmed correct
    • Proxy Bypass: set according to our tunnel recommendations
  2. Start our local AWS proxy tunnel.
  3. Open request and choose environment that contains variable values for path/request parameters.
    • An example of a URL in our collection that fails: {{base.url}}/v2/job-review/:jobId
  4. Execute request.

Expected Result: A JSON response with proper HTTP status.
Actual Result: Error invoking remote method 'send-http-request`: TypeError: Invalid URL

I'm not sure if the issue is with the Windows client or a proxy issue. I was hoping someone could tell me if there's a way to get more Bruno internal error logging via the UI in order to troubleshoot these types of errors? I tried opening the Developer Tools, but didn't see anything there related to this error.

I'm wondering if this has anything to do with path parameter resolution that was an issue before 1.20.4?
Reference: #2439, Fixed by #2465

Thanks for any help you all can provide in figuring this out!

.bru file to reproduce the bug

No response

Screenshots/Live demo link

This screenshot is from a huddle with a team member on Windows that is experiencing this issue.
image

I know this doesn't really look or seem helpful, but this is all that we're getting in response and I'm unsure how to troubleshoot.

Also note that we attempted to use a fully-resolved URL instead of one with variable placeholders and still received the same error. No indication in the Developer Tools > Network tab that any request was even sent.

@dave-stone-bah dave-stone-bah added the bug Something isn't working label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant