[GH-ISSUE #1596] local mapping editor is unable #1589

Closed
opened 2026-03-03 19:52:43 +03:00 by kerem · 23 comments
Owner

Originally created by @jinean on GitHub (Apr 11, 2023).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1596

Originally assigned to: @NghiaTranUIT on GitHub.

Description

I upgraded to Version 4.6.0 (46000) today and found that my local mapping editor is unable to view mapped text anymore.

image

Originally created by @jinean on GitHub (Apr 11, 2023). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1596 Originally assigned to: @NghiaTranUIT on GitHub. ## Description I upgraded to Version 4.6.0 (46000) today and found that my local mapping editor is unable to view mapped text anymore. <!-- What do you need help with? --> ![image](https://user-images.githubusercontent.com/2232297/231047562-36c195d2-dbec-457c-be99-8d8fd3d00f8d.png)
kerem 2026-03-03 19:52:43 +03:00
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 11, 2023):

Hi,

Can you try to use the old version 4.5.0 and check if it fixes?

<!-- gh-comment-id:1502639008 --> @NghiaTranUIT commented on GitHub (Apr 11, 2023): Hi, Can you try to use the old version 4.5.0 and check if it fixes?
Author
Owner

@jinean commented on GitHub (Apr 11, 2023):

Version 4.4.0 (44000) is ok.

Both Version 4.5.0 and 4.6.0 are not able to view mapped text.

<!-- gh-comment-id:1502717694 --> @jinean commented on GitHub (Apr 11, 2023): Version 4.4.0 (44000) is ok. Both Version 4.5.0 and 4.6.0 are not able to view mapped text.
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 11, 2023):

It's odd. We could not reproduce your bug on the latest version 4.6.0.

Just wondering: What macOS version you're using? @jinean

<!-- gh-comment-id:1502852846 --> @NghiaTranUIT commented on GitHub (Apr 11, 2023): It's odd. We could not reproduce your bug on the latest version 4.6.0. Just wondering: What macOS version you're using? @jinean
Author
Owner

@jinean commented on GitHub (Apr 11, 2023):

Mac mini(Apple M1)
13.3 (22E252) @NghiaTranUIT

<!-- gh-comment-id:1502865519 --> @jinean commented on GitHub (Apr 11, 2023): Mac mini(Apple M1) 13.3 (22E252) @NghiaTranUIT
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 11, 2023):

Does Quit and Reopen the app will fix the bug @jinean ?

I'm using macOS 13.3.1 and v4.6.0 without any issues.

1


The main different between v4.4.0 and v4.5.0 or v4.6.0 is: We introduce a new Editor. You can see the screenshot at https://github.com/ProxymanApp/Proxyman/releases/tag/4.5.0

<!-- gh-comment-id:1502928075 --> @NghiaTranUIT commented on GitHub (Apr 11, 2023): Does Quit and Reopen the app will fix the bug @jinean ? I'm using macOS 13.3.1 and v4.6.0 without any issues. ![1](https://user-images.githubusercontent.com/5878421/231106960-18278208-a7e6-47ce-9848-367c595b4546.jpg) --------- The main different between v4.4.0 and v4.5.0 or v4.6.0 is: We introduce a new Editor. You can see the screenshot at https://github.com/ProxymanApp/Proxyman/releases/tag/4.5.0
Author
Owner

@jinean commented on GitHub (Apr 12, 2023):

It's very strange.
I upgraded my Mac mini to 13.3.1 this morning and it still doesn't show up.
I went home last night and used my MacBookPro at home. I tried 13.0 and 13.3.1 systems and they all worked fine.

<!-- gh-comment-id:1504452555 --> @jinean commented on GitHub (Apr 12, 2023): It's very strange. I upgraded my Mac mini to 13.3.1 this morning and it still doesn't show up. I went home last night and used my MacBookPro at home. I tried 13.0 and 13.3.1 systems and they all worked fine.
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 12, 2023):

