mirror of
https://github.com/simonmicro/Pritunl-Fake-API.git
synced 2026-04-26 07:36:00 +03:00
[GH-ISSUE #28] New version v1.32.3498.90 cba2e5 #23
Labels
No labels
bug
bug
enhancement
help wanted
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Pritunl-Fake-API#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rfdrew on GitHub (Apr 17, 2023).
Original GitHub issue: https://github.com/simonmicro/Pritunl-Fake-API/issues/28
@royalhaze commented on GitHub (Apr 21, 2023):
same issue , i try it on many version and still not working
@royalhaze commented on GitHub (Apr 21, 2023):
this bug happened because browser unable to load subscription style file in some case
/subscription/styles/enterprise_plus/1003235044068.css
this page response with internal server error
@simonmicro commented on GitHub (Apr 22, 2023):
Wait - internal server error on Python or on the fake-api backend?
@Moaaz-0x commented on GitHub (Apr 22, 2023):
I believe it's Python error, as you can see the request came from my server

@Moaaz-0x commented on GitHub (Apr 22, 2023):
Although I have updated Pritunl to
v1.32.3504.68and still has the same error@royalhaze commented on GitHub (Apr 28, 2023):
just use this installation script
royalhaze/pritunl-install
it use v1.30.3108.50
@Vlad1mir-D commented on GitHub (Apr 29, 2023):
This issue was caused by these two commits and some invisible updates on the real API side:
github.com/pritunl/pritunl@d523e48698github.com/pritunl/pritunl@c7bb723965So the latest version which works properly with the current version of Fake API is https://github.com/pritunl/pritunl/releases/tag/1.32.3457.59
There is a chance I'll update API if someone won't make it before but it's definitely going take a loong while as I'm currently very limited in my spare time.
@Vlad1mir-D commented on GitHub (Apr 29, 2023):
Ah, it seems there are additional commits which prevents proper interaction with an API via Web:github.com/pritunl/pritunl@0b600799d2github.com/pritunl/pritunl@4677814f88So if interactive Fake API options (such as license change) are required it's even worse: in this case we're capped at https://github.com/pritunl/pritunl/releases/tag/1.30.3431.73NVM, https://github.com/pritunl/pritunl/releases/tag/1.32.3457.59 works fine
@simonmicro commented on GitHub (May 1, 2023):
Oh boi. @Vlad1mir-D any PRs are more than welcome - as I also have very limited time at the moment. But I'm pretty sure, that we can figure something out...
@Vlad1mir-D commented on GitHub (May 2, 2023):
I've managed to implement a dirty workaround so it's time to fix a few things and I'll be able to publish a solution for 1.32.3457.59 but I can't give any ETA.
@niyazialpay commented on GitHub (May 6, 2023):
I'm having trouble same thing
@tobiasredel commented on GitHub (May 16, 2023):
I am also looking for a fix. Great effort. Thanks @simonmicro
@niyazialpay commented on GitHub (May 17, 2023):
I found that the issue is caused by the CSS file at the "/subscription/styles/enterprise_plus/1003235334094.css" address returning a 500 error. I noticed that this address is defined in the file "/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/handlers/subscription.py" with the line "@app.app.route('/subscription/styles//.css', methods=['GET'])". To resolve the problem, I commented out the entire "if styles['etag'] and styles['data']" command block in this route definition and restarted the service, which fixed the issue. You can create a function that can be used to remove or comment out this section after the replace step in the Fake API script for intervention.
@Vlad1mir-D commented on GitHub (May 19, 2023):
@niyazialpay just read the https://github.com/simonmicro/Pritunl-Fake-API/issues/28#issuecomment-1528648854
@simonmicro commented on GitHub (May 21, 2023):
Done - fixed and live.
@Vlad1mir-D commented on GitHub (May 29, 2023):
Thanks @simonmicro!
I'm glad my code helped a little :)
@rfdrew commented on GitHub (Jun 3, 2023):
many thanks!!!!
@amirhmoradi commented on GitHub (Jul 23, 2023):
I am still facing this issue on latest pritunl v1.32.3552.76 3f54d8
@simonmicro commented on GitHub (Jul 30, 2023):
@amirhmoradi Could you further describe your setup please? It seems strange that you report this error, while most users are happy. Could it be that your PHP version is outdated?
@amirhmoradi commented on GitHub (Jul 30, 2023):
@simonmicro it was my error, sorry.
I had an old version running on the server and mixed up my setup.
Everything seems to be working fine indeed. Thanks for the great work.