Other B4X Push Server

abhishek007p

Active Member
Licensed User
Longtime User
I don't plan to port it to PHP.

what is the requirement to run this B4x server?..

can i just upload it to my web hosting (shared hosting)? if that is not possible then a PHP port of iOS push server (like what you did on android push server) would be needed.
 

fbritop

Active Member
Licensed User
Longtime User
I have been using the B4X Push Server. But now my database of users has grown, I have detected the status 8 (bad token) with an important number of users, maybe they have uninstall the app or change device,

Is there anyway I can capture the token when the status is returned?

I mean during:

B4X:
Private Sub astream_NewData (Buffer() As Byte)
    If Buffer.Length >=6 Then
        Dim bc As ByteConverter
        Log("status=" & Buffer(1))
    Else
        Log("Invalid response")
    End If
End Sub

So after I know which token gave me status 8, I can manipulate my database in order to clear the token because it is invalid.

Thanks
FBP
 

kreativa

Member
Licensed User
Longtime User
Hi,

Just a question?
What i have to do to deploy pushserver on my webserver IIS7?

Thanks
 

kreativa

Member
Licensed User
Longtime User
Hi,
i have to deploy it on my IIS7 server with tom cat installed
Is it possible? How i can do?
Thanks
 

moster67

Expert
Licensed User
Longtime User
Just got myself a VPS running CentOS. To run the b4x push server (and other apps created with B4J), is it enough to install the Runtime environment of Java or do I need to install JDK? Which version of Java do you recommend?
 

kreativa

Member
Licensed User
Longtime User
i receive an errore message:
Error connecting socket: (EOFException) java.io.EOFException: SSL peer shut down incorrectly
java.lang.UnsupportedOperationException: The method shutdownInput() is not supported in SSLSocket

why?

Thanks
 

kreativa

Member
Licensed User
Longtime User
sorry i'don't understand how i can install the push server on my webserver.
Which files i must copy on my webserver? i need to install b4j on my server?
Please tell me the steps i have to do to run push server on my webserver.

Thanks so much!
 

moster67

Expert
Licensed User
Longtime User
The B4x Pushserver is now using the same port (currently 51044) and uses the handlers 'send' and 'devicetoken' to deal with incoming and outgoing requests. If the volume of traffic increases, would it be better to add a new server-object and create new handlers and another port?
 

kreativa

Member
Licensed User
Longtime User
thanks,
i've installed the server and it runs.
But i always receive the error:
Error connecting socket: (EOFException) java.io.EOFException: SSL peer shut down incorrectly
java.lang.UnsupportedOperationException: The method shutdownInput() is not supported in SSLSocket
why?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…