Mobile notifications No registered devices

Re: Mobile notifications No registered devices

by Kouki Nakatani -
Number of replies: 5

Hello, Mr.Juan

My server can connect remote internet sites via SSH.

I checked my server firewall logs. Then my TCP connection request seems to reset by Airnotifier server.

I was wondering if you could check Airnotifier server firewall log.

Kind regards

Kouki

In reply to Kouki Nakatani

Re: Mobile notifications No registered devices

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi,

everythings looks fine and working in our side, I've tested the registration of new devices and it seems to work, can you try in a different server? for example, a local installation in a virtual OS

Regards, Juan

In reply to Juan Leyva

Re: Mobile notifications No registered devices

by Kouki Nakatani -

Hello,

Thank you for checking.

I'd like to install different server within a few days.

I'll report the results after I have tried to connect from different server.

Kind regards

Kouki


 

In reply to Juan Leyva

Re: Mobile notifications No registered devices

by Kouki Nakatani -

Hi, Juan

I have installed another moodle server for test. I tried to connect to Airnotifier server.


My test moodle site displayed error.


I checked using telnet, from my server, to Airnotifier server

telnet> Trying 78.46.57.7...

Connected to messages.moodle.net.

Escape character is '^]'.

HTTP/1.1 400 Bad Request

Server: nginx

Date: Tue, 08 Dec 2015 06:39:04 GMT

Content-Type: text/html

Content-Length: 166

Connection: close

<html>

<head><title>400 Bad Request</title></head>

<body bgcolor="white">

<center><h1>400 Bad Request</h1></center>

<hr><center>nginx</center>

</body>

</html>

from external server, to my server

telnet> Trying 150.86.143.201...

Connected to 150.86.143.201.

Escape character is '^]'.

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<html><head>

<title>501 Not Implemented</title>

</head><body>

<h1>Not Implemented</h1>

<p>close to /index.html not supported.<br />

</p>

</body></html>

My server is public and can connect to Airnotifier server; nevertheless my moodle site displayed error.

What can I do?

Kind regards,

Kouki


In reply to Kouki Nakatani

Re: Mobile notifications No registered devices

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
In reply to Juan Leyva

Re: Mobile notifications No registered devices

by Kouki Nakatani -

Hi, Juan

I checked that.

My server MTU value was default. I have changed MTU value to such as 1500 and 1200.

However, My moodle site displayed error "TCP connection reset by peer".

--------------------------------------------------------

# ifconfig -a

eno16777984: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 150.86.143.201  netmask ***  broadcast ***

        ether 00:********  txqueuelen 1000  (Ethernet)

        RX packets 47  bytes 4046 (3.9 KiB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 21  bytes 2442 (2.3 KiB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

# ifconfig  eno16777984 mtu 1200

# ifconfig -a

eno16777984: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1200

        inet 150.86.143.201  netmask ***  broadcast ***

        ether 00:********  txqueuelen 1000  (Ethernet)

        RX packets 47  bytes 4046 (3.9 KiB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 21  bytes 2442 (2.3 KiB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

--------------------------------------------------------

I have analyzed the packet that sent when I clicked [Request access key] button.

As shown below:


I'd like to install different server with another OS like a ubuntu.

What can I do other.

Kind regards,

Kouki