-
Posts
24,188 -
Joined
-
Last visited
-
Days Won
853
Everything posted by Krydos
-
To troubleshoot missing modules I highly recommend making a simple helloworld cgi and adding each import one at a time until it throws a 500 error. You can also follow this guide https://www.helionet.org/index/topic/29544-python-27-module-request500-error-troulbeshooting/?p=133824 to use a cron to find your error, although that doesn't always work with django/flask because they are loaded through wsgi. Let us know what you find.
-
If you're using opera mini they do have a compression proxy. Maybe that's where the nginx error came from, but we definitely run apache not nginx.
- 7 replies
-
- an error occurred
- occured
-
(and 2 more)
Tagged with:
-
Oh, you're right. I just checked the username, checked the server, and assumed he was having the same issue as everyone else on Johnny. Or maybe that was added in the edit?
- 7 replies
-
- an error occurred
- occured
-
(and 2 more)
Tagged with:
-
There you go http://denisoft.heliohost.org/test.aspx
-
Since you picked the Johnny server he can experience high load from time to time. This is because he is our experimental server. Experimental means that we allow people who don't care much about uptime or speed to experiment with their code. Johnny has been experiencing higher load than normal for the last few hours, but it should be returning to a more normal level soon. If you need better uptime and speed we recommend one of our production servers like Tommy.
- 7 replies
-
- 1
-
- an error occurred
- occured
-
(and 2 more)
Tagged with:
-
That .war file cannot be deployed because java is not enabled on your account. To request java please go to https://tommy.heliohost.org:2083/frontend/paper_lantern/java/index.live.php and click the Request Java button. Once java is enabled on your account please post back here and we can get that .war file deployed.
-
The modules that come with a default python are not included on the list because they are guaranteed to be there. The list is for installed modules only. # /usr/bin/python2.7 Python 2.7.13 (default, Aug 25 2017, 20:17:53) [GCC 4.4.7 20120313 (Red Hat 4.4.7-18)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import os >>> import json >>> import time >>> import httplib2 >>> import googleapiclient >>> import oauth2client >>> from __future__ import print_function >>> import not_a_module Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named not_a_module None of your imports are causing the 500 error. The final not_a_module is to show what it would look like if any of those imports were the issue. Here's a way to debug your script: Go to https://johnny.heliohost.org:2083/frontend/paper_lantern/cron/index.htmlType in an email address that you would like to receive the error report atClick update emailGo to https://www.google.com/search?q=current+time+in+pstPick a time roughly 5 minutes in the future to give you time to finish the rest of this tutorialType the minutes (example: 5 for 2:05pm)Type in the hour in 24 hour format (example: 14 for 2:05pm)Put * in the next three boxes, day, month, weekdayIn command put your shebang without the leading #! (example: /usr/bin/python2.7)Followed by a space and then the absolute path to your script that is throwing a 500 error (example: /home/silverb/public_html/DFArchiver.py)Click Add New Cron JobWait until the time that you set your cron job to run and then check your emailIf you got an email be sure to click delete next to your cron under the Current Cron Jobs header to make sure you don't exceed your 2 per day limitHere is an example email I just got: Date: Sun, 03 Sep 2017 08:06:02 -0700 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - johnny.heliohost.org X-AntiAbuse: Original Domain - yahoo.com X-AntiAbuse: Originator/Caller UID/GID - [503 498] / [47 12] X-AntiAbuse: Sender Address Domain - johnny.heliohost.org X-Get-Message-Sender-Via: johnny.heliohost.org: authenticated_id: krydos2/primary_hostname/system user X-Authenticated-Sender: johnny.heliohost.org: krydos2 X-Source: X-Source-Args: CROND X-Source-Dir: /home/krydos2 Content-Length: 136 File "/home/krydos2/public_html/cgi-bin/test.py", line 6 ^ SyntaxError: unexpected EOF while parsing Sure enough line 6 is print("Heliohost rules!" It's (intentionally) missing the closing parenthesis.
-
Your account does not currently have any open mysql connections.
-
[Solved] Unable To Add Addon Domains To My Johnny Account
Krydos replied to seintitus's topic in Customer Service
This is a pretty common occurrence on Johnny. Since he's an experimental server his load tends to be a lot higher than our production servers. When you try to execute a long delicate task like creating an addon domain while the load is high things can break or only get partially created. I've actually never seen this happen on Tommy or Ricky. I manually fixed your partially created addon domains and you should be able to see them now in your cpanel https://johnny.heliohost.org:2083/frontend/paper_lantern/addon/index.html and they should start working within 24 hours. -
Your account is now on Tommy. http://modebeat.heliohost.org/ If you see the Johnny queued page or a 404 error be sure to clear your browser cache and flush your OS dns records. Thank you very much for your donation. We really appreciate it.
-
[Solved] Total Beginner - Need Help Running A Python Script
Krydos replied to silverx's topic in Escalated Requests
The easiest way to get started with python on a server is with cgi. Really the only difference between cgi and running the script on your home computer is cgi needs to output a content type header. Open file manager https://johnny.heliohost.org:2083/frontend/paper_lantern/filemanager/index.htmlDouble click public_htmlDouble click cgi-binIn the top left click + FileType test.py as your filenameClick Create New FileHighlight the test.py file and click PermissionsCheck execute on all three columns so it says 755Click Change PermissionsClick reload and make sure the 755 shows up under the permissions columnHighlight test.py and click Code EditorLeave UTF-8 as the encoding and click EditCopy/paste this in #!/usr/bin/python3.7 print("Content-Type: text/html\n\n") print("Heliohost rules!") Click Save ChangesGo to http://silverb.heliohost.org/cgi-bin/test.pyIf everything worked it should say "Heliohost rules!" in your browser. The first line is the shebang. That's what tells the server which version of python to use. On Tommy and Johnny you can pick between #!/usr/bin/python2.7 version 2.7.13 #!/usr/bin/python3.7 version 3.7 and python3.6 for Ricky. You can see the modules that are currently installed on the Johnny python versions at https://krydos2.heliohost.org/cgi-bin/modules27.py https://krydos2.heliohost.org/cgi-bin/modules37.py If you don't see the module you need your script will probably give a useless 500 error when you try to import the missing module. Just make a post here on the forums stating your server, the version of python you're using, and the module you need. The next line is the content type header. This is important so the server knows what to do with the output that follows. If you forget it your script will give a useless 500 error. The content type header always has to have the two end lines immediately after it. That's what the \n\n is. Let us know if you have any other questions. -
There is no account named betbit, but I assume you're referring to betnbit? Unarchiving... Done. http://betnbit.heliohost.org/
-
There is no account with that username. I assume you found the page to delete your own account and the deletion has completed already. Let us know if you need help with anything else. Upon further consideration, I think you might mean your forum account. Since you've only ever made this one post I'll delete it too.
-
Yes, there are plans to implement node.js. You can like us at https://www.facebook.com/HelioHost.org and follow us at https://twitter.com/heliohost for the latest news.
-
Your account does not currently have any open mysql connections.
-
Please disregard any Tommy invitation emails. Transferring... Done. http://albert72.heliohost.org/ If you see the Johnny queued page be sure to clear your browser cache and flush your OS dns cache. Thank you very much for the donation. We really appreciate it.
-
Deployed. https://shuffly-backend.heliohost.org/shufflyMusicBackend/
-
I can edit the post if it's important to you to have your domain removed from our forum. Post a link to it. But the other guys are right. Usually any links to your site are good links as long as they don't come from known spam sites. Since helionet.org is a well respected and old source on google and other search engines, having a backlink on our site will actually boost your search engine rankings. Sites that have few or no backlinks rank much lower. People usually pay quite a bit to have backlinks such as you have from websites like helionet.org. The reason the Helionet results rank so high is because, like I said, we're well known and respected by the google algorithms.
-
Since you picked the Johnny server it can take up to 24 hours for a new ssl cerificate to start working. On the Tommy server ssl certificates begin working within seconds. Plus Tommy has AutoSSL that installs a free SSL certificate for you automatically.
-
Your account is now on Tommy. You may need to clear your browser cache or flush your OS dns records if you see the Johnny queued page. http://viridi-pollicis.heliohost.org/ Thank you very much for your donation. We really appreciate it.
-
Deployed. http://teniscp.heliohost.org/Tennis/
-
Cool, thanks again.
-
We don't have that version on any of our servers. We do have 3.6.0 and 3.6.1 though. Are you sure your script requires 3.5.3 or can you rewrite it for 3.6.x? Django can only be installed on one version of Python at a time per server. We're planning on doing Python 2.7 on Ricky when we get him running soon. Tommy's django is already installed on 3.6 and he's not going to be downgraded to 3.5.3. I'm assuming you need them installed on Tommy's django python version so I went ahead and installed django-rest-framework 3.6.4 and geopy 1.11.0. https://krydos.heliohost.org/cgi-bin/modules36.py
-
Deployed. http://teniscp.heliohost.org/Tennis/