Hello there,

Since "Gnoga" uses "Simple Components" and this one has tests available I have compiled and run "test_http_server" and got the log file attached which may shed some light on the problem I'm facing on the Raspberry Pi.

It looks like some parts of the request are lost somewhere since it says :
192.168.0.206:52790 > |GET / HTTP/1.1%0D%0AHost: 192.168.0.252:8080%0D%0AUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0%0D%0AAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8%0D%0AAccept-Language: fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3%0D%0AAccept-Encoding: gzip, deflate%0D%0AConnection: keep-alive%0D%0AUpgrade-Insecure-Requests: 1%0D%0AIf-Modified-Since: Tue, 07 Mar 2017 10:53:47 GMT%0D%0AIf-None-Match: "29cd-54a21d3953252-gzip"%0D%0ACache-Control: max-age=0%0D%0A%0D%0A| 0..460
Processing received: Exception name: ADA.IO_EXCEPTIONS.DATA_ERROR
Message: Method     / is not supported

where there are 4 NUL characters in :
Message: Method NULNULNULNUL/ is not supported

Anyone else running "Gnoga" or "Simple Components" on Raspberry Pi 1 Model B+ / Debian Jessie ?

Cordialement,
Stéphane LOS
http://slo-ist.fr/ada4autom

Le 08/03/2017 à 11:59, stephane....@laposte.net a écrit :
Hello Tony,

I have tried assigning apache2 port 8080 on raspbian and it works also.
So I don't think it is related to port number or firewall.

------------------------------------------------------------------------
*De: *"tony gair" <tonytheg...@gmail.com>
*À: *"Gnoga support list" <gnoga-list@lists.sourceforge.net>
*Envoyé: *Mercredi 8 Mars 2017 09:58:41
*Objet: *Re: [Gnoga-list] Gnoga on Raspberry Pi 1 Model B+

oh I'll take a look laater on


On Tue, Mar 7, 2017 at 10:46 PM, LOS Stéphane <stephane....@laposte.net <mailto:stephane....@laposte.net>> wrote:

    Thanks for the answer but iptables config is empty. Should not
    block any connection as far as I can tell.

    Cordialement,
    Stéphane LOS

    Le 07/03/2017 à 23:35, tony gair a écrit :

        I know for a fact gnoga works fine on raspbian. Its probably a
        firewall setting.

        On Tue, Mar 7, 2017 at 9:47 PM, LOS Stéphane
        <stephane....@laposte.net <mailto:stephane....@laposte.net>>
        wrote:

            Hello there,

            I am using this Raspberry Pi 1 Model B+:
            https://www.raspberrypi.org/products/model-b-plus/

            It runs Raspbian Jessie up to date and I have used git to
            get a fresh
            Gnoga to play with.

            I have issued command "make release", and after some hours
            got it compiled.
            Then "sudo su", "make install" and after some more time
            got it installed.

            Trying to compile "Ada for Automation" works also but the
            applications
            fail to answer to http requests although they run fine for
            what I can
            tell. Of course, I have some other targets, PC based
            Debian, where there
            is not such problem.

            One can even play with :
            http://ada4automation.slo-ist.fr/

            I have compiled the first tutorial fine and it runs BUT it
            does not
            respond as well to http requests.

            It says the usual stuff about directories and waits on
            port 8080.

            The Firefox on my PC complains that the connection is
            reinitialized.

            Wireshark running on the PC sees the connection, the http
            request and
            the closing of the connection from Raspberry Pi side.

            Of course, I can ping the Pi, the Modbus TCP connection
            works as
            expected, and Apache can serve pages on port 80.

            So only Gnoga / Simple Components seem to have some kind
            of problem. Any
            idea ?

            Thanks for your hard work and kind support.

            --
            Best Regards,
            Cordialement,
            Stéphane LOS
            http://slo-ist.fr/ada4autom


            
------------------------------------------------------------------------------
            Announcing the Oxford Dictionaries API! The API offers
            world-renowned
            dictionary content that is easy and intuitive to access.
            Sign up for an
            account today to start using our lexical data to power
            your apps and
            projects. Get started today and enter our developer
            competition.
            http://sdm.link/oxford
            _______________________________________________
            Gnoga-list mailing list
            Gnoga-list@lists.sourceforge.net
            <mailto:Gnoga-list@lists.sourceforge.net>
            https://lists.sourceforge.net/lists/listinfo/gnoga-list




        
------------------------------------------------------------------------------
        Announcing the Oxford Dictionaries API! The API offers world-renowned
        dictionary content that is easy and intuitive to access. Sign up for an
        account today to start using our lexical data to power your apps and
        projects. Get started today and enter our developer competition.
        http://sdm.link/oxford



        _______________________________________________
        Gnoga-list mailing list
        Gnoga-list@lists.sourceforge.net
        <mailto:Gnoga-list@lists.sourceforge.net>
        https://lists.sourceforge.net/lists/listinfo/gnoga-list



    
