Cannot add pushbullet account (nothing happens when i click on add)
-
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 -
If I had to guess, the token for your account is either expired/lost/or incorrect. I added mine without problem.
-
@tom-elliott i will try to create a new one, i get back to you.
-
@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
-
@x23piracy Arenβt you on working branch?
-
@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)
-
@x23piracy Please try uninstalling pushbullet, reinstalling it, then try to add again. I suspect something fishy happened somewhere down the line.
-
@tom-elliott ok, i get back when done.
-
@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
-
@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.
-
Hi,
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:@george1421 said:
ok pushbullet in fog runs in PHP as the apache user.
It doesnβt have access to the environment variables you setA 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
-
@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.
-
@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
-
@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).
Regards X23