Bad redirect on Scalingo hosting

Any issue about installation and configuration of the Cyclos 4 version

Moderators: hugo, alexandre, rmvanarkel

Post Reply
mmu_man
Posts: 1
Joined: Mon Aug 13, 2018 2:23 pm

Bad redirect on Scalingo hosting

Post by mmu_man » Tue Aug 21, 2018 7:15 pm

When investigating hosting options for french local currencies, we tried https://scalingo.com/ which handles docker-like container handling themselves (and so doesn't really give much direct control over the installed environment, and the deployment process is a bit unusual and not very fit when all we have is a zip file of the binary), and we get a recursive redirect to /global/$IP when trying to access the service.
I found other forum entries mentioning Tomcat version issues, and managed to use an older tomcat version but still get the issue.
I'd still like to know what goes wrong, if anyone has a clue...

Code: Select all

Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -Dfile.encoding=UTF-8
Expanding cyclos.war into /app/target/tomcat.26385/webapps/expanded
Adding Context  for /app/target/tomcat.26385/webapps/expanded
INFO: Initializing ProtocolHandler ["http-nio-26385"]
Aug 13, 2018 1:12:27 PM org.apache.coyote.AbstractProtocol init
Aug 13, 2018 1:12:27 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
Aug 13, 2018 1:12:27 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Aug 13, 2018 1:12:27 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.0.52
Aug 13, 2018 1:12:27 PM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
INFO: No global web.xml found
Aug 13, 2018 1:12:34 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 13, 2018 1:12:34 PM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Aug 13, 2018 1:12:34 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
13:12:40,182  INFO DatabaseManager - Cyclos version 4.8, database is up-to-date (version 4.8_db93)
13:12:54,247  INFO PollingTaskHandlerImpl - Scheduled polling task PurgeOldNotifications every 24:0:0 (h:m:s)
13:12:54,248  INFO PollingTaskHandlerImpl - Scheduled polling task PurgeMessagesOnTrash every 24:0:0 (h:m:s)
13:12:54,248  INFO PollingTaskHandlerImpl - Scheduled polling task MailProcessing every 1:0:0 (h:m:s)
13:12:54,248  INFO PollingTaskHandlerImpl - Scheduled polling task MailingProcessing every 1:0:0 (h:m:s)
13:12:54,248  INFO PollingTaskHandlerImpl - Scheduled polling task NotificationProcessing every 1:0:0 (h:m:s)
13:12:54,249  INFO PollingTaskHandlerImpl - Scheduled polling task MessageProcessing every 1:0:0 (h:m:s)
13:12:54,249  INFO PollingTaskHandlerImpl - Scheduled polling task PurgeExternalOperationExecutions every 1:0:0 (h:m:s)
13:12:54,249  INFO PollingTaskHandlerImpl - Scheduled polling task PurgeOldCaptchas every 24:0:0 (h:m:s)
13:12:54,267  INFO PollingTaskHandlerImpl - Scheduled polling task RunCustomScheduledTasks every 0:47:5 (h:m:s)
13:12:54,267  INFO PollingTaskHandlerImpl - Scheduled polling task InstanceUpdate every 1:0:0 (h:m:s)
13:12:54,267  INFO PollingTaskHandlerImpl - Scheduled polling task InternetAddressResolution every 0:30:0 (h:m:s)
13:12:54,267  INFO PollingTaskHandlerImpl - Scheduled polling task PurgeExpiredScriptStorages every 24:0:0 (h:m:s)
13:12:54,267  INFO PollingTaskHandlerImpl - Scheduled polling task PurgeTempFiles every 1:0:0 (h:m:s)
13:12:54,267  INFO PollingTaskHandlerImpl - Scheduled polling task PurgeErrorLogs every 24:0:0 (h:m:s)
13:12:54,267  INFO PollingTaskHandlerImpl - Scheduled polling task ArchiveImport every 24:0:0 (h:m:s)
13:12:54,268  INFO PollingTaskHandlerImpl - Scheduled polling task AdExpiredNotification every 24:0:0 (h:m:s)
13:12:54,268  INFO PollingTaskHandlerImpl - Scheduled polling task AdInterestNotification every 1:0:0 (h:m:s)
13:12:54,268  INFO PollingTaskHandlerImpl - Scheduled polling task NotifyVoucherBuyingAboutToExpire every 1:0:0 (h:m:s)
13:12:54,268  INFO PollingTaskHandlerImpl - Scheduled polling task RecurringPaymentProcessing every 1:0:0 (h:m:s)
13:12:54,268  INFO PollingTaskHandlerImpl - Scheduled polling task ScheduledInstallmentProcessing every 1:0:0 (h:m:s)
13:12:54,268  INFO PollingTaskHandlerImpl - Scheduled polling task BalanceClosing every 1:0:0 (h:m:s)
13:12:54,269  INFO PollingTaskHandlerImpl - Scheduled polling task PaymentRequestProcessing every 1:0:0 (h:m:s)
13:12:54,269  INFO PollingTaskHandlerImpl - Scheduled polling task ExpireVouchers every 1:0:0 (h:m:s)
13:12:54,269  INFO PollingTaskHandlerImpl - Scheduled polling task TicketProcessing every 1:0:0 (h:m:s)
13:12:54,269  INFO PollingTaskHandlerImpl - Scheduled polling task ExpireExternalPayment every 1:0:0 (h:m:s)
13:12:54,269  INFO PollingTaskHandlerImpl - Scheduled polling task NotifyVouchersAboutToExpire every 1:0:0 (h:m:s)
13:12:54,269  INFO PollingTaskHandlerImpl - Scheduled polling task ScheduledAccountFees every 1:0:0 (h:m:s)
13:12:54,269  INFO PollingTaskHandlerImpl - Scheduled polling task TransactionFeedbackExpired every 1:0:0 (h:m:s)
13:12:54,270  INFO PollingTaskHandlerImpl - Scheduled polling task TransactionFeedbackReminder every 1:0:0 (h:m:s)
13:12:54,270  INFO PollingTaskHandlerImpl - Scheduled polling task MoveUsersToGroup every 24:0:0 (h:m:s)
13:12:54,270  INFO PollingTaskHandlerImpl - Scheduled polling task TransactionFeedbackExpirationReminder every 1:0:0 (h:m:s)
13:12:54,270  INFO PollingTaskHandlerImpl - Scheduled polling task AddressLocating every 24:0:0 (h:m:s)
13:12:54,270  INFO PollingTaskHandlerImpl - Scheduled polling task PurgeUnconfirmedUsers every 1:0:0 (h:m:s)
13:12:54,270  INFO PollingTaskHandlerImpl - Scheduled polling task PurgeFailedPrincipalLogs every 24:0:0 (h:m:s)
13:12:54,270  INFO PollingTaskHandlerImpl - Scheduled polling task PurgeFailedPasswordLogs every 24:0:0 (h:m:s)
13:12:54,271  INFO PollingTaskHandlerImpl - Scheduled polling task PurgeSessions every 0:1:0 (h:m:s)
13:12:54,271  INFO PollingTaskHandlerImpl - Scheduled polling task PurgeOldVirtualKeyboards every 1:0:0 (h:m:s)
13:12:54,271  INFO PollingTaskHandlerImpl - Scheduled polling task PurgeForgotPasswordRequestLogs every 24:0:0 (h:m:s)
13:12:54,271  INFO PollingTaskHandlerImpl - Scheduled polling task SessionExpirationCleaner every 6:0:0 (h:m:s)
13:12:54,272  INFO PollingTaskHandlerImpl - Scheduled polling task PurgeRemoteAddressBlocks every 24:0:0 (h:m:s)
13:12:54,272  INFO PollingTaskHandlerImpl - Scheduled polling task ExpireTokens every 24:0:0 (h:m:s)
13:12:54,272  INFO PollingTaskHandlerImpl - Scheduled polling task BackgroundTaskExecution every 1:0:0 (h:m:s)
Aug 13, 2018 1:12:54 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-26385"]
Aug 13, 2018 1:13:11 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'content'
[router] method=GET path="/" host=... referer="-"
[router] method=GET path="/cyclos" host=... referer="-" 
[router] method=GET path="/cyclos/" host=... referer="-"
[router] method=GET path="/global/XXX.XXX.XXX.XXX?key=notFound"

Post Reply