Login to start a new topic

Fiddler Anywhere 1.0.1 got stuck on launch

Hello,

Could you please help to start Fiddler on my mac?

I installed Fillder Everywhere v.1.0.1. on my Mac OS Catalina system and launch it, but it stuck with endless 'Please Wait' splash screen. In parallel it configured my network (both HTTP & HTTPS ) to run via proxy 172.0.0.1:8866, but the proxy didn't start  (it stuck with splash screen) and thus no i-net connection available. 


While fiddler was in this endless launching state i opened system.log and noticed following:

...

Aug 13 10:22:37 macbookZZZ com.apple.xpc.launchd[1] (com.apple.locate[75065]): Service exited with abnormal code: 1

Aug 13 10:22:37 macbookZZZ com.apple.xpc.launchd[1] (com.apple.locate): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

Aug 13 10:22:40 macbookZZZ com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0B000000-0400-0000-0000-000000000000[75019]): Service exited due to SIGKILL | sent by mds[183]

...
Could you please advise if these logs are related to the fiddler? If yes, why the service was killed?


Thanks in advance!


Hello,


The FIddler Everywhere client produces two logs (electron.log and netcore.log) which on Mac OS are located in the following directory:


~/Library/Application Support/Fiddler Everywhere/Logs


If possible please share those logs with us so we could investigate your case further.

tail -f electron.log 


[2020-08-15 09:17:40:389] [info] [Product information] Fiddler Everywhere 1.0.1

[2020-08-15 09:17:40:403] [info] [System information] Darwin macbook602 19.6.0 Darwin Kernel Version 19.6.0: Sun Jul  5 00:43:10 PDT 2020; root:xnu-6153.141.1~9/RELEASE_X86_64 x86_64

[2020-08-15 09:17:40:531] [info] Initializing splash screen.

[2020-08-15 09:17:40:615] [info] Attempting to run server - 5 attempts left.

[2020-08-15 09:17:40:615] [info] Calculating the URL of ASP.NET Server application.

[2020-08-15 09:17:40:616] [info] Generating random port.

[2020-08-15 09:17:40:616] [info] Trying to start server at port [59903].

[2020-08-15 09:17:42:705] [info] Fetching .NET Core server status.

[2020-08-15 09:17:42:848] [info] Application successfully connected to .NET Core server [59903].

[2020-08-15 09:17:42:850] [info] Loading application in window.

[2020-08-15 09:17:42:886] [info] Getting the URL of Angular application.

[2020-08-15 09:17:42:936] [info] Starting the app without a deep link.

[2020-08-15 09:17:42:937] [info] Maximizing application window.

[2020-08-15 09:17:44:535] [info] Destroying splash screen.

[2020-08-15 09:17:44:594] [info] Checking for update

[2020-08-15 09:17:45:399] [info] Update for version 1.0.1 is not available (latest version: 1.0.1, downgrade is disallowed).



tail -f netcore.log 

[2020-08-15 09:17:44:730] [Information] [Angular] The app will be loaded without navigating to a shared item.

[2020-08-15 09:17:44:735] [Information] [Angular] SignalR HubConnection connected successfully.

[2020-08-15 09:17:44:703] [Information] [Angular] Requesting shared item ID.

[2020-08-15 09:17:44:772] [Information] [Angular] WebSocket opened ws://localhost:59903/ws/sessionListData

[2020-08-15 09:17:44:774] [Information] [Angular] Has Internet Access during the user service creation: true.

[2020-08-15 09:17:45:182] [Information] [Angular] Logged in from the amplify SDK.

[2020-08-15 09:17:45:182] [Information] [Angular] Received id Token. Had existing tokens: 'false'. Is new token: 'true'. Index in history: '0'. Total tokens in history: '1'.

[2020-08-15 09:17:45:182] [Information] [Angular] Token assumed as outdated or risky.

[2020-08-15 09:17:45:187] [Information] [Angular] Will try to refresh user's token

[2020-08-15 09:17:45:425] [Information] [Angular] Received id Token. Had existing tokens: 'true'. Is new token: 'true'. Index in history: '0'. Total tokens in history: '2'.

[2020-08-15 09:17:45:425] [Information] [Angular] New idToken successfully taken.

[2020-08-15 09:17:45:425] [Information] [Angular] Starting a new backend login.





Hello,


Thank you for sharing the requested logs. They indicate that both the Fiddler server and Angular app are loaded successfully. However, it seems that the login process did not complete (the last step - "Starting a new backend login") - this process initializes several local services, including the proxy service.


Based on the available information, we are not certain what might be causing the issue. We recommend that you try to reinstall the Fiddler client by following the steps outline below:

1) Uninstall the currently installed Fiddler Everywhere client

2) Manually delete the ~/.fiddler/ and ~/Library/Application Support/Fiddler Everywhere/ folders

