• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Cannot add pushbullet account (nothing happens when i click on add)

Scheduled Pinned Locked Moved Solved
Bug Reports
3
17
3.8k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X
    x23piracy
    last edited by x23piracy Sep 18, 2017, 7:20 AM Sep 18, 2017, 1:08 PM

    Server
    • FOG Version: RC9

    Hi,

    i try to reactivate my pushbullet account for the fog pushbullet plugin, i stopped using it since it stopped working some releases ago, afai remember i also had this problem in the past with cannot add api token.

    I simply paste my token and click on add and nothing happens, no load in the browser, just quite.

    Bild Text

    If i wait some time and reclick add i just got the message:

    Bild Text

    when i now click: list all pushbullet accounts, the list is empty:

    Bild Text

    There is an empty entry, when i mark it and try to delete it asks for credentials, i enter them and then the system is telling me that the crendetials are wrong:

    Bild Text

    (they are not wrong!) after that the empty entry is gone and i can start all over:

    Bild Text

    What’s wrong here? Any clues? Am i the only one using that plugin? πŸ™‚

    β•‘β–Œβ•‘β–ˆβ•‘β–Œβ”‚β•‘β–Œβ•‘β–Œβ–ˆ

    C 1 Reply Last reply Sep 19, 2017, 6:38 AM Reply Quote 0
    • C
      ch3i Moderator @x23piracy
      last edited by Sep 19, 2017, 6:38 AM

      @x23piracy HI, I’ve you checked your apache log ?

      X 1 Reply Last reply Sep 19, 2017, 7:14 AM Reply Quote 0
      • X
        x23piracy @ch3i
        last edited by Sep 19, 2017, 7:14 AM

        @ch3i no yet will do…

        β•‘β–Œβ•‘β–ˆβ•‘β–Œβ”‚β•‘β–Œβ•‘β–Œβ–ˆ

        1 Reply Last reply Reply Quote 0
        • X
          x23piracy
          last edited by x23piracy Sep 19, 2017, 1:19 AM Sep 19, 2017, 7:16 AM

          Cross post another wrong crendentials (while they are right) message in a different problem:
          https://forums.fogproject.org/topic/10816/delete-host-problem-host-deleted-but-left-overs-still-in-db

          β•‘β–Œβ•‘β–ˆβ•‘β–Œβ”‚β•‘β–Œβ•‘β–Œβ–ˆ

          1 Reply Last reply Reply Quote 0
          • T
            Tom Elliott
            last edited by Sep 19, 2017, 2:45 PM

            If I had to guess, the token for your account is either expired/lost/or incorrect. I added mine without problem.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            X 2 Replies Last reply Sep 19, 2017, 2:48 PM Reply Quote 0
            • X
              x23piracy @Tom Elliott
              last edited by Sep 19, 2017, 2:48 PM

              @tom-elliott i will try to create a new one, i get back to you.

              β•‘β–Œβ•‘β–ˆβ•‘β–Œβ”‚β•‘β–Œβ•‘β–Œβ–ˆ

              1 Reply Last reply Reply Quote 0
              • X
                x23piracy @Tom Elliott
                last edited by x23piracy Sep 20, 2017, 7:09 AM Sep 20, 2017, 1:06 PM

                @tom-elliott still the same, i deleted all existing api tokens in my pushbullet account and created a new one.
                When i enter it and click add nothing happens, when i wait long enough and click add again it tells me account already linked but it’s not.

                Should i check apache error.log?

                What i have now are two dummy entries without names, deleted them now.

                Regards X23

                β•‘β–Œβ•‘β–ˆβ•‘β–Œβ”‚β•‘β–Œβ•‘β–Œβ–ˆ

                T 1 Reply Last reply Sep 20, 2017, 1:09 PM Reply Quote 0
                • T
                  Tom Elliott @x23piracy
                  last edited by Sep 20, 2017, 1:09 PM

                  @x23piracy Aren’t you on working branch?

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  X 1 Reply Last reply Sep 20, 2017, 1:10 PM Reply Quote 0
                  • X
                    x23piracy @Tom Elliott
                    last edited by x23piracy Sep 20, 2017, 7:10 AM Sep 20, 2017, 1:10 PM

                    @tom-elliott said in Cannot add pushbullet account (nothing happens when i click on add):

                    @x23piracy Aren’t you on working branch?

                    i am still in working branch (49)

                    β•‘β–Œβ•‘β–ˆβ•‘β–Œβ”‚β•‘β–Œβ•‘β–Œβ–ˆ

                    T 1 Reply Last reply Sep 20, 2017, 1:10 PM Reply Quote 0
                    • T
                      Tom Elliott @x23piracy
                      last edited by Sep 20, 2017, 1:10 PM

                      @x23piracy Please try uninstalling pushbullet, reinstalling it, then try to add again. I suspect something fishy happened somewhere down the line.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      X 2 Replies Last reply Sep 20, 2017, 1:11 PM Reply Quote 0
                      • X
                        x23piracy @Tom Elliott
                        last edited by Sep 20, 2017, 1:11 PM

                        @tom-elliott ok, i get back when done.

                        β•‘β–Œβ•‘β–ˆβ•‘β–Œβ”‚β•‘β–Œβ•‘β–Œβ–ˆ

                        1 Reply Last reply Reply Quote 0
                        • X
                          x23piracy @Tom Elliott
                          last edited by Sep 20, 2017, 1:16 PM

                          @tom-elliott still not working same behaviour, i made you a video of the case, will send it by pm because my token is visible πŸ˜‰

                          β•‘β–Œβ•‘β–ˆβ•‘β–Œβ”‚β•‘β–Œβ•‘β–Œβ–ˆ

                          T 1 Reply Last reply Sep 20, 2017, 7:07 PM Reply Quote 0
                          • T
                            Tom Elliott @x23piracy
                            last edited by Sep 20, 2017, 7:07 PM

                            @x23piracy I can’t seem to replicate the problem running the exact same version of FOG as you, and using the exact same key as you. I would start thinking maybe your FOG server can’t reach api.pushbullet.com for whatever reason.

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                            1 Reply Last reply Reply Quote 0
                            • X
                              x23piracy
                              last edited by x23piracy Sep 21, 2017, 4:29 AM Sep 21, 2017, 10:07 AM

                              Hi,

                              @tom-elliott @Sebastian-Roth

                              this is still not solved for me, i am not able to add my account.
                              What i found out is that i am forced to use proxy, this allready works for the system except pushbullet plugin.

                              Is it possible that the pushbullet plugin is not honoring the fog settings proxy configuration and therefore cannot communicate to api.pushbullet.com?

                              https://stackoverflow.com/questions/5211887/how-to-use-curl-via-a-proxy

                              Example:

                              <?
                              $url = $_POST[β€˜1’];
                              $ch = curl_init();
                              curl_setopt($ch, CURLOPT_URL,$url);
                              curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 0);
                              curl_setopt($ch, CURLOPT_PROXY, β€˜66.96.200.39:80’);
                              curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
                              curl_setopt($ch, CURLOPT_RETURNTRANSFER, 0);
                              curl_setopt($ch, CURLOPT_CUSTOMREQUEST,β€˜GET’);
                              curl_setopt ($ch, CURLOPT_HEADER, 1);
                              curl_exec ($ch);
                              $curl_scraped_page = curl_exec($ch);
                              curl_close($ch);
                              echo $curl_scraped_page;
                              ?>

                              The guy at overflow is writing:

                              The bellow is from curl through proxy returns no content

                              This is interesting because when it doesn’t return something,
                              that could match to my error where the pushbullet account appears as dummy entry after i try to add it:

                              Bild Text

                              @george1421 said:

                              ok pushbullet in fog runs in PHP as the apache user.
                              It doesn’t have access to the environment variables you set

                              A dry run in shell with pushbullets test example works:

                              curl --header β€˜Access-Token: <your_access_token_here>’
                              https://api.pushbullet.com/v2/users/me

                              @ch3i said in Cannot add pushbullet account (nothing happens when i click on add):

                              @x23piracy HI, I’ve you checked your apache log ?

                              Yes, it’s always empty regarding to pushbullet.

                              Regards X23

                              β•‘β–Œβ•‘β–ˆβ•‘β–Œβ”‚β•‘β–Œβ•‘β–Œβ–ˆ

                              T 1 Reply Last reply Sep 21, 2017, 11:17 AM Reply Quote 0
                              • T
                                Tom Elliott @x23piracy
                                last edited by Sep 21, 2017, 11:17 AM

                                @x23piracy this has worked on the ast though? While I made frontend (GUI) changes, I have not touched the code that sends to pushbullets api.

                                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                X 1 Reply Last reply Sep 21, 2017, 11:30 AM Reply Quote 0
                                • X
                                  x23piracy @Tom Elliott
                                  last edited by Sep 21, 2017, 11:30 AM

                                  @tom-elliott i can tell you this has worked for me before we setup that proxy, since the complete system has no problem to use the proxy i thougth maybe that php under apache isn’t respecting the fog proxy settings.

                                  Talking to pushbullet api works with the example when trying in fogs shell, so this must be something internal.

                                  Regards X23

                                  β•‘β–Œβ•‘β–ˆβ•‘β–Œβ”‚β•‘β–Œβ•‘β–Œβ–ˆ

                                  1 Reply Last reply Reply Quote 0
                                  • X
                                    x23piracy
                                    last edited by x23piracy Sep 26, 2017, 1:02 AM Sep 26, 2017, 6:56 AM

                                    @tom-elliott problem solved, i talked to our firewall admin to free the server from proxy usage, after that i could easily add my pushbullet account and could also simply download the current oui.txt for the mac list.

                                    So i am going to think that something is wrong with group the fog server belongs to on our firewall server because it already was in a group that is free from forced proxy usage (must be some missconfiguration or something).

                                    Bild Text

                                    Regards X23

                                    β•‘β–Œβ•‘β–ˆβ•‘β–Œβ”‚β•‘β–Œβ•‘β–Œβ–ˆ

                                    1 Reply Last reply Reply Quote 0
                                    • 1 / 1
                                    1 / 1
                                    • First post
                                      8/17
                                      Last post

                                    195

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright Β© 2012-2024 FOG Project