If the Map Local Editor doesn't display on your Mac Mini 13.3.1. Can you verify that you can see the Body of any Request and Response?

It means the Monaco Editor (which uses for the Map Local Editor) is working.

Screenshot 2023-04-12 at 09 33 40

<!-- gh-comment-id:1504464340 --> @NghiaTranUIT commented on GitHub (Apr 12, 2023): If the Map Local Editor doesn't display on your Mac Mini 13.3.1. Can you verify that you can see the Body of any Request and Response? It means the Monaco Editor (which uses for the Map Local Editor) is working. ![Screenshot 2023-04-12 at 09 33 40](https://user-images.githubusercontent.com/5878421/231333043-8af34775-2783-44cd-b3d5-6c12ac6f9305.jpg)
Author
Owner

@jinean commented on GitHub (Apr 12, 2023):

I just saw that the body is empty

And I found that the Body in Compose can no longer be edited

It feels like the TextView view has disappeared
image
image

<!-- gh-comment-id:1504488523 --> @jinean commented on GitHub (Apr 12, 2023): I just saw that the body is empty And I found that the Body in Compose can no longer be edited It feels like the TextView view has disappeared ![image](https://user-images.githubusercontent.com/2232297/231336197-f2049226-f226-42a8-be1d-65a48932af34.png) ![image](https://user-images.githubusercontent.com/2232297/231336267-c0f8b6cd-8e05-45b1-89e4-6519f7ee162d.png)
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 13, 2023):

Yes, look like the Body doesn't load properly in your machine. Just wondering: Quit the app, then opening it again will fix your bug?

I'm not sure what cause the bug since I could not reproduce it on our end 😢

<!-- gh-comment-id:1506258739 --> @NghiaTranUIT commented on GitHub (Apr 13, 2023): Yes, look like the Body doesn't load properly in your machine. Just wondering: Quit the app, then opening it again will fix your bug? I'm not sure what cause the bug since I could not reproduce it on our end 😢
Author
Owner

@1414044032 commented on GitHub (Apr 13, 2023):

I have a friend who has also encountered this problem. He is upgrading the system to see if it can be done

<!-- gh-comment-id:1506768689 --> @1414044032 commented on GitHub (Apr 13, 2023): I have a friend who has also encountered this problem. He is upgrading the system to see if it can be done
Author
Owner

@1414044032 commented on GitHub (Apr 13, 2023):

Before upgrade: 13.2.1

<!-- gh-comment-id:1506770233 --> @1414044032 commented on GitHub (Apr 13, 2023): Before upgrade: 13.2.1
Author
Owner

@jinean commented on GitHub (Apr 14, 2023):

Yes, look like the Body doesn't load properly in your machine. Just wondering: Quit the app, then opening it again will fix your bug?

I'm not sure what cause the bug since I could not reproduce it on our end 😢

I have tried various restarts, but none of them work.

<!-- gh-comment-id:1507801624 --> @jinean commented on GitHub (Apr 14, 2023): > Yes, look like the Body doesn't load properly in your machine. Just wondering: Quit the app, then opening it again will fix your bug? > > I'm not sure what cause the bug since I could not reproduce it on our end 😢 I have tried various restarts, but none of them work.
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 14, 2023):

@jinean I'm investigating it and send you a hotfix Beta asap 👍

<!-- gh-comment-id:1507821799 --> @NghiaTranUIT commented on GitHub (Apr 14, 2023): @jinean I'm investigating it and send you a hotfix Beta asap 👍
Author
Owner

@1414044032 commented on GitHub (Apr 14, 2023):

Upgrading the system did not solve the problem. My friend opened the system immediately after the upgrade to show the normal production, but couldn't see the Body again today

<!-- gh-comment-id:1507829229 --> @1414044032 commented on GitHub (Apr 14, 2023): Upgrading the system did not solve the problem. My friend opened the system immediately after the upgrade to show the normal production, but couldn't see the Body again today
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 14, 2023):