3) Install the Fiddler Everywhere client again


Let me know if the above resolves the issue.

I did these steps, but no luck..

Why authentication is needed in this version? 0.5.0 was working ok for me.


tail -f ~/Library/Application\ Support/Fiddler\ Everywhere/Logs/netcore.log 

[2020-08-18 09:59:42:623] [Information] [Angular] Requesting shared item ID.

[2020-08-18 09:59:42:667] [Information] [Angular] CleverTap analytics successfully initialized.

[2020-08-18 09:59:42:667] [Information] [Angular] Successfully set anonymous user information in CleverTap.

[2020-08-18 09:59:42:668] [Information] [Angular] The app will be loaded without navigating to a shared item.

[2020-08-18 09:59:42:682] [Information] [Angular] SignalR HubConnection connected successfully.

[2020-08-18 09:59:42:738] [Information] [Angular] WebSocket opened ws://localhost:46945/ws/sessionListData

[2020-08-18 09:59:42:741] [Information] [Angular] Has Internet Access during the user service creation: true.



[2020-08-18 10:01:37:500] [Information] [Angular] Received id Token. Had existing tokens: 'false'. Is new token: 'true'. Index in history: '0'. Total tokens in history: '1'.

[2020-08-18 10:01:37:501] [Information] [Angular] Logged in from the amplify SDK.

[2020-08-18 10:01:37:503] [Information] [Angular] Token assumed as outdated or risky.

[2020-08-18 10:01:37:505] [Information] [Angular] Will try to refresh user's token

[2020-08-18 10:01:37:703] [Information] [Angular] Starting a new backend login.

[2020-08-18 10:01:37:703] [Information] [Angular] Received id Token. Had existing tokens: 'true'. Is new token: 'false'. Index in history: '0'. Total tokens in history: '1'.

[2020-08-18 10:01:37:703] [Information] [Angular] New idToken successfully taken.



Hello,


I am sorry to hear that the issue persists. Version 0.5.0 was the last one without login, so it would have worked correctly for you.


Are you by any chance running behind a corporate proxy? For example, can you tell me if you can successfully open the following URL - https://api.getfiddler.com/ ? If not, you will most likely have to whitelist some endpoints in order to use Fiddler.


If you can open the link successfully, would you be available for a call where you can share your screen, so we can investigate this further?

Hi,


I can open the link you provided, but on this page I couldn't login using my credentials, is it expected? 

Unfortunately I cannot share my Mac desktop as it violates security policy.

Is it possible for you to check at backend and make sure that the login process passed fine for my account when I'm trying to sign in from the app 1.0.1 ? 

Also at which step fiddler should configure system proxy settings? I've noticed that after I quit fiddler during  endless launch process it set HTTP & HTTPS proxy to  127.0.0.1:8866


Many thanks for your help!

Hello,


We should be able to determine what is happening without the need for screen sharing. 


I wanted to let you know that we are still investigating the issue. You mentioned that the proxy is set, so this means that the issue is happening just after the login process.


While looking at our logs we saw that your user does not have a record in the back-end. Can you please try to register a new ordinary account (not going through Google) and see if you are able to log in with it? This should help us determine if the issue is somehow related to the account or not.





I created new account 'oleklait' with the email 'oleklait@yahoo.com', activated this account and tried to sign in - but again faced with endless 'Please wait'..



btw, I successfully signed in with the new account on the second mac. So, I believe on my main mac this  process is blocked by antivirus, firewall or some other stuff.. 


Could you please give any ideas or recommendations where I can look into or check ?

Hello,


Thank you for narrowing down what is causing the issue and specifying that the problem is related to the Mac and not to the account. 


The current Fiddler Everywhere system requirements are noted in our documentation. The only firewall related requirement is to have access to the following three URLs:

  • https://login.getfiddler.com/
  • https://api.getfiddler.com/
  • https://auth.getfiddler.com/


You already confirmed that you have access to the second one (API), where you are seeing the correct behavior - you are asked for a login


We have logged an internal item to investigate how we can improve the client to detect antivirus or firewall issues. At the moment, the only way would be for you to share details about your firewall and antivirus software, so we attempt to reproduce the issue on our end. Can you tell us something more about those? Since the information might be sensitive and you wouldn't want to share it in a public forum, please send any details you can share to support@getfiddler.com.

It looks like I am having the same issue. I am not running 3rd party AV or Firewalls

 

