Unable to set up
Closed this issue · 10 comments
Hi - Can anyone help please. This workflow looks like the answer to my prayers but I can't get it to work. When it takes me to the MS login, I enter my password and it goes to blank page at http://127.0.0.1:5000/?code=0.ATAAxYpXRI3kykenGomu-wKBIq_l8yeELXNAkfqTkCCNFScwAEY.AQABAAIAAAD--DLA3VO7QrddgJg7WevrW_FbJMCNyxXyQJGIlLVqHYUtfi7JSGrFwhK0OiyV0QE1k-2KnKu1aNGe8H0UVd7pAVMIF7MfaJcgkZXjmkpKjDj6vYglG6m8LK-eVAvPo5N4UMFjv7X51ltDrf3D2CmNjJnt0KgKHA9OITQncfFBAjwHfGQ2BEmAlaQW2VPpwNULdu1k-svHV-sIVq3iC8kOCB9jIjNt15Ph-L6qZu6DRcW_R_egGSdD3YS94lV82i-OdH9WBhYksb_-FhIbbM6XzqU4jRIVglVVjtiZnEs4QofApnSVGxGa-7Z4vlgVayvQDrmh8bAWj37sBWAB6O2PgQzMq-O4OgZp2n9FEv-RkTeGgo1gFrSmYW11p_CRSHpPWvtyOB5ubxF4O2YGdpmNQysU2a65OzDBgd7tJpGfAiX2_TVDKCTIP8taDCCYrXtWVo-RYRCPZ87bCwJQuGCZncF-V2UwdpzZACQAvLQu4AeNjiDUSSNhnCfELiu0Tp0fOuorJXj2bCj0omCyAHsXjyRipL0CiV8K5vGHZnFSsR240Ra6J24PJDkk0-KMAqUKe2ivJnD9I-rVTAoVRKf7k_ffPxwh2FlwZ2ypsAgWsv6c8q8l968GvAEN1J6e04IOd4ip12E13dSZhoghC2wkDEnVuTPx2OQBC48JoT4-PR5Ue-rgCZq9SnLa2weYmpggAA&state=RK5NVFHUHRRIDZSGKVT6&session_state=5315edde-c1ee-4495-992f-5b275cc7997c
Acknowledged. This is due to the port being used by an internal service in the newer versions of macOS. I'll update (along with a bunch of other issues) if I can find some time to do so
Temporary workaround: port 5000 is being used by AirPlay. You can disable it temporarily by:
- Go to "System Preferences" > Sharing > uncheck "AirPlay Receiver"
- Wait a few seconds for the port to close.
- Restart Alfred
- Login with this workflow
- re-check "Airplay Receiver"
I mean just follow the instructions for this Alfred Microsoft ToDo workflow. In other words, follow the same steps that caused the error you reported in the first place. It should work this time.
hm, not sure why it doesn't work. More detailed steps below:
-
Run the following in Terminal to inspect what's using port 5000:
lsof -Pn -i4 | grep 5000
-
Assuming it's AirPlay, you'll see something that looks like this:
ControlCe 631 my.username 19u IPv4 0x764d37a7dfae2071 0t0 TCP *:5000 (LISTEN)
-
Disable AirPlay as described in my previous step. Run the Terminal command again, and nothing should show up.
-
Make sure to fully quit Alfred. Go to Alfred's Preferences > General > "Quit Alfred"
-
Start Alfred
-
Login with the workflow
Refactoring to Py3 is underway, planning to move to use msal which dynamically creates ports and will address these issues
This is resolved in release 0.2.0