@1414044032 @jinean, if you don't mind, please try using this Beta build: https://download.proxyman.io/beta/Proxyman_4.6.0_Fix_Monaco_Editor_Body_could_not_load.dmg

Basically, I fixed the bug where the Local Monaco Server doesn't work. If it happens, it tried to load the static page instead. It makes sure the body is loaded 100% 👍

Let me know the result too 👍

<!-- gh-comment-id:1507878881 --> @NghiaTranUIT commented on GitHub (Apr 14, 2023): @1414044032 @jinean, if you don't mind, please try using this Beta build: https://download.proxyman.io/beta/Proxyman_4.6.0_Fix_Monaco_Editor_Body_could_not_load.dmg Basically, I fixed the bug where the Local Monaco Server doesn't work. If it happens, it tried to load the static page instead. It makes sure the body is loaded 100% 👍 Let me know the result too 👍
Author
Owner

@jinean commented on GitHub (Apr 14, 2023):

@1414044032 @jinean, if you don't mind, please try using this Beta build: https://download.proxyman.io/beta/Proxyman_4.6.0_Fix_Monaco_Editor_Body_could_not_load.dmg

Basically, I fixed the bug where the Local Monaco Server doesn't work. If it happens, it tried to load the static page instead. It makes sure the body is loaded 100% 👍

Let me know the result too 👍

It's still not showing even after trying, it has no effect.

<!-- gh-comment-id:1508027515 --> @jinean commented on GitHub (Apr 14, 2023): > @1414044032 @jinean, if you don't mind, please try using this Beta build: https://download.proxyman.io/beta/Proxyman_4.6.0_Fix_Monaco_Editor_Body_could_not_load.dmg > > Basically, I fixed the bug where the Local Monaco Server doesn't work. If it happens, it tried to load the static page instead. It makes sure the body is loaded 100% 👍 > > Let me know the result too 👍 It's still not showing even after trying, it has no effect.
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 14, 2023):

@jinean please help me

  1. Download the above beta build -> Drag to /Applications folder
  2. Close all Proxyman -> Open Terminal app -> Run: open /Applications/Proxyman.app/Contents/MacOS/Proxyman
  3. It will display the Proxyman app
  4. If the body doesn't show again -> Please copy to me the error log on the Terminal app 👍
<!-- gh-comment-id:1508030782 --> @NghiaTranUIT commented on GitHub (Apr 14, 2023): @jinean please help me 1. Download the above beta build -> Drag to /Applications folder 2. Close all Proxyman -> Open Terminal app -> Run: `open /Applications/Proxyman.app/Contents/MacOS/Proxyman` 3. It will display the Proxyman app 4. If the body doesn't show again -> Please copy to me the error log on the Terminal app 👍
Author
Owner

@jinean commented on GitHub (Apr 14, 2023):

@jinean please help me

  1. Download the above beta build -> Drag to /Applications folder
  2. Close all Proxyman -> Open Terminal app -> Run: open /Applications/Proxyman.app/Contents/MacOS/Proxyman
  3. It will display the Proxyman app
  4. If the body doesn't show again -> Please copy to me the error log on the Terminal app 👍

