Skip to content

Commit 53dbc4f

Browse files
authored
Fix status names in troubleshooting section
1 parent f22a45a commit 53dbc4f

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

README.md

+11-13
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ You need to pass the original Host and the original URL to MollySocket with the
157157
158158
```
159159

160-
* **On the Android app, the status states _MollySocket server not found_**
160+
* **On the Android app, the status states _Invalid response from server_**
161161

162-
The MollySocket server can't be reached on that URL. Does opening the URL in your mobile browser works ? You should try to reconfigure MollySocket, by clicking on "MollySocket server" in Molly settings.
162+
The MollySocket server can't be reached on that URL or doesn't respond correctly. Does opening the URL in your mobile browser works ? You should see a QR code. Else, try to reconfigure MollySocket, by clicking on "MollySocket server" in Molly settings.
163163

164164
* **On the Android app, the status states _The account ID is refused by the server_**
165165

@@ -175,19 +175,23 @@ You have restricted the allowed UnifiedPush endpoints, or you are using a self-h
175175

176176
Add your server to the _allowed_endpoints_: `["https://push.mydomain.tld"]`. _This is NOT your MollySocket URL_ but the one from your push provider. See [Configuration](#configuration) to configure your server correctly.
177177

178-
* **On the Android app, the status is _Air gapped, waiting for test notification_**
178+
* **On the Android app, the status is _Waiting for confirmation from the MollySocket server_**
179+
180+
It means you are using MollySocket in air-gapped mode and you don't have receive a test notification from the server.
179181

180182
There might be 3 reasons for that:
181183
- You don't have yet registered your connection on a MollySocket server.
182184
- It is better to use MollySocket configured with a web interface, see [Web Server](#web-server) for more information.
183185
- If you can't have a web interface, you can use it in air gapped mode. The MollySocket server should be constantly running. You can use the docker-compose or follow the [Install doc](/Install.md).
184186
- Then, if you stick with air gapped mode, you will need to add your account to the MollySocket registration. You can copy the parameter on the Android settings view. Then run:
187+
185188
```console
186189
$ # If you use docker-compose:
187190
$ docker compose run mollysocket <paste the parameters here>
188191
$ # Else, if you use the binary:
189192
$ mollysocket <paste the parameters here>
190193
```
194+
191195
- It is possible you don't use a recent enough version of MollySocket and it hasn't send a request during the registration. You can run :
192196
```console
193197
$ # Replace the UUID with your account Id
@@ -198,26 +202,20 @@ $ mollysocket connection ping c8d44128-5c99-4810-a7d3-71c079891c27
198202
```
199203
- You have a problem with your UnifiedPush setup. You can get further troubleshooting information on this page: <https://unifiedpush.org/users/troubleshooting/>.
200204

201-
* **On the Android app, the status is _Waiting for test notification_**
202-
203-
Tap on "Test configuration", if it doesn't work, you should try to reconfigure MollySocket, by clicking on "MollySocket server" in Molly settings.
204-
205-
If it doesn't work again, you have a problem with your UnifiedPush setup. You can get further troubleshooting information on this page: <https://unifiedpush.org/users/troubleshooting/>.
206-
207205
* **I use the Air-gapped mode and I don't receive notifications**.
208206

209207
If you use air-gapped mode, then Molly (android) can't test the setup and it assumes you have correctly setup everything. You should double check that the account ID is accepted by your mollysocket server and the endpoint is allowed by your mollysocket server (check the output logs).
210208

211-
* **The status is "OK" or "OK: Air Gapped" but I still don't get notifications**
209+
* **The status is _OK_ but I still don't get notifications**
212210

213-
If you are using MollySocket with a webserver, go to Molly Settings > Notifications > UnifiedPush and click "Test configuration".
211+
**If you are using MollySocket with a webserver,** go to Molly Settings > Notifications > UnifiedPush and click "Test configuration". If it doesn't work, you should try to reconfigure MollySocket, by clicking on "MollySocket server" in Molly settings.
214212

215-
If you are using in air-gapped mode, run this command:
213+
**If you are using in air-gapped mode,** run this command:
216214

217215
```console
218216
$ # Replace the UUID with your account Id
219217
$ # If you use docker-compose:
220-
$ docker compose run mollysocket connection ping c8d44128-5c99-4810-a7d3-71c079891c27
218+
$ docker compose run mollysocket mollysocket connection ping c8d44128-5c99-4810-a7d3-71c079891c27
221219
$ # Else, if you use the binary:
222220
$ mollysocket connection ping c8d44128-5c99-4810-a7d3-71c079891c27
223221
```

0 commit comments

Comments
 (0)