Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by slimsim

  1. Hi 6 days ago I've moved from Johnny to the Tommy server where AutoSSL is included. The wiki says that I don't have to "do any particular action in order to get a free SSL certificate, which will get automatically installed" When I was on Johnny, I had ZeroSSL cert installed (who were expired) and now, in cPanel (SSL/TLS), those certs are still listed as expired and unsecured. And the pages are also unsecure. How do I get the AutoSSL to start working on my old sites?Do I have to delete the previous SSL cert?or am I simply to impatient and need to wait longer? Thanks for any pointers on how to solve this!
  2. Please may I move my account from Johnny to Tommy Account name: slimsim Transaction ID: 16331886NN6509928 Many thanks
  3. I'm trying to let my users upload files in a RESTful spring boot web service. I followed this tutorial https://www.callicoder.com/spring-boot-file-upload-download-rest-api-example/ where the uploaded files will be stored in the local file system. it says to configure what folder the files should be stored in with file.upload-dir=/Users/callicoder/uploadsBut when I package the war-file I must have that folder on my computer, which leads me to believe that it will not work when I deploy it to the server. And sure enough, when I deploy the war-file, I get "deploy failed with error", even though that file is on my "File Manager". Does any one have any tips on how to achieve this? or is this not allowed on HelioHost, should I save the files in the DB instead? Do you have any good tutorials you can point me to? Thanks in advance!
  4. Thanks for the help! When I try with the following information in pgAdmin4: Name: slimsim_ava_db_dev_1 Host name / address: johnny.heliohost.org Port: 5432 Maintenance database: slimsim_ava_db_dev_1 Username: slimsim_db_user I get Unable to connect to server: FATAL: no pg_hba.conf entry for host "", user "slimsim_db_user", database "slimsim_ava_db_dev_1", SSL off If I try the same information but use port 3306 i get: Unable to connect to server: received invalid response to SSL negotiation: JDo you know what the problem is? What port should I use? Thanks so much for the help!
  5. Hi, Please can you assist me with enabling remote access on my PostgreSql database? I've tried to connect with pgAdmin4, and enters the following information: Name: slimsim_ava_db_dev_1 Host name / address: johnny.heliohost.org Port: 5432 Maintenance database: postgresql Username: slimsim_db_user This is error i get when trying to connect: Unable to connect to server: FATAL: no pg_hba.conf entry for host "", user "slimsim_db_user", database "postgresql", SSL offThanks!
  6. Hi Is it possible to run more than one java application on my account? When I uploaded two different war-files and deployed them, only the last war-file was running. I would very much like to host a couple of apps on this server! Thanks for the help! / Slim Sim
  7. Hi I'm trying to send data from my Java Spring Boot backend to my frontend using webSockets StompJS. But I'm gettign the followign error in the browser console: WebSocket connection to 'ws://slimsim.heliohost.org/slimsim_ava/gs-guide-websocket/015/sxvos2r2/websocket' failed: Error during WebSocket handshake: Unexpected response code: 400Is it possible to get the server-logs? This request was made at about 2020-10-21 14:16:45. My info: Username: slimsimWAR-file: slimsim_ava.warPath: /home/slimsim/Server: johnny I have read a lot on this forum, but I can't seem to find any one who have used Stomp. It works on my locahost as well as on my last web hosting server. Does anybody have any tips? My JavaScript code is the following: connect = function() { const funk = "connect"; console.log("\n\n\n\n" + funk + ":\n"); const socketPath = thymeLeaf.contextPath + 'gs-guide-websocket'; console.log( "*** " + funk + ": socketPath", socketPath ); var socket = new SockJS( socketPath ); console.log( "*** " + funk + ": socket", socket ); stompClient = Stomp.over(socket); console.log( "*** " + funk + ": stompClient", stompClient ); stompClient.connect({}, function (frame) { // It never gets to here.... console.log( "*** " + funk + ": connected!" ); }); } And my WebSocketConfig.java file is the following: import com.slimsimapps.ava.badlog.BadLogService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.messaging.simp.config.MessageBrokerRegistry; import org.springframework.web.socket.config.annotation.EnableWebSocketMessageBroker; import org.springframework.web.socket.config.annotation.StompEndpointRegistry; import org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer; import org.springframework.web.socket.server.standard.TomcatRequestUpgradeStrategy; import org.springframework.web.socket.server.support.DefaultHandshakeHandler; @Configuration @EnableWebSocketMessageBroker public class WebSocketConfig implements WebSocketMessageBrokerConfigurer { @Autowired BadLogService log; @Override public void configureMessageBroker(MessageBrokerRegistry config) { log.a(config); config.enableSimpleBroker("/topic"); config.setApplicationDestinationPrefixes("/app"); log.o(config); } @Override public void registerStompEndpoints(StompEndpointRegistry registry) { log.a(registry); //registry.addEndpoint("/gs-guide-websocket").withSockJS(); registry.addEndpoint("/gs-guide-websocket") .setHandshakeHandler(new DefaultHandshakeHandler(new TomcatRequestUpgradeStrategy())) //.setAllowedOrigins( "slimsim.heliohost.org" ) .setAllowedOrigins( "*" ) .withSockJS(); log.o(registry); } } Thanks so much for any help!
  8. Hi I managed to upload my war-file following your instruction, thank you! I then preceded to make a few changes to the app, and they all work fin on my localhost. But when I deployed it said "Java deployment failed with errors. For further information please contact support" with a link to this forum. One of the changes i made was to add the following to my application.properties-file: server.servlet.context-path=/ava-0.0.1-SNAPSHOT But I changed it back and I still could not deploy the .war-file. Now I am lost for ideas on what I might have done to make my app deployment fail. Is there any way you can help me, with logs or ideas? So, here is the info: Username: slimsimWAR-file: ava-0.0.1-SNAPSHOT.warPath: /home/slimsim/Server: johnnyTime of deployment: 2020-10-16, 9:44 PM (according to the File Manager, so I'm guessing Swedish time and not server-time?) Thanks so much!
  9. Hi I'm trying to deploy a war-file created with Spring Boot, and I read these instructions (from 2017) https://www.helionet.org/index/topic/27458-how-to-deploy-war-on-heliohost/ where it said to create a topic here to "request for it to be deployed". If this is not the current procedure I am sorry, the wiki-link in the instruction was broken, and I could not find any other instructions in the wiki. So, here is the info: Username: slimsimWAR-file: ava-0.0.1-SNAPSHOT.warPath: /home/slimsim/Server: johnny I have just received Java support and I would like to not loose it by not using it. I hope I still have time? Now, if this war works, and it is deployed correctly, I have a fiew questions if that is all right: What URL will the web-app get?When I want to update the war, do I have to post here again or will it be automatic?And where / how can I see the logs from the Java code?And last question; is there any resent instructions for working with war's and spring boot? Thanks so much for your support, I appreciate very much what you do and this service! Best regards! /Slim Sim
  • Create New...