[MonacoEditor] Error Domain=NSURLErrorDomain Code=-1003 "A server with the specified hostname could not be found." UserInfo={_kCFStreamErrorDomainKey=12, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <4C899E7D-5439-4D52-8018-7942296A3AE8>.<10>, NSErrorFailingURLStringKey=http://localhost:10382/index.html, _kCFStreamErrorCodeKey=8, NSLocalizedDescription=A server with the specified hostname could not be found., _WKRecoveryAttempterErrorKey=<WKReloadFrameErrorRecoveryAttempter: 0x6000009f9180>, networkTaskDescription=LocalDataTask <4C899E7D-5439-4D52-8018-7942296A3AE8>.<10>, NSErrorFailingURLKey=http://localhost:10382/index.html, NSUnderlyingError=0x6000003649c0 {Error Domain=kCFErrorDomainCFNetwork Code=-1003 "(null)" UserInfo={_kCFStreamErrorCodeKey=8, _kCFStreamErrorDomainKey=12}}, networkTaskMetricsPrivacyStance=NotEligible}

After checking the log, I figured out the problem. It seems that my local hosts file was corrupted or overridden. I added '127.0.0.1 localhost' and now it's displaying properly.

<!-- gh-comment-id:1508049227 --> @jinean commented on GitHub (Apr 14, 2023): > @jinean please help me > > 1. Download the above beta build -> Drag to /Applications folder > 2. Close all Proxyman -> Open Terminal app -> Run: `open /Applications/Proxyman.app/Contents/MacOS/Proxyman` > 3. It will display the Proxyman app > 4. If the body doesn't show again -> Please copy to me the error log on the Terminal app 👍 ❌ [MonacoEditor] Error Domain=NSURLErrorDomain Code=-1003 "A server with the specified hostname could not be found." UserInfo={_kCFStreamErrorDomainKey=12, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <4C899E7D-5439-4D52-8018-7942296A3AE8>.<10>, NSErrorFailingURLStringKey=http://localhost:10382/index.html, _kCFStreamErrorCodeKey=8, NSLocalizedDescription=A server with the specified hostname could not be found., _WKRecoveryAttempterErrorKey=<WKReloadFrameErrorRecoveryAttempter: 0x6000009f9180>, networkTaskDescription=LocalDataTask <4C899E7D-5439-4D52-8018-7942296A3AE8>.<10>, NSErrorFailingURLKey=http://localhost:10382/index.html, NSUnderlyingError=0x6000003649c0 {Error Domain=kCFErrorDomainCFNetwork Code=-1003 "(null)" UserInfo={_kCFStreamErrorCodeKey=8, _kCFStreamErrorDomainKey=12}}, networkTaskMetricsPrivacyStance=NotEligible} After checking the log, I figured out the problem. It seems that my local hosts file was corrupted or overridden. I added '[127.0.0.1](http://127.0.0.1/) localhost' and now it's displaying properly.
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 14, 2023):

ah, I see. It's better to load http://127.0.0.1:<port> instead of using the localhost. Let me fix it 👍

<!-- gh-comment-id:1508050693 --> @NghiaTranUIT commented on GitHub (Apr 14, 2023): ah, I see. It's better to load `http://127.0.0.1:<port>` instead of using the `localhost`. Let me fix it 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 14, 2023):

It's fixed @jinean @1414044032 👍

<!-- gh-comment-id:1508098728 --> @NghiaTranUIT commented on GitHub (Apr 14, 2023): It's fixed @jinean @1414044032 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 14, 2023):

Fixed with this Beta build: https://download.proxyman.io/beta/Proxyman_4.6.0_Fix_Monaco_Editor_v2.dmg

<!-- gh-comment-id:1508325386 --> @NghiaTranUIT commented on GitHub (Apr 14, 2023): Fixed with this Beta build: https://download.proxyman.io/beta/Proxyman_4.6.0_Fix_Monaco_Editor_v2.dmg
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 14, 2023):

Good news: I've bumped the hot-fix v4.6.1. It's fixed the issue 👍

Thanks to everyone who helps me to investigate the bug 🙇

<!-- gh-comment-id:1508433782 --> @NghiaTranUIT commented on GitHub (Apr 14, 2023): Good news: I've bumped the hot-fix v4.6.1. It's fixed the issue 👍 Thanks to everyone who helps me to investigate the bug 🙇
Author
Owner

@jinean commented on GitHub (Apr 14, 2023):

666👍🏻

<!-- gh-comment-id:1508610977 --> @jinean commented on GitHub (Apr 14, 2023): 666👍🏻
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#1589
No description provided.