------------------------------------------------------------------------------
    Announcing the Oxford Dictionaries API! The API offers world-renowned
    dictionary content that is easy and intuitive to access. Sign up
    for an
    account today to start using our lexical data to power your apps and
    projects. Get started today and enter our developer competition.
    http://sdm.link/oxford
    _______________________________________________
    Gnoga-list mailing list
    Gnoga-list@lists.sourceforge.net
    <mailto:Gnoga-list@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/gnoga-list



------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list



------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford


_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list


HTTP server started
192.168.0.206:52790 > |GET / HTTP/1.1%0D%0AHost: 
192.168.0.252:8080%0D%0AUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; 
rv:51.0) Gecko/20100101 Firefox/51.0%0D%0AAccept: 
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8%0D%0AAccept-Language:
 fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3%0D%0AAccept-Encoding: gzip, 
deflate%0D%0AConnection: keep-alive%0D%0AUpgrade-Insecure-Requests: 
1%0D%0AIf-Modified-Since: Tue, 07 Mar 2017 10:53:47 GMT%0D%0AIf-None-Match: 
"29cd-54a21d3953252-gzip"%0D%0ACache-Control: max-age=0%0D%0A%0D%0A| 0..460
Processing received: Exception name: ADA.IO_EXCEPTIONS.DATA_ERROR
Message: Method / is not supported

192.168.0.206:52790 < --- Stop polling, dropping connection
192.168.0.206:52791 > |GET / HTTP/1.1%0D%0AHost: 
192.168.0.252:8080%0D%0AUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; 
rv:51.0) Gecko/20100101 Firefox/51.0%0D%0AAccept: 
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8%0D%0AAccept-Language:
 fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3%0D%0AAccept-Encoding: gzip, 
deflate%0D%0AConnection: keep-alive%0D%0AUpgrade-Insecure-Requests: 
1%0D%0AIf-Modified-Since: Tue, 07 Mar 2017 10:53:47 GMT%0D%0AIf-None-Match: 
"29cd-54a21d3953252-gzip"%0D%0ACache-Control: max-age=0%0D%0A%0D%0A| 0..460
Processing received: Exception name: ADA.IO_EXCEPTIONS.DATA_ERROR
Message: Method / is not supported

192.168.0.206:52791 < --- Stop polling, dropping connection
192.168.0.206:52792 > |GET / HTTP/1.1%0D%0AHost: 
192.168.0.252:8080%0D%0AUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; 
rv:51.0) Gecko/20100101 Firefox/51.0%0D%0AAccept: 
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8%0D%0AAccept-Language:
 fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3%0D%0AAccept-Encoding: gzip, 
deflate%0D%0AConnection: keep-alive%0D%0AUpgrade-Insecure-Requests: 
1%0D%0AIf-Modified-Since: Tue, 07 Mar 2017 10:53:47 GMT%0D%0AIf-None-Match: 
"29cd-54a21d3953252-gzip"%0D%0ACache-Control: max-age=0%0D%0A%0D%0A| 0..460
Processing received: Exception name: ADA.IO_EXCEPTIONS.DATA_ERROR
Message: Method / is not supported

192.168.0.206:52792 < --- Stop polling, dropping connection
192.168.0.206:52793 > |GET / HTTP/1.1%0D%0AHost: 
192.168.0.252:8080%0D%0AUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; 
rv:51.0) Gecko/20100101 Firefox/51.0%0D%0AAccept: 
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8%0D%0AAccept-Language:
 fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3%0D%0AAccept-Encoding: gzip, 
deflate%0D%0AConnection: keep-alive%0D%0AUpgrade-Insecure-Requests: 
1%0D%0AIf-Modified-Since: Tue, 07 Mar 2017 10:53:47 GMT%0D%0AIf-None-Match: 
"29cd-54a21d3953252-gzip"%0D%0ACache-Control: max-age=0%0D%0A%0D%0A| 0..460
Processing received: Exception name: ADA.IO_EXCEPTIONS.DATA_ERROR
Message: Method / is not supported

192.168.0.206:52793 < --- Stop polling, dropping connection
192.168.0.206:52794 > |GET / HTTP/1.1%0D%0AHost: 
192.168.0.252:8080%0D%0AUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; 
rv:51.0) Gecko/20100101 Firefox/51.0%0D%0AAccept: 
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8%0D%0AAccept-Language:
 fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3%0D%0AAccept-Encoding: gzip, 
deflate%0D%0AConnection: keep-alive%0D%0AUpgrade-Insecure-Requests: 
1%0D%0AIf-Modified-Since: Tue, 07 Mar 2017 10:53:47 GMT%0D%0AIf-None-Match: 
"29cd-54a21d3953252-gzip"%0D%0ACache-Control: max-age=0%0D%0A%0D%0A| 0..460
Processing received: Exception name: ADA.IO_EXCEPTIONS.DATA_ERROR
Message: Method / is not supported

