server

  1. D

    B4J Question Error on request inside a server Handler (java.lang.InterruptedException)

    Hello! I'm gettin this error but i have no clue of what's happening because it works good for days before happen. I suspect that is caused by a request that I make inside a handler but I'm not sure. java.lang.RuntimeException: java.lang.InterruptedException at...
  2. Dave O

    Android Question trialing CloudKVS on a local Windows/Android setup?

    Hi all, I need to move my app's data (currently stored in a local file using writeMap) to the cloud so my users can share it between devices and family members. I'm looking for some tips on how to do this. CloudKVS seems like the best solution at this point. I don't know much about the server...
  3. Alexander Stolte

    Android Tutorial [B4X] B4X Online Tools - JSON Parser/QR Generator/Regex Parser

    Full list of B4J Server Examples: https://b4x.com:51041 If there are other online tools that simplify programming with B4X, then I expand the thread.
  4. Star-Dust

    B4J Tutorial [B4X] Proxy Server Socks 4 and Proxy Http (Source Code)

    Many years ago I needed to sniff a connection and I didn't have a free sniffer available and I didn't know how to create one .... So after a long reflection I decided to create a Proxy Server in order to direct all the output of my pc to the server and sniff traffic. It was my first proxy server...
  5. KMatle

    B4R Tutorial ESP32: Download huge file from a server and save it

    This example downloads a file from a server folder (here I use a folder in htdocs on my apache server) and saves it to a file on the file system. Tested with 700KB files. Set headers (browse the www how to set up headers or credentials). Note that the ESP32 filesystem is quite slow. Downloading...
  6. Star-Dust

    B4J Library [B4X] xHttpServer (Http Server + jQuery)

    It is a personal project of mine that I started as a hobby on B4i and it has become an interesting project, so that I have modified it to be multiplatform. It is an http server, which allows a browser to navigate on html pages stored on the device. In addition, dynamic pages can also be...
  7. walterf25

    B4J Question Non_UI application Handler response

    Hi all, i am working on a personal project where I have a B4J Non-UI app running on a google cloud Virtual Machine, the app receives requests with a TokenID and message parameters which then are sent to the firebase messaging API, this works just fine, but i am having a hard time understanding...
  8. D

    B4J Question [Solved] Shell.run blocking server

    Hi! I'm developing an api to interact with mssql. Now I'm trying to generate a PDF file with an external exe, to do so I call shell.run an powershell script and wait for it to close to write a response, but while the external exe is running the server not respond any other request. s.Initialize...
  9. Star-Dust

    B4i Library SD: iHttpServer (beta)

    I started developing a version of the HttpServer Library for iOs. It is still a beta version and not complete, but already functional. You can start using it to test it. Includes WebSocket and QueryElement implementation Digest Auth will be added in the future. I have arrived at a first version...
  10. cklester

    B4J Question [SOLVED] How To Stop B4J Server on Windows 10

    On Windows 10, I'm running the server app from this thread. It's working fine. How do I stop it? I'm not sure what process it is in Windows Task Manager, and I shut down B4J IDE, but the server is apparently still running, as the site continues to be served at the default URL.
  11. M

    Android Question FTP UploadProgress does not fire for every file

    Hi everyone, i'm trying to use FTP to upload multiple files to the server. I do it one by one, i want to show a progress bar, so i did like so: 'This function uploads the files (stored in the list) to the server base' Public Sub CaricaFoto Log(filenamelist) currentTotalFiles =...
  12. aeric

    Share My Creation JQuiz - API Server / Web Service for B4XQuiz (with SSL)

    This is the full source code for B4XQuiz server. For the B4J client app, please check: https://www.b4x.com/android/forum/threads/b4jquiz-desktop-app.124202/ SQL script to generate database in post #2 SSL Tutorial: [Server] Using Let's Encrypt on Ubuntu VPS 'Non-UI application (console / server...
  13. aeric

    B4J Tutorial [Server] Using Let's Encrypt on Ubuntu VPS

    #1 How to: Install Let's Encrypt on Ubuntu Linux VPS to Create SSL Certificates Downloading and Installing Let's Encrypt 1. Update the server's packages apt-get update & sudo apt-get upgrade 2. Install the GIT package apt-get install git 3. Download a clone of Let's Encrypt from the GitHub...
  14. bdunkleysmith

    B4J Question [Solved] B4JPackager11 / websocket project problem

    As recommended by @Erel in this thread, I have commenced migrating the communications in my project from http to websocket, however it's not been as simple as I thought it would be. In replacing the http based comms part of my project I hit some "roadblocks". So created a simple project to...
  15. S

    Android Code Snippet Upload a file to your server with HttpJob and php(included)

    4-25-2020 Pick a SINGLE File from Dialog box, Then upload it To a server on LAN Or Internet I wrote this B4A To be very small, simple, & easy to understand on a beginners level In Files Is the PHP script To handle single File upload And save As original filename php creates And appends a...
  16. M

    iOS Question Build Failed Local Mac Builder

    The following build commands failed: Ld /Users/<name>/Documents/B4iBuildServer/UploadedProjects/<user id>/Payload/<myappname>.app/ <myappname> normal arm64 (1 failure)
  17. soyVB6

    B4J Question ODBC Sybase

    Hi guys, I'm migrating an old system that I did some years in power builder. I could not achieve a connection to the database, this is what I have: In my user DSN (odbc) I have my database connected and it works like this for my old system. I managed to find a jconn2.jar library in the sybase...
  18. carlos7000

    Android Question Error: Nonce must be greater than...

    Hello I am using this function to send commands to a server private Sub SendCommand(workName As String, Command As String, Signature As Boolean, url as String) Dim ToSing As String If Signature Then url = X_PrivateUrl ToSing = "command=" & workName & "&" &...
  19. Alessandro71

    B4J Tutorial Running a B4J Server on Amazon EC2 Linux

    This procedure starts from a freshly installed AWS EC2 Linux instance and installs a B4J server, named B4J.jar, configured as a daemon. This tutorial assumes a basic knowledge of a Linux environment, expecially the vi editor. Prerequisites SSH access with ec2-user Device /dev/xvdh is available...
  20. avalle

    B4J Question How to call CallSubDelayed from a different Class Module

    Hi all, I have a B4J Server application implementing a REST API service with multiple Handler Class Modules. In one of these class modules I need to use CallSubDelayed to raise a callback event which is used in a Wait For in a different class module. Is this possible? If so, how do I reference...
Top