[2020-08-23 13:12:09:352] [info] [Product information] Fiddler Everywhere 1.0.1
[2020-08-23 13:12:09:362] [info] [System information] Darwin MacBook-Pro 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64
[2020-08-23 13:12:09:416] [info] Initializing splash screen.
[2020-08-23 13:12:09:495] [info] Attempting to run server - 5 attempts left.
[2020-08-23 13:12:09:496] [info] Calculating the URL of ASP.NET Server application.
[2020-08-23 13:12:09:496] [info] Generating random port.
[2020-08-23 13:12:09:496] [info] Trying to start server at port [12383].
[2020-08-23 13:12:10:273] [info] Fetching .NET Core server status.
[2020-08-23 13:12:10:359] [info] Application successfully connected to .NET Core server [12383].
[2020-08-23 13:12:10:360] [info] Loading application in window.
[2020-08-23 13:12:10:388] [info] Getting the URL of Angular application.
[2020-08-23 13:12:10:410] [info] Starting the app without a deep link.
[2020-08-23 13:12:10:410] [info] Maximizing application window.
[2020-08-23 13:12:12:192] [info] Destroying splash screen.
[2020-08-23 13:12:12:235] [info] Checking for update
[2020-08-23 13:12:12:334] [info] Generated new staging user ID: 75dddabc-2422-5505-a56e-XXXXXXXXXXXX
[2020-08-23 13:12:12:757] [info] Update for version 1.0.1 is not available (latest version: 1.0.1, downgrade is disallowed).


[2020-08-23 13:12:12:322] [Information] [Angular] Requesting shared item ID.
[2020-08-23 13:12:12:350] [Information] [Angular] CleverTap analytics successfully initialized.
[2020-08-23 13:12:12:350] [Information] [Angular] Successfully set anonymous user information in CleverTap.
[2020-08-23 13:12:12:351] [Information] [Angular] The app will be loaded without navigating to a shared item.
[2020-08-23 13:12:12:367] [Information] [Angular] SignalR HubConnection connected successfully.
[2020-08-23 13:12:12:419] [Information] [Angular] WebSocket opened ws://localhost:12383/ws/sessionListData
[2020-08-23 13:12:12:422] [Information] [Angular] Has Internet Access during the user service creation: true.
[2020-08-23 13:12:45:664] [Information] [Angular] Logged in from the amplify SDK.
[2020-08-23 13:12:45:665] [Information] [Angular] Token assumed as outdated or risky.
[2020-08-23 13:12:45:665] [Information] [Angular] Received id Token. Had existing tokens: 'false'. Is new token: 'true'. Index in history: '0'. Total tokens in history: '1'.
[2020-08-23 13:12:45:665] [Information] [Angular] Will try to refresh user's token
[2020-08-23 13:12:45:820] [Information] [Angular] Starting a new backend login.
[2020-08-23 13:12:45:820] [Information] [Angular] New idToken successfully taken.
[2020-08-23 13:12:45:820] [Information] [Angular] Received id Token. Had existing tokens: 'true'. Is new token: 'false'. Index in history: '0'. Total tokens in history: '1'.
[2020-08-23 13:12:46:287] [Information] [Fiddler] When connecting, upstream proxy settings were already pointed at Fiddler. Clearing upstream proxy.

 

 

@MacBook-Pro Logs % wget https://login.getfiddler.com/
--2020-08-23 13:23:26--  https://login.getfiddler.com/
Resolving login.getfiddler.com (login.getfiddler.com)... 34.231.200.49, 52.72.68.125
Connecting to login.getfiddler.com (login.getfiddler.com)|34.231.200.49|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-08-23 13:23:27 ERROR 404: Not Found.

@MacBook-Pro Logs % wget https://api.getfiddler.com/
--2020-08-23 13:23:32--  https://api.getfiddler.com/
Resolving api.getfiddler.com (api.getfiddler.com)... 52.72.68.125, 34.231.200.49
Connecting to api.getfiddler.com (api.getfiddler.com)|52.72.68.125|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: index.html [following]
--2020-08-23 13:23:33--  https://api.getfiddler.com/index.html
Reusing existing connection to api.getfiddler.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html’

@MacBook-Pro Logs % wget https://auth.getfiddler.com/
--2020-08-23 13:23:38--  https://auth.getfiddler.com/
Resolving auth.getfiddler.com (auth.getfiddler.com)... 13.226.217.113, 13.226.217.11, 13.226.217.56, ...
Connecting to auth.getfiddler.com (auth.getfiddler.com)|13.226.217.113|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html.1’

 

I've run into this issue as well. However, I've confirmed the issue is when trying to start Fiddler Everywhere v1.0.1 after connecting to my corporate VPN. If I disconnect from VPN, Fiddler starts within seconds. Since I mainly just need Fiddler to review customer trace files, I can workaround this by starting my VPN after starting Fiddler Everywhere. 


I'm using macOS Catalina 10.15.6.

ok, the only thing good is that issue is reproducible not only on my Mac.


Thanks, Mmarkust. I turned off VPN, cleared folders (~/.fiddler/ and ~/Library/Application Support/Fiddler Everywhere/) and tried again, but still no luck. 



Login to start a new topic