192.168.0.206:52794 < --- Stop polling, dropping connection
192.168.0.206:52795 > |GET / HTTP/1.1%0D%0AHost: 
192.168.0.252:8080%0D%0AUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; 
rv:51.0) Gecko/20100101 Firefox/51.0%0D%0AAccept: 
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8%0D%0AAccept-Language:
 fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3%0D%0AAccept-Encoding: gzip, 
deflate%0D%0AConnection: keep-alive%0D%0AUpgrade-Insecure-Requests: 
1%0D%0AIf-Modified-Since: Tue, 07 Mar 2017 10:53:47 GMT%0D%0AIf-None-Match: 
"29cd-54a21d3953252-gzip"%0D%0ACache-Control: max-age=0%0D%0A%0D%0A| 0..460
Processing received: Exception name: ADA.IO_EXCEPTIONS.DATA_ERROR
Message: Method / is not supported

192.168.0.206:52795 < --- Stop polling, dropping connection
192.168.0.206:52796 > |GET / HTTP/1.1%0D%0AHost: 
192.168.0.252:8080%0D%0AUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; 
rv:51.0) Gecko/20100101 Firefox/51.0%0D%0AAccept: 
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8%0D%0AAccept-Language:
 fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3%0D%0AAccept-Encoding: gzip, 
deflate%0D%0AConnection: keep-alive%0D%0AUpgrade-Insecure-Requests: 
1%0D%0AIf-Modified-Since: Tue, 07 Mar 2017 10:53:47 GMT%0D%0AIf-None-Match: 
"29cd-54a21d3953252-gzip"%0D%0ACache-Control: max-age=0%0D%0A%0D%0A| 0..460
Processing received: Exception name: ADA.IO_EXCEPTIONS.DATA_ERROR
Message: Method / is not supported

192.168.0.206:52796 < --- Stop polling, dropping connection
192.168.0.206:52797 > |GET / HTTP/1.1%0D%0AHost: 
192.168.0.252:8080%0D%0AUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; 
rv:51.0) Gecko/20100101 Firefox/51.0%0D%0AAccept: 
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8%0D%0AAccept-Language:
 fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3%0D%0AAccept-Encoding: gzip, 
deflate%0D%0AConnection: keep-alive%0D%0AUpgrade-Insecure-Requests: 
1%0D%0AIf-Modified-Since: Tue, 07 Mar 2017 10:53:47 GMT%0D%0AIf-None-Match: 
"29cd-54a21d3953252-gzip"%0D%0ACache-Control: max-age=0%0D%0A%0D%0A| 0..460
Processing received: Exception name: ADA.IO_EXCEPTIONS.DATA_ERROR
Message: Method / is not supported

192.168.0.206:52797 < --- Stop polling, dropping connection
192.168.0.206:52798 > |GET / HTTP/1.1%0D%0AHost: 
192.168.0.252:8080%0D%0AUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; 
rv:51.0) Gecko/20100101 Firefox/51.0%0D%0AAccept: 
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8%0D%0AAccept-Language:
 fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3%0D%0AAccept-Encoding: gzip, 
deflate%0D%0AConnection: keep-alive%0D%0AUpgrade-Insecure-Requests: 
1%0D%0AIf-Modified-Since: Tue, 07 Mar 2017 10:53:47 GMT%0D%0AIf-None-Match: 
"29cd-54a21d3953252-gzip"%0D%0ACache-Control: max-age=0%0D%0A%0D%0A| 0..460
Processing received: Exception name: ADA.IO_EXCEPTIONS.DATA_ERROR
Message: Method / is not supported

192.168.0.206:52798 < --- Stop polling, dropping connection
192.168.0.206:52799 > |GET / HTTP/1.1%0D%0AHost: 
192.168.0.252:8080%0D%0AUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; 
rv:51.0) Gecko/20100101 Firefox/51.0%0D%0AAccept: 
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8%0D%0AAccept-Language:
 fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3%0D%0AAccept-Encoding: gzip, 
deflate%0D%0AConnection: keep-alive%0D%0AUpgrade-Insecure-Requests: 
1%0D%0AIf-Modified-Since: Tue, 07 Mar 2017 10:53:47 GMT%0D%0AIf-None-Match: 
"29cd-54a21d3953252-gzip"%0D%0ACache-Control: max-age=0%0D%0A%0D%0A| 0..460
Processing received: Exception name: ADA.IO_EXCEPTIONS.DATA_ERROR
Message: Method / is not supported

192.168.0.206:52799 < --- Stop polling, dropping connection
HTTP server stopping
Worker task exiting
------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to