[2025-11-19 13:40:09,346] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-19 13:40:26,930] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-19 13:50:58,491] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-19 14:29:41,195] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-19 14:33:59,745] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-19 14:34:47,334] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-19 14:39:08,439] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-19 14:42:24,734] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-19 15:15:56,491] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-19 16:21:20,122] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 09:38:13,245] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 10:23:12,199] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 10:23:47,932] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 10:25:15,006] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 10:25:32,550] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 11:02:42,270] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 11:10:38,000] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 11:14:12,324] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 11:22:14,888] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 11:22:31,435] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 12:38:56,841] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 12:49:09,320] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 12:52:18,964] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 12:59:49,300] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 13:00:53,028] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 13:00:58,290] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 13:02:48,128] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 13:05:27,510] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 13:07:53,754] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 13:08:02,737] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 13:16:35,391] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 13:19:20,724] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
[2025-11-20 15:12:22,939] ERROR in app: Exception on /send_push [POST]
Traceback (most recent call last):
  File "/home/ramozzir/sms2/push_server.py", line 35, in send_push
    webpush(
    ~~~~~~~^
        subscription_info=subscription_info,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        vapid_claims=VAPID_CLAIMS
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/pywebpush/__init__.py", line 560, in webpush
    vv = Vapid.from_string(private_key=vapid_private_key)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 147, in from_string
    return cls.from_der(pkey)
           ~~~~~~~~~~~~^^^^^^
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/py_vapid/__init__.py", line 101, in from_der
    key = serialization.load_der_private_key(b64urldecode(private_key),
                                             password=None,
                                             backend=default_backend())
ValueError: Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters). Details: ASN.1 parsing error: short data (needed at least 69 additional bytes)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ramozzir/virtualenv/sms2/3.13/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/ramozzir/sms2/push_server.py", line 50, in send_push
    print(f"[Server Error \u274c] {e}")
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 14: ordinal not in range(128)
