-
Notifications
You must be signed in to change notification settings - Fork 193
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
Access to localhost was deniedYou don't have authorization to view this page. HTTP ERROR 403 #196
Comments
I'm also running into this. Currently using macOS 14.5 on an M3 MBA. The last time I successfully used the export viewer was on a different laptop (M2 MBA on 14.4) over two months ago. |
Do you have any thoughts on how to fix this on my end?
… On Jul 19, 2024, at 10:26 AM, Alex Brothman ***@***.***> wrote:
I'm also running into this. Currently using macOS 14.5 on an M3 MBA. The last time I successfully used the export viewer was on a different laptop (M2 MBA on 14.4) over two months ago.
—
Reply to this email directly, view it on GitHub <#196 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQJTHUW5BJM4ZDBEP36IRRTZNFD5LAVCNFSM6AAAAABKGRZXP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZZG4ZDEOBYGE>.
You are receiving this because you authored the thread.
|
change port to 8000 ref: https://stackoverflow.com/questions/72795799/how-to-solve-403-error-with-flask-in-python |
Not a fix, but I ended up using a Win 11 machine to run it. Worked fine. |
When I try to change the port to 8000, it just seems to create a new problem. I did the command slack-export-viewer --port 8000 I get the following error(sorry, I know it’s a long one):
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.12/bin/slack-export-viewer", line 8, in <module>
sys.exit(main())
^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/slackviewer/main.py", line 77, in main
raise ValueError("Empty path provided for archive")
ValueError: Empty path provided for archive
***@***.*** ~ % slack-export-viewer -p 8000
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.12/bin/slack-export-viewer", line 8, in <module>
sys.exit(main())
^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/slackviewer/main.py", line 77, in main
raise ValueError("Empty path provided for archive")
ValueError: Empty path provided for archive
This even happens right after I give it the correct path to the zip file for the export in the previous command and then do command c to exit out of it. I also got the same result when I did -p instead of --path.
On Jul 21, 2024, at 6:58 PM, Fangdali123 ***@***.***> wrote:
change port to 8000
ref: https://stackoverflow.com/questions/72795799/how-to-solve-403-error-with-flask-in-python
—
Reply to this email directly, view it on GitHub <#196 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQJTHUVSLPVCHB7TTYKDPYTZNRRMJAVCNFSM6AAAAABKGRZXP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRHEYDEOBYGU>.
You are receiving this because you authored the thread.
Begin forwarded message:
… From: Fangdali123 ***@***.***>
Subject: Re: [hfaran/slack-export-viewer] Access to localhost was deniedYou don't have authorization to view this page. HTTP ERROR 403 (Issue #196)
Date: July 21, 2024 at 6:58:28 PM PDT
To: hfaran/slack-export-viewer ***@***.***>
Cc: milesfleisher ***@***.***>, Author ***@***.***>
Reply-To: hfaran/slack-export-viewer ***@***.***>
change port to 8000
ref: https://stackoverflow.com/questions/72795799/how-to-solve-403-error-with-flask-in-python
—
Reply to this email directly, view it on GitHub <#196 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQJTHUVSLPVCHB7TTYKDPYTZNRRMJAVCNFSM6AAAAABKGRZXP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRHEYDEOBYGU>.
You are receiving this because you authored the thread.
|
so should it be:slack-export-viewer -z /path/to/archive -p 8000Sent from my phoneOn Jul 28, 2024, at 12:30 AM, Hamza Faran ***@***.***> wrote:
Provide the port and the archive path in the same command. Make sure you're using the right parameter.
image.png (view on web)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I setup my workspace using the command slack-export-viewer -z /path/to/zip. It seemed to work and listed all the channels and opened chrome but then gave me an error saying "Access to localhost was deniedYou don't have authorization to view this page. HTTP ERROR 403."
As of now my localhost file is shown in the image
The text was updated successfully, but these errors were encountered: