[GH-ISSUE #1739] An exception occurred when I used the 'repeat' request function #1732

Open
opened 2026-03-03 19:53:51 +03:00 by kerem · 7 comments
Owner

Originally created by @Matinanana on GitHub (Aug 14, 2023).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1739

Originally assigned to: @NghiaTranUIT on GitHub.

Description

When I click on a duplicate request, there will be an exception

Steps to Reproduce

  1. Select a request
  2. Click to repeat

Current Behavior

CleanShot 2023-08-14 at 10 50 18@2x

Environment

  • App version: Version 4.9.0 (49000)
  • macOS version: macos Ventura 13.0
Originally created by @Matinanana on GitHub (Aug 14, 2023). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1739 Originally assigned to: @NghiaTranUIT on GitHub. ## Description <!--- Description for the bug? --> When I click on a duplicate request, there will be an exception ## Steps to Reproduce <!-- Add relevant code and/or a live example --> 1. Select a request 2. Click to repeat ## Current Behavior <!--- What went wrong? --> <img width="981" alt="CleanShot 2023-08-14 at 10 50 18@2x" src="https://github.com/ProxymanApp/Proxyman/assets/34468553/7586d379-0ab8-493f-947f-3dd127f24f3e"> ## Environment - App version: Version 4.9.0 (49000) - macOS version: macos Ventura 13.0
Author
Owner

@NghiaTranUIT commented on GitHub (Aug 17, 2023):

It's hard to know why. @Matinanana Can you "copy as cURL", then run on your Terminal, to see if you can get the Response ? 🤔

<!-- gh-comment-id:1681569727 --> @NghiaTranUIT commented on GitHub (Aug 17, 2023): It's hard to know why. @Matinanana Can you "copy as cURL", then run on your Terminal, to see if you can get the Response ? 🤔
Author
Owner

@NghiaTranUIT commented on GitHub (Aug 17, 2023):

HTTPClientError, code = 1, means the EmptyHost. Can you double check if the Host Header is presented?

<!-- gh-comment-id:1681570233 --> @NghiaTranUIT commented on GitHub (Aug 17, 2023): HTTPClientError, code = 1, means the `EmptyHost`. Can you double check if the Host Header is presented?
Author
Owner

@Elengar commented on GitHub (Oct 20, 2023):

@NghiaTranUIT
Hi there!

I've been encountering the same issue, and it's started in mid-August too.
Currently, I'm using Pro Version 4.12.0 (49300) on Ventura 13.4.1.

Everything works fine via cURL, and with --proxy http://localhost:9090 in cURL, it even displayed correctly Proxyman.
The Host header is present as well.

The error message is 'The operation couldn’t be completed. (AsyncHTTPClient.HTTPClientError error 1.)' and it arises after a 30-second timeout after 'repeat' clicked.

Let me know if you need any logs or other details from me.

<!-- gh-comment-id:1772036784 --> @Elengar commented on GitHub (Oct 20, 2023): @NghiaTranUIT Hi there! I've been encountering the same issue, and it's started in mid-August too. Currently, I'm using Pro Version 4.12.0 (49300) on Ventura 13.4.1. Everything works fine via cURL, and with --proxy http://localhost:9090 in cURL, it even displayed correctly Proxyman. The Host header is present as well. The error message is 'The operation couldn’t be completed. (AsyncHTTPClient.HTTPClientError error 1.)' and it arises after a 30-second timeout after 'repeat' clicked. Let me know if you need any logs or other details from me.
Author
Owner

@NghiaTranUIT commented on GitHub (Oct 20, 2023):

Can you export the request to ProxymanLog and share it with me at support@proxyman.io 🤔

I'd need this log to investigate. Otherwise, it's really difficult to fix it.

<!-- gh-comment-id:1772037722 --> @NghiaTranUIT commented on GitHub (Oct 20, 2023): Can you export the request to ProxymanLog and share it with me at support@proxyman.io 🤔 I'd need this log to investigate. Otherwise, it's really difficult to fix it.
Author
Owner

@Elengar commented on GitHub (Oct 20, 2023):

How do I export logs to ProxymanLog?

By the way, if i use 'Edit and Repeat', then i get 'Deadline exceeded' error after 30 seconds. However in this case the request in the list finishes even after 30 seconds. Using just 'Repeat,' it never finishes after 30s.

If this timeout is global across the app (and applies to 'Repeat'), could you please make it possible to set this timeout somewhere in the settings?

<!-- gh-comment-id:1772061430 --> @Elengar commented on GitHub (Oct 20, 2023): How do I export logs to ProxymanLog? By the way, if i use 'Edit and Repeat', then i get 'Deadline exceeded' error after 30 seconds. However in this case the request in the list finishes even after 30 seconds. Using just 'Repeat,' it never finishes after 30s. If this timeout is global across the app (and applies to 'Repeat'), could you please make it possible to set this timeout somewhere in the settings?
Author
Owner

@NghiaTranUIT commented on GitHub (Oct 20, 2023):

Maybe I will add an Timeout option, so you can set it as you want.

Just send a cURL to Proxyman -> Right Click on this request -> Export -> ProxymanLog

<!-- gh-comment-id:1772063583 --> @NghiaTranUIT commented on GitHub (Oct 20, 2023): Maybe I will add an Timeout option, so you can set it as you want. Just send a cURL to Proxyman -> Right Click on this request -> Export -> ProxymanLog
Author
Owner

@NghiaTranUIT commented on GitHub (Oct 21, 2023):

Here is a new update:

<!-- gh-comment-id:1773704161 --> @NghiaTranUIT commented on GitHub (Oct 21, 2023): Here is a new update: - In the Compose View: Don't show the Alert view, instead displaying the error message label - Improve some UI/UX of the Compose View - Fix the Timeout issue when repeating - Fix the generic error message - Beta: https://download.proxyman.io/beta/Proxyman_4.12.0_Fix_repeat_tool_and_improve_Compose_Tool.dmg
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#1732
No description provided.